|
mediastreamer2
2.11.1
|
#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.
| MSFormatType _MSFmtDescriptor::type |
format type, audio or video
| char* _MSFmtDescriptor::encoding |
the name of the encoding: for example pcmu, H264, opus
| int _MSFmtDescriptor::nchannels |
number of channels, relevant for audio only
| int _MSFmtDescriptor::rate |
Samplerate for audio, clockrate for video
| char* _MSFmtDescriptor::fmtp |
fmtp
| MSVideoSize _MSFmtDescriptor::vsize |
video size
| float _MSFmtDescriptor::fps |
average framerate
| char* _MSFmtDescriptor::text |
do not use directly, use ms_fmt_descriptor_to_string() instead
1.8.8