Class AppControlFrame
An RTCP APP packet.
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)
System.Object.ToString()
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public class AppControlFrame : MediaControlFrame
Constructors
AppControlFrame()
Initializes a new instance of the AppControlFrame class.
Declaration
public AppControlFrame()
AppControlFrame(DataBuffer)
Initializes a new instance of the AppControlFrame class.
Declaration
public AppControlFrame(DataBuffer buffer)
Parameters
Type | Name | Description |
---|---|---|
DataBuffer | buffer | The buffer. |
AppControlFrame(Int32, Int64, String, DataBuffer)
Initializes a new instance of the AppControlFrame class.
Declaration
public AppControlFrame(int subType, long synchronizationSource, string name, DataBuffer data)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | subType | Type of the sub. |
System.Int64 | synchronizationSource | The SSRC. |
System.String | name | The name. |
DataBuffer | data | The data. |
Properties
Data
Gets or sets optional application-dependent data.
Declaration
public DataBuffer Data { get; }
Property Value
Type | Description |
---|---|
DataBuffer |
DataLength
Gets the length of the Data.
Declaration
public int DataLength { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
DataPayloadOffset
Gets or sets the offset of the Data in the payload.
Declaration
public int DataPayloadOffset { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
FixedPayloadHeaderLength
Gets the length of the fixed payload header.
Declaration
public static int FixedPayloadHeaderLength { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Name
Gets or sets the name.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
RegisteredPayloadType
Gets the application-specific payload type.
Declaration
public static int RegisteredPayloadType { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
SubType
Gets or sets the subtype to allow a set of APP packets to be defined under one unique name, or for any application-dependent data.
Declaration
public int SubType { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
SynchronizationSource
Gets or sets the synchronization source.
Declaration
public long SynchronizationSource { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |