[Freeswitch-users] Bookmarking Audio recording
Duvid Rottenberg
adrottenberg at gmail.com
Mon Dec 22 19:36:48 MSK 2014
Check out the playback related variables at
https://freeswitch.org/confluence/display/FREESWITCH/Channel+Variables#ChannelVariables-Playbackrelatedvariables
In the playback_stop event you can store the playback_last_offset_pos in a
database, then next time you play the file you append @@<offset> to the end
of the filename.
On Mon, Dec 22, 2014 at 11:06 AM, Moishe Grunstein <max at nysolutions.com>
wrote:
>
> I don’t see why pulling the stream from a http stream would give me more
> flexibility than playing back a local sound file.
>
>
>
> Thanks,
>
>
>
> Moishe Grunstein
>
> Tornado Computer Systems, Inc.
>
> 212.400.7650 888.IPPBX.US
> *Service Request Email: support at nysolutions.com <support at nysolutions.com> *
>
> Polycom Certified VAR
> Microsoft Small Business Specialist, Cisco SMB Select Certified
>
> [image: cid:image001.jpg at 01C72F94.9EE45D60] <http://www.nysolutions.com/>
>
> Computer Networking * Managed Services * IP Video Surveillance * Network
> Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network
> Security * Site Surveys * CMS
>
>
>
> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto:
> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Stanislav
> Sinyagin
> *Sent:* Saturday, December 20, 2014 9:00 PM
> *To:* FreeSWITCH Users Help
> *Subject:* Re: [Freeswitch-users] Bookmarking Audio recording
>
>
>
> I think it's easier to stream from an HTTP source into FreeSWITCH, and to
> control the actual position and the start of playback at that streaming
> source. But I don't know much about streaming software that is available.
>
> There's also mod_vlc which should support more flexibility in streaming.
>
>
>
>
>
> On Sun, Dec 21, 2014 at 1:54 AM, Moishe Grunstein <max at nysolutions.com>
> wrote:
>
> I am working on creating a hotline for playback of children stories. One
> of their requirements are bookmarks, if a child wants to stop in middle of
> a story and call back the next day, they should be able to resume playback
> from the location they stopped.
>
>
>
> I see Freeswitch has the ability to set the start position using @@, so I
> can resume playback from 3 minutes in to the story for example
> https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools:+playback
> I am not clear if there is any method to see the position that the caller
> is currently at, so I can save his position to a DB when he bookmarks it.
>
>
>
> I was thinking of using the call duration however that is complicated to
> calculate as I am planning to use seek & speed options
> https://wiki.freeswitch.org/wiki/Session_streamFile.
>
>
>
> Does anyone know of a method to capture the place in a wav or mp3 file
> currently playing?
>
>
>
>
>
> Thanks,
>
>
>
> Moishe Grunstein
>
> Tornado Computer Systems, Inc.
>
> 212.400.7650 888.IPPBX.US
> *Service Request Email: support at nysolutions.com <support at nysolutions.com> *
>
> Polycom Certified VAR
> Microsoft Small Business Specialist, Cisco SMB Select Certified
>
> <http://www.nysolutions.com/>
>
> Computer Networking * Managed Services * IP Video Surveillance * Network
> Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network
> Security * Site Surveys * CMS <http://www.nysolutions.com/>
>
> <http://www.nysolutions.com/>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> *consulting at freeswitch.org*
> *http://www.freeswitchsolutions.com*
>
> Official FreeSWITCH Sites
> *http://www.freeswitch.org*
> *http://confluence.freeswitch.org*
> *http://www.cluecon.com*
>
> FreeSWITCH-users mailing list
> *FreeSWITCH-users at lists.freeswitch.org*
> *http://lists.freeswitch.org/mailman/listinfo/freeswitch-users*
> UNSUBSCRIBE:*http://lists.freeswitch.org/mailman/options/freeswitch-users*
> *http://www.freeswitch.org* <http://www.nysolutions.com/>
>
> <http://www.nysolutions.com/>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20141222/f8f06aab/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 2424 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20141222/f8f06aab/attachment.jpg
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list