An RTCP APP packet. More...
Instance Methods | |
(FMLiveSwitchDataBuffer *) | - data |
Gets optional application-dependent data. More... | |
(int) | - dataLength |
Gets the length of the data. More... | |
(int) | - dataPayloadOffset |
Gets the offset of the data in the payload. More... | |
(instancetype) | - init |
Initializes a new instance of the FMLiveSwitchAppControlFrame class. More... | |
(instancetype) | - initWithBuffer: |
Initializes a new instance of the FMLiveSwitchAppControlFrame class. More... | |
(instancetype) | - initWithSubType:synchronizationSource:name:data: |
Initializes a new instance of the FMLiveSwitchAppControlFrame class. More... | |
(NSString *) | - name |
Gets the name. More... | |
(void) | - setName: |
Sets the name. More... | |
(void) | - setSubType: |
Sets the subtype to allow a set of APP packets to be defined under one unique name, or for any application-dependent data. More... | |
(void) | - setSynchronizationSource: |
Sets the synchronization source. More... | |
(int) | - subType |
Gets the subtype to allow a set of APP packets to be defined under one unique name, or for any application-dependent data. More... | |
(long long) | - synchronizationSource |
Gets the synchronization source. 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 APP packet.
+ (FMLiveSwitchAppControlFrame*) appControlFrame |
Initializes a new instance of the FMLiveSwitchAppControlFrame class.
+ (FMLiveSwitchAppControlFrame*) appControlFrameWithBuffer: | (FMLiveSwitchDataBuffer *) | buffer |
Initializes a new instance of the FMLiveSwitchAppControlFrame class.
buffer | The buffer. |
+ (FMLiveSwitchAppControlFrame*) appControlFrameWithSubType: | (int) | subType | |
synchronizationSource: | (long long) | synchronizationSource | |
name: | (NSString *) | name | |
data: | (FMLiveSwitchDataBuffer *) | data | |
Initializes a new instance of the FMLiveSwitchAppControlFrame class.
subType | Type of the sub. |
synchronizationSource | The SSRC. |
name | The name. |
data | The data. |
- (FMLiveSwitchDataBuffer*) data |
Gets optional application-dependent data.
- (int) dataLength |
Gets the length of the data.
- (int) dataPayloadOffset |
Gets the offset of the data in the payload.
+ (int) fixedPayloadHeaderLength |
Gets the length of the fixed payload header.
- (instancetype) init |
Initializes a new instance of the FMLiveSwitchAppControlFrame class.
Implements FMLiveSwitchMediaControlFrame.
- (instancetype) initWithBuffer: | (FMLiveSwitchDataBuffer *) | buffer |
Initializes a new instance of the FMLiveSwitchAppControlFrame class.
buffer | The buffer. |
Implements FMLiveSwitchMediaControlFrame.
- (instancetype) initWithSubType: | (int) | subType | |
synchronizationSource: | (long long) | synchronizationSource | |
name: | (NSString *) | name | |
data: | (FMLiveSwitchDataBuffer *) | data | |
Initializes a new instance of the FMLiveSwitchAppControlFrame class.
subType | Type of the sub. |
synchronizationSource | The SSRC. |
name | The name. |
data | The data. |
- (NSString*) name |
Gets the name.
+ (int) registeredPayloadType |
Gets the application-specific payload type.
- (void) setName: | (NSString *) | value |
Sets the name.
- (void) setSubType: | (int) | value |
Sets the subtype to allow a set of APP packets to be defined under one unique name, or for any application-dependent data.
- (void) setSynchronizationSource: | (long long) | value |
Sets the synchronization source.
- (int) subType |
Gets the subtype to allow a set of APP packets to be defined under one unique name, or for any application-dependent data.
- (long long) synchronizationSource |
Gets the synchronization source.