Home --> Documentations --> PJMEDIA Reference
#include <frame.h>
This structure describes a media frame.
Frame type.
Referenced by pjmedia_codec_amr_parse(), and pjmedia_frame_copy().
Pointer to buffer.
Referenced by pjmedia_codec_amr_parse(), pjmedia_codec_amr_predecode(), and pjmedia_frame_copy().
Frame size in bytes.
Frame timestamp.
Bit info of the frame, sample case: a frame may not exactly start and end at the octet boundary, so this field may be used for specifying start & end bit offset.
Referenced by pjmedia_codec_amr_predecode(), and pjmedia_frame_copy().