Depends on your codec. Frame size = ptime. So it can vary from call to call, but most you will find it to be 20ms.
So if we are using speex-wb at 20ms, each frame is 0.02 seconds long. 50 frames = 1 second of sound. On October 28, 2009 12:37:56 pm Matthew Fong wrote: > I noticed that the wait_for_silence's <silence_hits> <listen_hits> use > number of frames as base values (rather than seconds or milliseconds). I'd > like to wait for 5 seconds of consistent silence, but I'm wondering how I > can determine the sample rate (and thus frames per second) for an existing > call. Is there a variable I can read? Thanks. > > --matt _______________________________________________ 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