An RTCP BYE packet. More...
Instance Methods | |
(instancetype) | - init |
Initializes a new instance of the FMLiveSwitchByeControlFrame class. More... | |
(instancetype) | - initWithBuffer: |
Initializes a new instance of the FMLiveSwitchByeControlFrame class. More... | |
(instancetype) | - initWithSynchronizationSource: |
Initializes a new instance of the FMLiveSwitchByeControlFrame class. More... | |
(instancetype) | - initWithSynchronizationSource:reasonForLeaving: |
Initializes a new instance of the FMLiveSwitchByeControlFrame class. More... | |
(instancetype) | - initWithSynchronizationSources: |
Initializes a new instance of the FMLiveSwitchByeControlFrame class. More... | |
(instancetype) | - initWithSynchronizationSources:contributingSources: |
Initializes a new instance of the FMLiveSwitchByeControlFrame class. More... | |
(instancetype) | - initWithSynchronizationSources:contributingSources:reasonForLeaving: |
Initializes a new instance of the FMLiveSwitchByeControlFrame class. More... | |
(instancetype) | - initWithSynchronizationSources:reasonForLeaving: |
Initializes a new instance of the FMLiveSwitchByeControlFrame class. More... | |
(bool) | - reason |
Gets a value indicating whether this instance has a reason for leaving. More... | |
(NSString *) | - reasonForLeaving |
Gets the reason for leaving as a string. More... | |
(int) | - reasonForLeavingLength |
Gets the length of the reason for leaving. More... | |
(int) | - reasonForLeavingOffset |
Gets the offset of the reasonForLeaving in the payload. More... | |
(FMLiveSwitchDataBuffer *) | - reasonForLeavingPayload |
Gets the reason for leaving. More... | |
(void) | - setSources: |
Sets the synchronization and contributing sources. More... | |
(int) | - sourceCount |
Gets the number of sources. More... | |
(NSMutableArray *) | - sources |
Gets the synchronization and contributing sources. More... | |
(int) | - sourcesLength |
Gets the length of the sources in bytes. More... | |
(int) | - sourcesPayloadOffset |
Gets the offset of the sources array in the payload. More... | |
Instance Methods inherited from FMLiveSwitchMediaControlFrame | |
(int) | - byte1Last5Bits |
Gets the last 5 bits of the first byte. More... | |
(FMLiveSwitchDataBuffer *) | - dataBuffer |
Gets the buffer. More... | |
(FMLiveSwitchDataBuffer *) | - payload |
Gets the payload. More... | |
(int) | - payloadLengthWithPadding |
Gets the length of the payload, in bytes, with padding. More... | |
(int) | - payloadType |
Gets the payload type. More... | |
(void) | - setByte1Last5Bits: |
Sets the last 5 bits of the first byte. More... | |
(void) | - setDataBuffer: |
Sets the buffer. More... | |
(void) | - setPayloadLengthWithPadding: |
Sets the length of the payload, in bytes, with padding. More... | |
(void) | - setPayloadType: |
Sets the payload type. More... | |
(void) | - setVersion: |
Sets the version. More... | |
(NSString *) | - streamId |
Gets the stream ID. More... | |
(int) | - version |
Gets the version. More... | |
Instance Methods inherited from FMLiveSwitchDynamic | |
(NSMutableDictionary< NSString *, id > *) | - dynamicProperties |
Gets all dynamic properties on this instance. More... | |
(id) | - getDynamicValueWithKey: |
Gets a property value from the local cache. More... | |
(void) | - setDynamicValueWithKey:value: |
Sets a property value in the local cache. More... | |
(bool) | - unsetDynamicValueWithKey: |
Removes a property value from the local cache. More... | |
An RTCP BYE packet.
+ (FMLiveSwitchByeControlFrame*) byeControlFrame |
Initializes a new instance of the FMLiveSwitchByeControlFrame class.
+ (FMLiveSwitchByeControlFrame*) byeControlFrameWithBuffer: | (FMLiveSwitchDataBuffer *) | buffer |
Initializes a new instance of the FMLiveSwitchByeControlFrame class.
buffer | The packet. |
+ (FMLiveSwitchByeControlFrame*) byeControlFrameWithSynchronizationSource: | (long long) | synchronizationSource |
Initializes a new instance of the FMLiveSwitchByeControlFrame class.
synchronizationSource | The synchronization source. |
+ (FMLiveSwitchByeControlFrame*) byeControlFrameWithSynchronizationSource: | (long long) | synchronizationSource | |
reasonForLeaving: | (NSString *) | reasonForLeaving | |
Initializes a new instance of the FMLiveSwitchByeControlFrame class.
synchronizationSource | The synchronization source. |
reasonForLeaving | The reason for leaving. |
+ (FMLiveSwitchByeControlFrame*) byeControlFrameWithSynchronizationSources: | (NSMutableArray *) | synchronizationSources |
Initializes a new instance of the FMLiveSwitchByeControlFrame class.
synchronizationSources | The synchronization sources. |
+ (FMLiveSwitchByeControlFrame*) byeControlFrameWithSynchronizationSources: | (NSMutableArray *) | synchronizationSources | |
contributingSources: | (NSMutableArray *) | contributingSources | |
Initializes a new instance of the FMLiveSwitchByeControlFrame class.
synchronizationSources | The synchronization sources. |
contributingSources | The contributing sources. |
+ (FMLiveSwitchByeControlFrame*) byeControlFrameWithSynchronizationSources: | (NSMutableArray *) | synchronizationSources | |
contributingSources: | (NSMutableArray *) | contributingSources | |
reasonForLeaving: | (NSString *) | reasonForLeaving | |
Initializes a new instance of the FMLiveSwitchByeControlFrame class.
synchronizationSources | The synchronization sources. |
contributingSources | The contributing sources. |
reasonForLeaving | The reason for leaving. |
+ (FMLiveSwitchByeControlFrame*) byeControlFrameWithSynchronizationSources: | (NSMutableArray *) | synchronizationSources | |
reasonForLeaving: | (NSString *) | reasonForLeaving | |
Initializes a new instance of the FMLiveSwitchByeControlFrame class.
synchronizationSources | The synchronization sources. |
reasonForLeaving | The reason for leaving. |
+ (int) fixedPayloadHeaderLength |
Gets the length of the fixed payload header.
+ (int) fixedReasonForLeavingPayloadHeaderLength |
Gets the length of the fixed reason for leaving header.
- (instancetype) init |
Initializes a new instance of the FMLiveSwitchByeControlFrame class.
Implements FMLiveSwitchMediaControlFrame.
- (instancetype) initWithBuffer: | (FMLiveSwitchDataBuffer *) | buffer |
Initializes a new instance of the FMLiveSwitchByeControlFrame class.
buffer | The packet. |
Implements FMLiveSwitchMediaControlFrame.
- (instancetype) initWithSynchronizationSource: | (long long) | synchronizationSource |
Initializes a new instance of the FMLiveSwitchByeControlFrame class.
synchronizationSource | The synchronization source. |
- (instancetype) initWithSynchronizationSource: | (long long) | synchronizationSource | |
reasonForLeaving: | (NSString *) | reasonForLeaving | |
Initializes a new instance of the FMLiveSwitchByeControlFrame class.
synchronizationSource | The synchronization source. |
reasonForLeaving | The reason for leaving. |
- (instancetype) initWithSynchronizationSources: | (NSMutableArray *) | synchronizationSources |
Initializes a new instance of the FMLiveSwitchByeControlFrame class.
synchronizationSources | The synchronization sources. |
- (instancetype) initWithSynchronizationSources: | (NSMutableArray *) | synchronizationSources | |
contributingSources: | (NSMutableArray *) | contributingSources | |
Initializes a new instance of the FMLiveSwitchByeControlFrame class.
synchronizationSources | The synchronization sources. |
contributingSources | The contributing sources. |
- (instancetype) initWithSynchronizationSources: | (NSMutableArray *) | synchronizationSources | |
contributingSources: | (NSMutableArray *) | contributingSources | |
reasonForLeaving: | (NSString *) | reasonForLeaving | |
Initializes a new instance of the FMLiveSwitchByeControlFrame class.
synchronizationSources | The synchronization sources. |
contributingSources | The contributing sources. |
reasonForLeaving | The reason for leaving. |
- (instancetype) initWithSynchronizationSources: | (NSMutableArray *) | synchronizationSources | |
reasonForLeaving: | (NSString *) | reasonForLeaving | |
Initializes a new instance of the FMLiveSwitchByeControlFrame class.
synchronizationSources | The synchronization sources. |
reasonForLeaving | The reason for leaving. |
- (bool) reason |
Gets a value indicating whether this instance has a reason for leaving.
- (NSString*) reasonForLeaving |
Gets the reason for leaving as a string.
- (int) reasonForLeavingLength |
Gets the length of the reason for leaving.
- (int) reasonForLeavingOffset |
Gets the offset of the reasonForLeaving in the payload.
- (FMLiveSwitchDataBuffer*) reasonForLeavingPayload |
Gets the reason for leaving.
+ (int) registeredPayloadType |
Gets the goodbye payload type.
- (void) setSources: | (NSMutableArray *) | value |
Sets the synchronization and contributing sources.
- (int) sourceCount |
Gets the number of sources.
- (NSMutableArray*) sources |
Gets the synchronization and contributing sources.
- (int) sourcesLength |
Gets the length of the sources in bytes.
- (int) sourcesPayloadOffset |
Gets the offset of the sources array in the payload.