G711 μ-Law format for RTSP https://en.wikipedia.org/wiki/RTP_payload_formats Packet intervall: 20, frame size: any.
More...
#include <RTSPFormat.h>
G711 μ-Law format for RTSP https://en.wikipedia.org/wiki/RTP_payload_formats Packet intervall: 20, frame size: any.
- Author
- Phil Schatzmann
◆ RTSPFormatG711()
◆ audioInfo()
◆ begin() [1/2]
◆ begin() [2/2]
◆ convert()
| virtual int convert |
( |
void * |
data, |
|
|
int |
sampleCount |
|
) |
| |
|
inlinevirtualinherited |
◆ defaultConfig()
◆ defaultVideoConfig()
◆ format()
| const char * format |
( |
char * |
buffer, |
|
|
int |
len |
|
) |
| |
|
inlineoverridevirtual |
Provides the G711 format information.
Implements RTSPFormat.
◆ fragmentSize()
| virtual int fragmentSize |
( |
| ) |
|
|
inlinevirtualinherited |
◆ getFormat()
◆ mediaType()
◆ name()
| virtual const char * name |
( |
| ) |
|
|
inlinevirtualinherited |
◆ readHeader()
| virtual int readHeader |
( |
uint8_t * |
data | ) |
|
|
inlinevirtualinherited |
Optional header: e.g. rfc2250.
◆ rtpPayloadType()
| virtual int rtpPayloadType |
( |
| ) |
|
|
inlinevirtualinherited |
◆ setFragmentSize()
| void setFragmentSize |
( |
int |
fragmentSize | ) |
|
|
inlineinherited |
Defines the fragment size in bytes.
◆ setIsULaw()
| void setIsULaw |
( |
bool |
flag | ) |
|
|
inline |
Defines if we use ulow ar alow; by default we use ulaw!
◆ setName()
| void setName |
( |
const char * |
name | ) |
|
|
inlineinherited |
Defines the name of the stream.
◆ setProfileLevelId()
| virtual void setProfileLevelId |
( |
const char * |
| ) |
|
|
inlinevirtualinherited |
Optional: receives the 3-byte profile-level-id (as 6 hex digits) once an encoder has parsed it from the SPS. Default no-op; only RTSPFormatH264 acts on it.
Reimplemented in RTSPFormatH264.
◆ setSpropParameterSets()
| virtual void setSpropParameterSets |
( |
const char * |
, |
|
|
const char * |
|
|
) |
| |
|
inlinevirtualinherited |
Optional: receives base64-encoded SPS/PPS once an encoder has learned them (H.264 sprop-parameter-sets). Default no-op; only RTSPFormatH264 acts on it. Declared here (rather than only on RTSPFormatH264) so video encoders (see RTSPVideoEncoder) can push this through a generic RTSPFormat* without needing to know the concrete format type.
Reimplemented in RTSPFormatH264.
◆ setTimerPeriodUs()
| void setTimerPeriodUs |
( |
int |
period | ) |
|
|
inlineinherited |
Defines the timer period in microseconds.
◆ setUseRfc2250Header()
| virtual void setUseRfc2250Header |
( |
bool |
| ) |
|
|
inlinevirtualinherited |
Optional: Configure RFC2250 header usage (default: no-op)
Reimplemented in RTSPFormatMP3.
◆ timerPeriodUs()
| virtual int timerPeriodUs |
( |
| ) |
|
|
inlinevirtualinherited |
◆ timestampIncrement()
| virtual int timestampIncrement |
( |
| ) |
|
|
inlinevirtualinherited |
◆ useRfc2250Header()
| virtual bool useRfc2250Header |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ videoInfo()
◆ cfg
◆ fragment_size
◆ is_ulaw
◆ name_str
| const char* name_str = "RTSPAudioTools" |
|
protectedinherited |
◆ STD_URL_PRE_SUFFIX
| const char* STD_URL_PRE_SUFFIX = "trackID" |
|
protectedinherited |
◆ timer_period_us
| int timer_period_us = 10000 |
|
protectedinherited |
◆ video_cfg
The documentation for this class was generated from the following file: