Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
roc::rtp::FormatMap Class Reference

RTP payload format map. More...

#include <format_map.h>

Inheritance diagram for roc::rtp::FormatMap:
Collaboration diagram for roc::rtp::FormatMap:

Public Member Functions

const Formatformat (unsigned int pt) const
 Get format by payload type. More...
 

Detailed Description

RTP payload format map.

Definition at line 22 of file format_map.h.

Member Function Documentation

const Format* roc::rtp::FormatMap::format ( unsigned int  pt) const

Get format by payload type.

Returns
pointer to the format structure or null if there is no format registered for this payload type.

The documentation for this class was generated from the following file: