Home --> Documentations --> PJMEDIA Reference

Data Fields
pjmedia_frame Struct Reference

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

pjmedia_frame_type pjmedia_frame::type

Frame type.

void* pjmedia_frame::buf

Pointer to buffer.

pj_size_t pjmedia_frame::size

Frame size in bytes.

pj_timestamp pjmedia_frame::timestamp

Frame timestamp.

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.

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


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