Methods
Accept | (a{sv}: Local_Media_Description) | → | nothing | |
Reject | () | → | (uuss): Reason |
Properties
Interfaces | as (DBus_Interface_List) | Read only | Immutable | |
FurtherNegotiationRequired | b | Read only | Immutable | |
HasRemoteInformation | b | Read only | Immutable | |
Codecs | a(usuuba{ss}) (Codec_List) | Read only | Immutable | |
RemoteContact | u (Contact_Handle) | Read only | Immutable | |
SSRCs | a{uau} (Contact_SSRCs_Map) | Read only | Immutable |
Types
Contact_SSRCs_Map | Mapping | a{uau} | |
Media_Description_Properties | Mapping | a{sv} |
Description
Methods
Accept (a{sv}: Local_Media_Description) → nothing
Parameters
- Local_Media_Description — a{sv} (Media_Description_Properties)
Possible Errors
- Invalid Argument
Reject () → (uuss): Reason
Returns
- Reason — (uuss) (Call_State_Reason)
Properties
Interfaces — as (DBus_Interface_List)
Extra interfaces provided by this media description. This SHOULD NOT include the Description interface itself.
FurtherNegotiationRequired — b
If this is set to True by the CM in a MediaDescriptionOffer, it means "This is an offer under the SDP Offer/Answer model. Whatever you accept this offer with is what I will send to the other side in my answer." If this is set to False by the CM then it means "This is an Answer under the SDP Offer/Answer model, and if it remains False in the Accept(), no further codec negotiation needs to happen." If this is set to True by the streaming implementation (e.g. in an Accept or UpdateLocalMediaDescription call) then a new SDP Offer/Answer round-trip will be initiated.
HasRemoteInformation — b
True if this offer contains information from the remote side: If False then the Accept response solely depends on the capabilities and preferences of the local side. In most protocols this property will be False for the initial DescriptionOffer on an outgoing call.
Codecs — a(usuuba{ss}) (Codec_List)
RemoteContact — u (Contact_Handle)
SSRCs — a{uau} (Contact_SSRCs_Map)
A map from Handle to list of Synchronisation Sources, as defined by RFC 3550.
Some protocols require the negotiation of SSRC identifiers for RTP streams. If this is the case, then MediaDescription offers will appear with this property set. The streaming implementation should then call Accept with a map from 0 to a list containing a single SSRC (which does not collide with these, or any previously seen SSRCs). If a new MediaDescription offer appears with an SSRC the same as one in LocalMediaDescriptions, then the streaming implementation should pick a new SSRC to resolve the collision.
It is expected that this list will normally be at most one element long, but it is kept as a list for extensibility. The concatenation of all SSRCs associated with a Stream should contain no duplicate entries. If there are collisions, then it is the responsibility of the protocol implementation to resolve them and generate new offers.
If this property is omitted, then the streaming implementation can assume that there is only one MediaDescription per Stream.
If there is a single multicast Call Stream with multiple Remote Members, and all members are forced to use the same MediaDescription, this map can be used by the streaming implementation to determine which video sources belong to which contacts (e.g. in order to put a name under each face in the call)
Types
Contact_SSRCs_Map — a{uau}
- Contact — u (Handle)
- SSRCs — au
Media_Description_Properties — a{sv}
A mapping containing all properties that define the information from a MediaDescription and its interfaces.
If HasRemoteInformation is True, then this mapping will always contains at least Codecs
- Media_Description_Property — s (DBus_Qualified_Member)
- Media_Description_Property_Value — v