Conference talk detection
Hi, I have a conference bridge with a simple web interface that shows who is talking using the event api. Unfortunately the users don't like the way the first few ms of speech after silence is cut off. Presumably this is an unavoidable side-effect of cutting out audio when someone isn't speaking. Is there any way to have a conference where all audio is sent to the conference but start/stop talking events are still generated? Currently setting energy-level to 0 disables start/stop talking events :( Cheers, Dan
Hi Dan, What happens when you set the energy-level to something small, such as 10? Rob On Jan 26, 2010, at 8:14 AM, Dan Lane wrote:
Hi,
I have a conference bridge with a simple web interface that shows who is talking using the event api. Unfortunately the users don't like the way the first few ms of speech after silence is cut off. Presumably this is an unavoidable side-effect of cutting out audio when someone isn't speaking.
Is there any way to have a conference where all audio is sent to the conference but start/stop talking events are still generated? Currently setting energy-level to 0 disables start/stop talking events :(
Cheers, Dan
_______________________________________________ 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
The same thing, with the energy level set to anything other than 0 the first few ms of audio is not sent to the conference. Presumably this is by design as this is the amount of time noise has to be made for before it's detected as speech and audio is sent to the conference; including the audio that wasn't sent to the conference would introduce delay. What I'd like to be able to do is generate start/stop talk events when people are talking but without starting or stopping the audio stream. On Tue, Jan 26, 2010 at 2:30 PM, Rob Forman <rob4manhere@gmail.com> wrote:
Hi Dan,
What happens when you set the energy-level to something small, such as 10?
Rob
On Jan 26, 2010, at 8:14 AM, Dan Lane wrote:
Hi,
I have a conference bridge with a simple web interface that shows who is talking using the event api. Unfortunately the users don't like the way the first few ms of speech after silence is cut off. Presumably this is an unavoidable side-effect of cutting out audio when someone isn't speaking.
Is there any way to have a conference where all audio is sent to the conference but start/stop talking events are still generated? Currently setting energy-level to 0 disables start/stop talking events :(
Cheers, Dan
_______________________________________________ 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
_______________________________________________ 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
We use a conference with energy detection on 12+ hours a day and I don't recall losing any of the audio. The instant you breach the level that same packet is sent, and you have to have several consecutive packets below the level to stop. My guess is you are talking to something lame like a Sonus who is resetting its jitterbuffer when you start talking again. try editing your profile and adding this param <param name="conference-flags" value="waste-bandwidth"/> This will make the conference send rtp to the other side of the call even when you are not talking which typically soothes unruly RTP devices. On Tue, Jan 26, 2010 at 9:03 AM, Dan Lane <null@invalid.name> wrote:
The same thing, with the energy level set to anything other than 0 the first few ms of audio is not sent to the conference. Presumably this is by design as this is the amount of time noise has to be made for before it's detected as speech and audio is sent to the conference; including the audio that wasn't sent to the conference would introduce delay.
What I'd like to be able to do is generate start/stop talk events when people are talking but without starting or stopping the audio stream.
On Tue, Jan 26, 2010 at 2:30 PM, Rob Forman <rob4manhere@gmail.com> wrote:
Hi Dan,
What happens when you set the energy-level to something small, such as 10?
Rob
On Jan 26, 2010, at 8:14 AM, Dan Lane wrote:
Hi,
I have a conference bridge with a simple web interface that shows who is talking using the event api. Unfortunately the users don't like the way the first few ms of speech after silence is cut off. Presumably this is an unavoidable side-effect of cutting out audio when someone isn't speaking.
Is there any way to have a conference where all audio is sent to the conference but start/stop talking events are still generated? Currently setting energy-level to 0 disables start/stop talking events :(
Cheers, Dan
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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 <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
On Tue, Jan 26, 2010 at 3:22 PM, Anthony Minessale <anthony.minessale@gmail.com> wrote:
We use a conference with energy detection on 12+ hours a day and I don't recall losing any of the audio. The instant you breach the level that same packet is sent, and you have to have several consecutive packets below the level to stop.
Interesting could you post the conferences.xml config for that particular conference? I have yet to find a way of using energy detection that doesn't miss the first few ms of sound, for example the word "Testing" often comes out as "esting" perhaps with the tail end of the T coming across. It's not a problem when everyone is a native english speaker but when on a conference containing people with a poor grasp of english or people who reply with lots of quick utterances such as "yup"
My guess is you are talking to something lame like a Sonus who is resetting its jitterbuffer when you start talking again.
In production it's hitting Cisco gateways but I've experienced this in a lab environment consisting of a mixture of Snom 360, 820 and Polycom IP6000 devices. What would be great is to have start/stop talk events while still always sending audio from participants to the conference
try the param i mentioned and gave the specific example for. On Tue, Jan 26, 2010 at 10:56 AM, Dan Lane <null@invalid.name> wrote:
On Tue, Jan 26, 2010 at 3:22 PM, Anthony Minessale <anthony.minessale@gmail.com> wrote:
We use a conference with energy detection on 12+ hours a day and I don't recall losing any of the audio. The instant you breach the level that same packet is sent, and you have to have several consecutive packets below the level to stop.
Interesting could you post the conferences.xml config for that particular conference? I have yet to find a way of using energy detection that doesn't miss the first few ms of sound, for example the word "Testing" often comes out as "esting" perhaps with the tail end of the T coming across.
It's not a problem when everyone is a native english speaker but when on a conference containing people with a poor grasp of english or people who reply with lots of quick utterances such as "yup"
My guess is you are talking to something lame like a Sonus who is resetting its jitterbuffer when you start talking again.
In production it's hitting Cisco gateways but I've experienced this in a lab environment consisting of a mixture of Snom 360, 820 and Polycom IP6000 devices.
What would be great is to have start/stop talk events while still always sending audio from participants to the conference
_______________________________________________ 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 <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
Try to set flag 'waste' on conference profile. Dan Lane ?????:
The same thing, with the energy level set to anything other than 0 the first few ms of audio is not sent to the conference. Presumably this is by design as this is the amount of time noise has to be made for before it's detected as speech and audio is sent to the conference; including the audio that wasn't sent to the conference would introduce delay.
What I'd like to be able to do is generate start/stop talk events when people are talking but without starting or stopping the audio stream.
On Tue, Jan 26, 2010 at 2:30 PM, Rob Forman <rob4manhere@gmail.com> wrote:
Hi Dan,
What happens when you set the energy-level to something small, such as 10?
Rob
On Jan 26, 2010, at 8:14 AM, Dan Lane wrote:
Hi,
I have a conference bridge with a simple web interface that shows who is talking using the event api. Unfortunately the users don't like the way the first few ms of speech after silence is cut off. Presumably this is an unavoidable side-effect of cutting out audio when someone isn't speaking.
Is there any way to have a conference where all audio is sent to the conference but start/stop talking events are still generated? Currently setting energy-level to 0 disables start/stop talking events :(
Cheers, Dan
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
participants (4)
-
Anthony Minessale
-
Dan Lane
-
Evgeniy Zolotov
-
Rob Forman