FMLiveSwitchRtpHeaderExtension Class Reference

Instance Methods

(FMLiveSwitchRtpHeaderAbsSendTime *) - absSendTime
 
(int) - appBits
 
(int) - extensionElementCount
 
(void) - fillBuffer:offset:
 Serialize the header extension to a buffer. More...
 
(FMLiveSwitchRtpHeaderExtensionForm) - form
 
(NSMutableArray *) - headerExtensionElements
 
(NSMutableData *) - id
 Gets the header extension ID. More...
 
(instancetype) - initWithForm:elements:
 
(instancetype) - initWithForm:elements:appBits:
 
(int) - length
 Gets the length of the header extension in 32-bit words. More...
 
(FMLiveSwitchRtpHeaderSdesMid *) - sdesMid
 
(FMLiveSwitchRtpHeaderSdesRepairedRtpStreamId *) - sdesRepairedRtpStreamId
 
(FMLiveSwitchRtpHeaderSdesRtpStreamId *) - sdesRtpStreamId
 
(void) - setAbsSendTime:
 
(void) - setSdesMid:
 
(void) - setSdesRepairedRtpStreamId:
 
(void) - setSdesRtpStreamId:
 

Class Methods

(FMLiveSwitchRtpHeaderExtension *) + headerExtensionWithForm:elements:
 
(FMLiveSwitchRtpHeaderExtension *) + headerExtensionWithForm:elements:appBits:
 

Method Documentation

◆ absSendTime

◆ appBits

- (int) appBits

◆ extensionElementCount

- (int) extensionElementCount

◆ 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

◆ headerExtensionElements

- (NSMutableArray*) headerExtensionElements

◆ headerExtensionWithForm:elements:

+ (FMLiveSwitchRtpHeaderExtension*) headerExtensionWithForm: (FMLiveSwitchRtpHeaderExtensionForm)  form
elements: (NSMutableArray *)  elements 

◆ headerExtensionWithForm:elements:appBits:

+ (FMLiveSwitchRtpHeaderExtension*) headerExtensionWithForm: (FMLiveSwitchRtpHeaderExtensionForm)  form
elements: (NSMutableArray *)  elements
appBits: (int)  appBits 

◆ id

- (NSMutableData*) id

Gets the header extension ID.

Reimplemented from <FMLiveSwitchIRtpHeaderExtension>.

◆ initWithForm:elements:

- (instancetype) initWithForm: (FMLiveSwitchRtpHeaderExtensionForm)  form
elements: (NSMutableArray *)  elements 

◆ initWithForm:elements:appBits:

- (instancetype) initWithForm: (FMLiveSwitchRtpHeaderExtensionForm)  form
elements: (NSMutableArray *)  elements
appBits: (int)  appBits 

◆ length

- (int) length

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

Reimplemented from <FMLiveSwitchIRtpHeaderExtension>.

◆ sdesMid

◆ sdesRepairedRtpStreamId

- (FMLiveSwitchRtpHeaderSdesRepairedRtpStreamId*) sdesRepairedRtpStreamId

◆ sdesRtpStreamId

◆ setAbsSendTime:

- (void) setAbsSendTime: (FMLiveSwitchRtpHeaderAbsSendTime *)  value

◆ setSdesMid:

- (void) setSdesMid: (FMLiveSwitchRtpHeaderSdesMid *)  value

◆ setSdesRepairedRtpStreamId:

- (void) setSdesRepairedRtpStreamId: (FMLiveSwitchRtpHeaderSdesRepairedRtpStreamId *)  value

◆ setSdesRtpStreamId:

- (void) setSdesRtpStreamId: (FMLiveSwitchRtpHeaderSdesRtpStreamId *)  value