mediastreamer2 5.2.0
|
#include <formats.h>
Data Fields | |
MSFormatType | type |
char * | encoding |
int | nchannels |
int | rate |
char * | fmtp |
MSVideoSize | vsize |
float | fps |
char * | text |
Structure describing fully a media format.
char* _MSFmtDescriptor::encoding |
the name of the encoding: for example pcmu, H264, opus
char* _MSFmtDescriptor::fmtp |
fmtp
float _MSFmtDescriptor::fps |
average framerate
int _MSFmtDescriptor::nchannels |
number of channels, relevant for audio only
int _MSFmtDescriptor::rate |
Samplerate for audio, clockrate for video
char* _MSFmtDescriptor::text |
do not use directly, use ms_fmt_descriptor_to_string() instead
MSFormatType _MSFmtDescriptor::type |
format type, audio or video
MSVideoSize _MSFmtDescriptor::vsize |
video size