Class SendOnlyAttribute
This specifies that the tools should be started in send-only mode. An example may be where a different unicast address is to be used for a traffic destination than for a traffic source. In such a case, two media descriptions may be used, one sendonly and one recvonly. It can be either a session- or media-level attribute, but would normally only be used as a media attribute. It is not dependent on charset. Note that sendonly applies only to the media, and any associated control protocol (e.g., RTCP) SHOULD still be received and processed as normal.
Inherited Members
Namespace: FM.LiveSwitch.Sdp
Assembly: FM.LiveSwitch.dll
Syntax
public class SendOnlyAttribute : DirectionAttribute
Constructors
SendOnlyAttribute()
Initializes a new instance of the SendOnlyAttribute class.
Declaration
public SendOnlyAttribute()
Properties
StreamDirection
Gets the stream direction.
Declaration
public override StreamDirection StreamDirection { get; }
Property Value
Type | Description |
---|---|
StreamDirection |
Overrides
Methods
FromAttributeValue(String)
Initializes a new instance of the SendOnlyAttribute class.
Declaration
public static SendOnlyAttribute FromAttributeValue(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The attribute value. |
Returns
Type | Description |
---|---|
SendOnlyAttribute |
GetAttributeValue()
Gets the internal value of the attribute.
Declaration
protected override string GetAttributeValue()
Returns
Type | Description |
---|---|
System.String |