[asterisk-dev] A thread for format work

Matthew Jordan mjordan at digium.com
Tue Apr 29 06:53:54 CDT 2014


On Tue, Apr 29, 2014 at 6:49 AM, Matthew Jordan <mjordan at digium.com> wrote:

>
> On Tue, Apr 29, 2014 at 6:15 AM, Joshua Colp <jcolp at digium.com> wrote:
>
>
<snip>


>
>
>>
>> The ability to set the framing per-format, globally in a capabilities
>> structure, and to get the framing already exists. What doesn't exist is
>> adding a format and then setting the framing as two separate API calls.
>> That is something that could be added but to make sure you set the right
>> format (format capabilities can contain multiple formats of the same codec)
>> you have to keep that format around, in which case why not just add/set in
>> the same API call?
>>
>
> We may end up needing that API call sometime down the road. For example,
> if an Offer arrives with a new ptime attribute, it may be easier to modify
> an existing ast_format_cap structure rather than create a new one. But
> currently I just need the packetization values.
>
> What API call provides them? I must be missing it, because I couldn't seem
> to find it in format_cap.h. (I could be just going crazy however)
>

Disregard! ast_format_cap_get_framing it is.


-- 
Matthew Jordan
Digium, Inc. | Engineering Manager
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com & http://asterisk.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140429/1e5b3749/attachment.html>


More information about the asterisk-dev mailing list