pjsip logo pjsip.org
Open source SIP stack and media stack for presence, im/instant messaging, and multimedia communication
Loading

HOME

SIP/media Features
High Performance SIP
Small Footprint SIP
Symbian Port

FAQ

Documentation

Licensing

Download

Development (Trac)

Projects using pjsip

Mailing List

Open Source Links


About: PJLIB, PJLIB-UTIL, PJSIP, and PJMEDIA are created by: Benny Prijono
<bennylp@pjsip.org>


 

Home --> Documentations --> PJMEDIA Reference

pjmedia_frame_ext Struct Reference
[Basic Types]

Data Fields

pjmedia_frame base
pj_uint16_t samples_cnt
pj_uint16_t subframe_cnt

Detailed Description

The pjmedia_frame_ext is used to carry a more complex audio frames than the typical PCM audio frames, and it is signaled by setting the "type" field of a pjmedia_frame to PJMEDIA_FRAME_TYPE_EXTENDED. With this set, application may typecast pjmedia_frame to pjmedia_frame_ext.

This structure may contain more than one audio frames, which subsequently will be called subframes in this structure. The subframes section immediately follows the end of this structure, and each subframe is represented by pjmedia_frame_ext_subframe structure. Every next subframe immediately follows the previous subframe, and all subframes are byte-aligned although its payload may not be byte-aligned.


Field Documentation

Number of samples in this frame

Number of (sub)frames in this frame


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

 


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