FMLiveSwitchRtpRawHeaderExtension Class Reference

Instance Methods

(int) - appBits
 
(void) - fillBuffer:offset:
 Serialize the header extension to a buffer. More...
 
(FMLiveSwitchRtpHeaderExtensionForm) - form
 
(NSMutableData *) - id
 Gets the header extension ID. More...
 
(instancetype) - initWithId:payload:
 
(int) - length
 Gets the length of the header extension in 32-bit words. More...
 
(NSMutableData *) - payload
 

Class Methods

(FMLiveSwitchRtpRawHeaderExtension *) + rawHeaderExtensionWithId:payload:
 

Method Documentation

◆ appBits

- (int) appBits

◆ fillBuffer:offset:

- (void) fillBuffer: (FMLiveSwitchDataBuffer *)  buffer
offset: (int)  offset 

Serialize the header extension to a buffer.

Parameters
bufferThe buffer.
offsetThe offset to start writing at.

Reimplemented from <FMLiveSwitchIRtpHeaderExtension>.

◆ form

- (FMLiveSwitchRtpHeaderExtensionForm) form

◆ id

- (NSMutableData*) id

Gets the header extension ID.

Reimplemented from <FMLiveSwitchIRtpHeaderExtension>.

◆ initWithId:payload:

- (instancetype) initWithId: (NSMutableData *)  idValue
payload: (NSMutableData *)  payload 

◆ length

- (int) length

Gets the length of the header extension in 32-bit words.

Reimplemented from <FMLiveSwitchIRtpHeaderExtension>.

◆ payload

- (NSMutableData*) payload

◆ rawHeaderExtensionWithId:payload:

+ (FMLiveSwitchRtpRawHeaderExtension*) rawHeaderExtensionWithId: (NSMutableData *)  idValue
payload: (NSMutableData *)  payload