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

Joshua Colp jcolp at digium.com
Wed Apr 8 05:43:27 CDT 2015


George Ladoff wrote:
> Didn't have a lot of luck frame copying directly from the channel. I
> imagine it has something to do with not being able to actually answer
> the spyee channel in snoop for blocking reasons.
>
> Can I trouble you for one more clue: might extending Snoop with the
> Framehook API be an option? And then I imagine creating some sort of
> frame buffer (similar to the Audiohook's slin buffer) that snoop_read
> accesses at the same/similar interval internal?

Yes, using a framehook may be an option. It could queue up the frames on 
the snoop channel. No need to make another frame buffer.

-- 
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