Class SimulcastAttribute
The SDP media attribute "simulcast" describes, independently for send and receive directions, the number of simulcast RTP streams as well as potential alternative formats for each simulcast RTP stream.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: FM.LiveSwitch.Sdp.Rtp
Assembly: FM.LiveSwitch.dll
Syntax
public class SimulcastAttribute : Attribute
Constructors
SimulcastAttribute(SimulcastStreamDescription)
Initializes a new instance of the SimulcastAttribute class.
Declaration
public SimulcastAttribute(SimulcastStreamDescription description)
Parameters
Type | Name | Description |
---|---|---|
SimulcastStreamDescription | description | The description. |
SimulcastAttribute(SimulcastStreamDescription, SimulcastStreamDescription)
Initializes a new instance of the SimulcastAttribute class.
Declaration
public SimulcastAttribute(SimulcastStreamDescription description1, SimulcastStreamDescription description2)
Parameters
Type | Name | Description |
---|---|---|
SimulcastStreamDescription | description1 | The first description. |
SimulcastStreamDescription | description2 | The second description. |
Properties
Description1
Gets the first description.
Declaration
public SimulcastStreamDescription Description1 { get; }
Property Value
Type | Description |
---|---|
SimulcastStreamDescription |
Description2
Gets the second description.
Declaration
public SimulcastStreamDescription Description2 { get; }
Property Value
Type | Description |
---|---|
SimulcastStreamDescription |
DraftVersion
Gets or sets the version of the IETF draft to comply with. https://tools.ietf.org/html/draft-ietf-mmusic-sdp-simulcast
Declaration
public int DraftVersion { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
ReceiveDescription
Gets the 'receive' description.
Declaration
public SimulcastStreamDescription ReceiveDescription { get; }
Property Value
Type | Description |
---|---|
SimulcastStreamDescription |
SendDescription
Gets the 'send' description.
Declaration
public SimulcastStreamDescription SendDescription { get; }
Property Value
Type | Description |
---|---|
SimulcastStreamDescription |
Methods
FromAttributeValue(String)
Initializes a new instance of the SimulcastAttribute class.
Declaration
public static SimulcastAttribute FromAttributeValue(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The attribute value. |
Returns
Type | Description |
---|---|
SimulcastAttribute |
GetAttributeValue()
Gets the internal value of the attribute.
Declaration
protected override string GetAttributeValue()
Returns
Type | Description |
---|---|
System.String |