Class ReceiveOnlyAttribute
This specifies that the tools should be started in receive-only mode where applicable. It can be either a session- or media- level attribute, and it is not dependent on charset. Note that recvonly applies to the media only, not to any associated control protocol (e.g., an RTP-based system in recvonly mode SHOULD still send RTCP packets).
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: FM.LiveSwitch.Sdp
Assembly: FM.LiveSwitch.dll
Syntax
public class ReceiveOnlyAttribute : DirectionAttribute
Constructors
ReceiveOnlyAttribute()
Initializes a new instance of the ReceiveOnlyAttribute class.
Declaration
public ReceiveOnlyAttribute()
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 ReceiveOnlyAttribute class.
Declaration
public static ReceiveOnlyAttribute FromAttributeValue(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The attribute value. |
Returns
Type | Description |
---|---|
ReceiveOnlyAttribute |
GetAttributeValue()
Gets the internal value of the attribute.
Declaration
protected override string GetAttributeValue()
Returns
Type | Description |
---|---|
System.String |