probably, I am not positive but it's called switch_buffer, it works a lot like a file
you create it, pick a size and a block size to grow by and a limit if desired when you create it
then you can read and write to it like a file (it's not thread safe on it's own, it needs mutexes to protect it)
Is that a C API that I could hook with mod_managed?
2009/4/2 Anthony Minessale <anthony.minessale@gmail.com>:
> yes you could write a function in C to use switch_buffer obj to read from
> the channel in SLN and save it to the buffer.
>
>
> On Thu, Apr 2, 2009 at 10:10 AM, Robert Clayton <rjcajax@gmail.com> wrote:
>>
>> All,
>>
>> Is there anyway to take what would be read/written to/from a session
>> such as streamFile/recordFile and place them in a memory buffer rather
>> than a file allowing sudo-real time for manipulation by an
>> application?
>>
>> Bob
>>
>> _______________________________________________
>> Freeswitch-dev mailing list
>> Freeswitch-dev@lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
>> http://www.freeswitch.org
>
>
>
> --
> Anthony Minessale II
>
> FreeSWITCH http://www.freeswitch.org/
> ClueCon http://www.cluecon.com/
>
> AIM: anthm
> MSN:anthony_minessale@hotmail.com
> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888@conference.freeswitch.org
> iax:guest@conference.freeswitch.org/888
> googletalk:conf+888@conference.freeswitch.org
> pstn:213-799-1400
>
> _______________________________________________
> Freeswitch-dev mailing list
> Freeswitch-dev@lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
>
_______________________________________________
Freeswitch-dev mailing list
Freeswitch-dev@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org