BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJMEDIA Reference

#include <frame.h>

Data Fields

pjmedia_frame_type type
 
void * buf
 
pj_size_t size
 
pj_timestamp timestamp
 
pj_uint32_t bit_info
 

Detailed Description

This structure describes a media frame.

Field Documentation

◆ type

pjmedia_frame_type pjmedia_frame::type

Frame type.

Referenced by pjmedia_codec_amr_parse(), and pjmedia_frame_copy().

◆ buf

void* pjmedia_frame::buf

◆ size

pj_size_t pjmedia_frame::size

◆ timestamp

pj_timestamp pjmedia_frame::timestamp

Frame timestamp.

Referenced by pjmedia_codec_amr_parse(), and pjmedia_frame_copy().

◆ bit_info

pj_uint32_t pjmedia_frame::bit_info

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().


The documentation for this struct was generated from the following file:

 


PJMEDIA small footprint Open Source media stack
Copyright (C) 2006-2008 Teluu Inc.