Re: ARI Snoop Channel CPU Usage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx> 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@lists.digium.com
http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev

_______________________________________________
asterisk-app-dev mailing list
asterisk-app-dev@xxxxxxxxxxxxxxxx
http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev

[Index of Archives]     [Asterisk SS7]     [Asterisk Announcements]     [Asterisk Users]     [PJ SIP]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Linux API]

  Powered by Linux