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

L16 Codec Family
[Supported codecs]

Implementation of PCM/16bit/linear codecs. More...

Functions

PJ_BEGIN_DECL pj_status_t pjmedia_codec_l16_init (pjmedia_endpt *endpt, unsigned options)
pj_status_t pjmedia_codec_l16_deinit (void)

Detailed Description

This section describes functions to initialize and register L16 codec factory to the codec manager. After the codec factory has been registered, application can use Codec Framework API to manipulate the codec.

Note that the L16 codec factory registers several (about fourteen!) L16 codec types to codec manager (different combinations of clock rate and number of channels).

Codec Settings

General Settings

General codec settings for this codec such as VAD and PLC can be manipulated through the setting field in pjmedia_codec_param. Please see the documentation of pjmedia_codec_param for more info.

Codec Specific Settings

Currently none.


Function Documentation

PJ_BEGIN_DECL pj_status_t pjmedia_codec_l16_init ( pjmedia_endpt endpt,
unsigned  options 
)

Initialize and register L16 codec factory to pjmedia endpoint.

Parameters:
endpt The pjmedia endpoint.
options Must be zero for now.
Returns:
PJ_SUCCESS on success.
pj_status_t pjmedia_codec_l16_deinit ( void   ) 

Unregister L16 codec factory from pjmedia endpoint.

Returns:
PJ_SUCCESS on success.

 


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