Class ByeControlFrame
An RTCP BYE packet.
Inherited Members
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public class ByeControlFrame : MediaControlFrame
Constructors
ByeControlFrame()
Initializes a new instance of the Bye
Declaration
public ByeControlFrame()
ByeControlFrame(DataBuffer)
Initializes a new instance of the Bye
Declaration
public ByeControlFrame(DataBuffer buffer)
Parameters
Type | Name | Description |
---|---|---|
Data |
buffer | The packet. |
ByeControlFrame(Int64)
Initializes a new instance of the Bye
Declaration
public ByeControlFrame(long synchronizationSource)
Parameters
Type | Name | Description |
---|---|---|
System. |
synchronizationSource | The synchronization source. |
ByeControlFrame(Int64, String)
Initializes a new instance of the Bye
Declaration
public ByeControlFrame(long synchronizationSource, string reasonForLeaving)
Parameters
Type | Name | Description |
---|---|---|
System. |
synchronizationSource | The synchronization source. |
System. |
reasonForLeaving | The reason for leaving. |
ByeControlFrame(Int64[])
Initializes a new instance of the Bye
Declaration
public ByeControlFrame(long[] synchronizationSources)
Parameters
Type | Name | Description |
---|---|---|
System. |
synchronizationSources | The synchronization sources. |
ByeControlFrame(Int64[], Int64[])
Initializes a new instance of the Bye
Declaration
public ByeControlFrame(long[] synchronizationSources, long[] contributingSources)
Parameters
Type | Name | Description |
---|---|---|
System. |
synchronizationSources | The synchronization sources. |
System. |
contributingSources | The contributing sources. |
ByeControlFrame(Int64[], Int64[], String)
Initializes a new instance of the Bye
Declaration
public ByeControlFrame(long[] synchronizationSources, long[] contributingSources, string reasonForLeaving)
Parameters
Type | Name | Description |
---|---|---|
System. |
synchronizationSources | The synchronization sources. |
System. |
contributingSources | The contributing sources. |
System. |
reasonForLeaving | The reason for leaving. |
ByeControlFrame(Int64[], String)
Initializes a new instance of the Bye
Declaration
public ByeControlFrame(long[] synchronizationSources, string reasonForLeaving)
Parameters
Type | Name | Description |
---|---|---|
System. |
synchronizationSources | The synchronization sources. |
System. |
reasonForLeaving | The reason for leaving. |
Properties
FixedPayloadHeaderLength
Gets the length of the fixed payload header.
Declaration
public static int FixedPayloadHeaderLength { get; }
Property Value
Type | Description |
---|---|
System. |
FixedReasonForLeavingPayloadHeaderLength
Gets the length of the fixed reason for leaving header.
Declaration
public static int FixedReasonForLeavingPayloadHeaderLength { get; }
Property Value
Type | Description |
---|---|
System. |
Reason
Gets a value indicating whether this instance has a reason for leaving.
Declaration
public bool Reason { get; }
Property Value
Type | Description |
---|---|
System. |
ReasonForLeaving
Gets the reason for leaving as a string.
Declaration
public string ReasonForLeaving { get; }
Property Value
Type | Description |
---|---|
System. |
ReasonForLeavingLength
Gets the length of the reason for leaving.
Declaration
public int ReasonForLeavingLength { get; }
Property Value
Type | Description |
---|---|
System. |
ReasonForLeavingOffset
Gets the offset of the Reason
Declaration
public int ReasonForLeavingOffset { get; }
Property Value
Type | Description |
---|---|
System. |
ReasonForLeavingPayload
Gets or sets the reason for leaving.
Declaration
public DataBuffer ReasonForLeavingPayload { get; }
Property Value
Type | Description |
---|---|
Data |
RegisteredPayloadType
Gets the goodbye payload type.
Declaration
public static int RegisteredPayloadType { get; }
Property Value
Type | Description |
---|---|
System. |
SourceCount
Gets the number of Sources.
Declaration
public int SourceCount { get; }
Property Value
Type | Description |
---|---|
System. |
Sources
Gets or sets the synchronization and contributing sources.
Declaration
public long[] Sources { get; set; }
Property Value
Type | Description |
---|---|
System. |
SourcesLength
Gets the length of the Sources in bytes.
Declaration
public int SourcesLength { get; }
Property Value
Type | Description |
---|---|
System. |
SourcesPayloadOffset
Gets the offset of the Sources array in the payload.
Declaration
public int SourcesPayloadOffset { get; }
Property Value
Type | Description |
---|---|
System. |