[asterisk-dev] ast_data_buffer equivalent in Asterisk 13
Mohit Dhiman
mohitdhiman736 at gmail.com
Mon Aug 5 07:42:54 CDT 2019
I am basically trying to use Sylvain Boily
<https://github.com/sboily>'s implementation
of res_ari_stream.c
<https://github.com/sboily/wazo-hackathon-asterisk-stream-module/blob/master/res_ari_stream.c>
in
Asterisk 13.
And from what I can understand is that he is buffering the frame data
received via ast_framehook_interface's event_cb
into *ast_data_buffer* structure and then writing it to a websocket by
continuously reading from *ast_data_buffer*.
On Mon, 5 Aug 2019 at 15:05, Joshua C. Colp <jcolp at digium.com> wrote:
> On Mon, Aug 5, 2019, at 4:48 AM, Mohit Dhiman wrote:
> > Hi,
> > can anyone suggest if there is an equivalent (or closest
> > implementation) of ast_data_buffer in Asterisk 13?
>
> What exactly do you need from such an API?
>
> --
> Joshua C. Colp
> Digium - A Sangoma Company | Senior Software Developer
> 445 Jan Davis Drive NW - Huntsville, AL 35806 - US
> Check us out at: www.digium.com & www.asterisk.org
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20190805/b0de321c/attachment.html>
More information about the asterisk-dev
mailing list