fm.liveswitch.IRtpHeaderExtension Interface Reference

The interface that all rtp header extensions must implement. More...

Public Member Functions

abstract void fillBuffer (fm.liveswitch.DataBuffer buffer, int offset)
 Serialize the header extension to a buffer. More...
 
abstract byte[] getId ()
 Gets the header extension ID. More...
 
abstract int getLength ()
 Gets the length of the header extension in 32-bit words. More...
 

Detailed Description

The interface that all rtp header extensions must implement.

Member Function Documentation

◆ fillBuffer()

abstract void fm.liveswitch.IRtpHeaderExtension.fillBuffer ( fm.liveswitch.DataBuffer  buffer,
int  offset 
)
abstract

Serialize the header extension to a buffer.

Parameters
bufferThe buffer.
offsetThe offset to start writing at.

◆ getId()

abstract byte [] fm.liveswitch.IRtpHeaderExtension.getId ( )
abstract

Gets the header extension ID.

◆ getLength()

abstract int fm.liveswitch.IRtpHeaderExtension.getLength ( )
abstract

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