RTSPFormatPCM PCM information for RTSP see https://en.wikipedia.org/wiki/RTP_payload_formats.
More...
#include <RTSPFormat.h>
|
| RTSPFormatPCM (PCMInfo &info) |
|
const char * | format (char *buffer, int len) override |
| Provide format 10 or 11. More...
|
|
int | convert (void *data, int samples) |
| Convert to network format. More...
|
|
PCMInfo & | info () |
|
int | sampleRate () |
|
int | channels () |
|
int | bytesPerSample () |
|
void | setFragmentSize (int fragmentSize) |
|
int | fragmentSize () |
|
void | setTimerPeriod (int period) |
|
int | timerPeriod () |
|
|
const char * | payloadFormat (int sampleRate, int channels) |
|
const int | format (int channels) |
|
|
PCMInfo * | p_info = nullptr |
|
char | payload_fromat [30] |
|
const char * | STD_URL_PRE_SUFFIX = "trackID" |
|
int | fragment_size = 320 |
|
int | timer_period = 20000 |
|
◆ convert()
int RTSPFormatPCM::convert |
( |
void * |
data, |
|
|
int |
samples |
|
) |
| |
|
inlinevirtual |
Convert to network format.
- Parameters
-
Reimplemented from RTSPFormat.
◆ format()
const char* RTSPFormatPCM::format |
( |
char * |
buffer, |
|
|
int |
len |
|
) |
| |
|
inlineoverridevirtual |
Provide format 10 or 11.
- Parameters
-
- Returns
- const char*
Implements RTSPFormat.
The documentation for this class was generated from the following file: