Hello, I'd like to seek a playback by ms. http://wiki.freeswitch.org/wiki/Mod_commands * seek:<+[samples]>|<-[samples]> "Samples are the literally the number of samples in the file to jump forward or backward. In an 8kHz file, 8000 samples would represent one second, in a 16kHz file 16000 samples would be one second, etc." switch_ivr.c samps = step * (codec->implementation->samples_per_second / 1000); wiki says it is done by samples, but I checked the code and I think its in ms. Is it a documentation bug? I also don't understand why the codec sample rate is used It is not a problem, if the file sample rate is different? I'd like to make a seek in conference (http://jira.freeswitch.org/browse/FS-5211) I used the conference sample rate there, but I think its not correct only if the file rate matches the conference rate Could you please explain me how it should work? Thanks in advance, Tamas Cseke
its supposed to be MS. we can look at the sample rate issue. On Fri, Mar 29, 2013 at 8:39 AM, Tamas.Cseke <cstomi.levlist@gmail.com>wrote:
Hello,
I'd like to seek a playback by ms.
http://wiki.freeswitch.org/wiki/Mod_commands
- seek:<+[samples]>|<-[samples]>
"Samples are the literally the number of samples in the file to jump forward or backward. In an 8kHz file, 8000 samples would represent one second, in a 16kHz file 16000 samples would be one second, etc." switch_ivr.c samps = step * (codec->implementation->samples_per_second / 1000);
wiki says it is done by samples, but I checked the code and I think its in ms.
Is it a documentation bug? I also don't understand why the codec sample rate is used It is not a problem, if the file sample rate is different?
I'd like to make a seek in conference ( http://jira.freeswitch.org/browse/FS-5211) I used the conference sample rate there, but I think its not correct only if the file rate matches the conference rate Could you please explain me how it should work?
Thanks in advance, Tamas Cseke
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire 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 googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
participants (2)
-
Anthony Minessale
-
Tamas.Cseke