Link Search Menu Expand Document

ConnectionManagerService

The ConnectionManagerService is available on these models: v1-S1 / v1-S5 / v1-S9.

  1. Available actions
    1. GetCurrentConnectionIDs
    2. GetCurrentConnectionInfo
    3. GetProtocolInfo
  2. Events
    1. Subscribe to events
    2. Event variables

Service data

name value
Control URL http://192.168.x.x:1400/MediaRenderer/ConnectionManager/Control
Event subscription URL http://192.168.x.x:1400/MediaRenderer/ConnectionManager/Event
Discovery url http://192.168.x.x:1400/xml/ConnectionManager1.xml
Service ID urn:upnp-org:serviceId:ConnectionManager
Service type urn:schemas-upnp-org:service:ConnectionManager:1

Sample request

POST /MediaRenderer/ConnectionManager/Control
Host: 192.168.x.x:1400
soapaction: "urn:schemas-upnp-org:service:ConnectionManager:1#{ActionName}"
Content-Type: text/xml; charset="utf-8"

<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
  <s:Body>
    {ActionBodyHere}
  </s:Body>
</s:Envelope>

Available actions

GetCurrentConnectionIDs

Action body:

<u:GetCurrentConnectionIDs xmlns:u="urn:schemas-upnp-org:service:ConnectionManager:1">
</u:GetCurrentConnectionIDs>

No input arguments

Outputs:

parameter type description
ConnectionIDs string ย 

GetCurrentConnectionInfo

Action body:

<u:GetCurrentConnectionInfo xmlns:u="urn:schemas-upnp-org:service:ConnectionManager:1">
  <ConnectionID>i4</ConnectionID>
</u:GetCurrentConnectionInfo>

Inputs:

parameter type description
ConnectionID i4 ย 

Outputs:

parameter type description
RcsID i4 ย 
AVTransportID i4 ย 
ProtocolInfo string ย 
PeerConnectionManager string ย 
PeerConnectionID i4 ย 
Direction string Possible values: Input / Output
Status string Possible values: OK / ContentFormatMismatch / InsufficientBandwidth / UnreliableChannel / Unknown

GetProtocolInfo

Action body:

<u:GetProtocolInfo xmlns:u="urn:schemas-upnp-org:service:ConnectionManager:1">
</u:GetProtocolInfo>

No input arguments

Outputs:

parameter type description
Source string ย 
Sink string ย 

Events

The ConnectionManagerService has variables that might be emitted if you subscribe to events.

Subscribe to events

SUBSCRIBE /MediaRenderer/ConnectionManager/Event
Host: 192.168.x.x:1400
callback: <http://...>
NT: upnp:event
Timeout: Second-3600

Event variables

Variable Sends events* type possible values
CurrentConnectionIDs โœ” string ย 
SinkProtocolInfo โœ” string ย 
SourceProtocolInfo โœ” string ย 

If the variable has a โœ” in the Sends events column, the service discovery specifies this variable emits events. A โŒ doesnโ€™t mean that is wonโ€™t emit events.


This file is automatically generated with @svrooij/sonos-docs, do not edit manually.