[asterisk-app-dev] ARI Snoop Channel CPU Usage

Joshua Colp jcolp at digium.com
Fri Apr 3 18:33:21 CDT 2015


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



More information about the asterisk-app-dev mailing list