[asterisk-app-dev] ARI Snoop Channel CPU Usage
George Ladoff
georgeladoff at gmail.com
Fri Apr 3 18:38:13 CDT 2015
Gotcha. In most cases I do just need to snoop one direction.
Do you mean that the audiohook API would work in the way I was hoping in
those cases? Or do you mean that I may have some options of altering the
audiohook API but only if that were the case?
On Fri, Apr 3, 2015 at 4:33 PM, Joshua Colp <jcolp at digium.com> wrote:
> George Ladoff wrote:
>
>> Interesting. Good to know.
>>
>> So if one were to snoop a gsm-encoded channel then attempt to record it
>> to a gsm file, there would always be a gsm->sln->gsm transcode happening
>> in there, correct?
>>
>
> Yes. The audiohook API turns it into signed linear and feeds it into a
> buffer that the snoop channel reads from at a specific interval.
>
> The only time you could do a frame copy is if you are snooping on one
> direction. Otherwise you have to go to signed linear in order to mix both
> directions.
>
>
> --
> Joshua Colp
> Digium, Inc. | Senior Software Developer
> 445 Jan Davis Drive NW - Huntsville, AL 35806 - US
> Check us out at: www.digium.com & www.asterisk.org
>
> _______________________________________________
> asterisk-app-dev mailing list
> asterisk-app-dev at lists.digium.com
> http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-app-dev/attachments/20150403/8aa32fd4/attachment.html>
More information about the asterisk-app-dev
mailing list