|
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_codec_factory_op Struct Reference
[Codec Framework]
Detailed Description
This structure describes operations that must be supported by codec factories.
Field Documentation
Check whether the factory can create codec with the specified codec info.
- Parameters:
-
| factory | The codec factory. |
| info | The codec info. |
- Returns:
- PJ_SUCCESS if this factory is able to create an instance of codec with the specified info.
Create default attributes for the specified codec ID. This function can be called by application to get the capability of the codec.
- Parameters:
-
| factory | The codec factory. |
| info | The codec info. |
| attr | The attribute to be initialized. |
- Returns:
- PJ_SUCCESS if success.
Enumerate supported codecs that can be created using this factory.
- Parameters:
-
| factory | The codec factory. |
| count | On input, specifies the number of elements in the array. On output, the value will be set to the number of elements that have been initialized by this function. |
| info | The codec info array, which contents will be initialized upon return. |
- Returns:
- PJ_SUCCESS on success.
Create one instance of the codec with the specified codec info.
- Parameters:
-
| factory | The codec factory. |
| info | The codec info. |
| p_codec | Pointer to receive the codec instance. |
- Returns:
- PJ_SUCCESS on success.
This function is called by codec manager to return a particular instance of codec back to the codec factory.
- Parameters:
-
| factory | The codec factory. |
| codec | The codec instance to be returned. |
- Returns:
- PJ_SUCCESS on success.
The documentation for this struct was generated from the following file:
PJMEDIA small footprint Open Source media stack
Copyright (C) 2006-2008 Teluu Inc.
|
|