Red5 Audio Quality Issues

View: New views
7 Messages — Rating Filter:   Alert me  

Red5 Audio Quality Issues

by Paul Johnston-8 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I've just developed (after weeks of pain and stress) a full videoconferencing and whiteboard solution in Adobe AIR utilising a Red5 (0.9.0) server. WOOHOO

However, delivered to client and been told that "audio is not as good as skype" and they want me to "fix it".  I do get why skype works better for them, but it's frustrating as this was the solution they agreed to.

Given that this is a Flex based client utilising a Red5 server, what are the most favourable (note: not necessarily best, but cleanest on lowish bandwidth) audio settings to use within Flex to get the mic quality as close as possible to skype?

As far as I can tell, there are issues with using this as a video conferencing tool. Am I wrong?  It seems to cancel audio too quickly and I'm not sure sound goes both ways properly. Have tried setting the silence level and various other things.  The sound appears to be ok in terms of clarity (understanding what is said) though.

So:

1) what are the best lower-bandwidth audio quality settings (given that I don't have unlimited bandwidth)?

2) what are the best settings for the Microphone object in the Flex/AIR client?

Thanks

Paul



_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org

Re: Red5 Audio Quality Issues

by Thomas-128 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I just performed a new test with someone in an airport with an
absolutely crappy connection around 5kB/s upload (yes you read well),
video was horrible, but the audio quality remained perfectly
acceptable, close to telephone quality.

Flash can be very picky on the settings you give him for Camera and
Microphone, so try plenty stuff and see what works best for you.

--
VOD & visioconference - http://www.digiprof.tv

_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org

Re: Red5 Audio Quality Issues

by Andy Shaules :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
just go to your microphone code and change the rate to 22 or 44
 
 
Its there bandwidth so set it as high as they want.
 
I assume you wrote the code that handles the mic.
 
 
----- Original Message -----
Sent: Tuesday, November 03, 2009 12:21 PM
Subject: [Red5] Red5 Audio Quality Issues

I've just developed (after weeks of pain and stress) a full videoconferencing and whiteboard solution in Adobe AIR utilising a Red5 (0.9.0) server. WOOHOO

However, delivered to client and been told that "audio is not as good as skype" and they want me to "fix it".  I do get why skype works better for them, but it's frustrating as this was the solution they agreed to.

Given that this is a Flex based client utilising a Red5 server, what are the most favourable (note: not necessarily best, but cleanest on lowish bandwidth) audio settings to use within Flex to get the mic quality as close as possible to skype?

As far as I can tell, there are issues with using this as a video conferencing tool. Am I wrong?  It seems to cancel audio too quickly and I'm not sure sound goes both ways properly. Have tried setting the silence level and various other things.  The sound appears to be ok in terms of clarity (understanding what is said) though.

So:

1) what are the best lower-bandwidth audio quality settings (given that I don't have unlimited bandwidth)?

2) what are the best settings for the Microphone object in the Flex/AIR client?

Thanks

Paul



_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org

_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org

Re: Red5 Audio Quality Issues

by Walter Tak :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Yep it's quite easy to broadcast near crystal clear 44 khz mono sound with Flash. It doesn't eat that much bandwidth neither tbh.
 
If you didn't set the microphone rate it defaults to a crappy 11 Khz which may sound like AM radio.
 
W.
----- Original Message -----
Sent: Tuesday, 03 November 2009 21:31
Subject: Re: [Red5] Red5 Audio Quality Issues

just go to your microphone code and change the rate to 22 or 44
 
 
Its there bandwidth so set it as high as they want.
 
I assume you wrote the code that handles the mic.
 
 
----- Original Message -----
Sent: Tuesday, November 03, 2009 12:21 PM
Subject: [Red5] Red5 Audio Quality Issues

I've just developed (after weeks of pain and stress) a full videoconferencing and whiteboard solution in Adobe AIR utilising a Red5 (0.9.0) server. WOOHOO

However, delivered to client and been told that "audio is not as good as skype" and they want me to "fix it".  I do get why skype works better for them, but it's frustrating as this was the solution they agreed to.

Given that this is a Flex based client utilising a Red5 server, what are the most favourable (note: not necessarily best, but cleanest on lowish bandwidth) audio settings to use within Flex to get the mic quality as close as possible to skype?

As far as I can tell, there are issues with using this as a video conferencing tool. Am I wrong?  It seems to cancel audio too quickly and I'm not sure sound goes both ways properly. Have tried setting the silence level and various other things.  The sound appears to be ok in terms of clarity (understanding what is said) though.

So:

1) what are the best lower-bandwidth audio quality settings (given that I don't have unlimited bandwidth)?

2) what are the best settings for the Microphone object in the Flex/AIR client?

Thanks

Paul



_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org


_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org

_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org

Re: Red5 Audio Quality Issues

by Paul Johnston-7 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks all.

Confirming what I thought.  Have played with quite a few settings, but not quite managed to get it quite right yet.

Have tried rate at 22 but not 44. I think it may be more to do with the silence level settings I've been using... although the lower the silenceLevel the more feedback occurs...

And to reply - yes I do control the settings for the mic.

Thanks!

2009/11/3 Walter Tak <walter@...>
Yep it's quite easy to broadcast near crystal clear 44 khz mono sound with Flash. It doesn't eat that much bandwidth neither tbh.
 
If you didn't set the microphone rate it defaults to a crappy 11 Khz which may sound like AM radio.
 
W.
----- Original Message -----
Sent: Tuesday, 03 November 2009 21:31
Subject: Re: [Red5] Red5 Audio Quality Issues

just go to your microphone code and change the rate to 22 or 44
 
 
Its there bandwidth so set it as high as they want.
 
I assume you wrote the code that handles the mic.
 
 
----- Original Message -----
Sent: Tuesday, November 03, 2009 12:21 PM
Subject: [Red5] Red5 Audio Quality Issues

I've just developed (after weeks of pain and stress) a full videoconferencing and whiteboard solution in Adobe AIR utilising a Red5 (0.9.0) server. WOOHOO

However, delivered to client and been told that "audio is not as good as skype" and they want me to "fix it".  I do get why skype works better for them, but it's frustrating as this was the solution they agreed to.

Given that this is a Flex based client utilising a Red5 server, what are the most favourable (note: not necessarily best, but cleanest on lowish bandwidth) audio settings to use within Flex to get the mic quality as close as possible to skype?

As far as I can tell, there are issues with using this as a video conferencing tool. Am I wrong?  It seems to cancel audio too quickly and I'm not sure sound goes both ways properly. Have tried setting the silence level and various other things.  The sound appears to be ok in terms of clarity (understanding what is said) though.

So:

1) what are the best lower-bandwidth audio quality settings (given that I don't have unlimited bandwidth)?

2) what are the best settings for the Microphone object in the Flex/AIR client?

Thanks

Paul



_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org


_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org

_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org



_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org

Re: Red5 Audio Quality Issues

by Paul Johnston-8 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks all.

Confirming what I thought.  Have played with quite a few settings, but not quite managed to get it quite right yet.

Have tried rate at 22 but not 44. I think it may be more to do with the silence level settings I've been using... although the lower the silenceLevel the more feedback occurs...

And to reply - yes I do control the settings for the mic.

Thanks!

2009/11/3 Walter Tak <walter@...>
Yep it's quite easy to broadcast near crystal clear 44 khz mono sound with Flash. It doesn't eat that much bandwidth neither tbh.
 
If you didn't set the microphone rate it defaults to a crappy 11 Khz which may sound like AM radio.
 
W.
----- Original Message -----
Sent: Tuesday, 03 November 2009 21:31
Subject: Re: [Red5] Red5 Audio Quality Issues

just go to your microphone code and change the rate to 22 or 44
 
 
Its there bandwidth so set it as high as they want.
 
I assume you wrote the code that handles the mic.
 
 
----- Original Message -----
Sent: Tuesday, November 03, 2009 12:21 PM
Subject: [Red5] Red5 Audio Quality Issues

I've just developed (after weeks of pain and stress) a full videoconferencing and whiteboard solution in Adobe AIR utilising a Red5 (0.9.0) server. WOOHOO

However, delivered to client and been told that "audio is not as good as skype" and they want me to "fix it".  I do get why skype works better for them, but it's frustrating as this was the solution they agreed to.

Given that this is a Flex based client utilising a Red5 server, what are the most favourable (note: not necessarily best, but cleanest on lowish bandwidth) audio settings to use within Flex to get the mic quality as close as possible to skype?

As far as I can tell, there are issues with using this as a video conferencing tool. Am I wrong?  It seems to cancel audio too quickly and I'm not sure sound goes both ways properly. Have tried setting the silence level and various other things.  The sound appears to be ok in terms of clarity (understanding what is said) though.

So:

1) what are the best lower-bandwidth audio quality settings (given that I don't have unlimited bandwidth)?

2) what are the best settings for the Microphone object in the Flex/AIR client?

Thanks

Paul



_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org


_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org

_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org




--
Vida Innovation (PJ Net Solutions Ltd T/A Vida)
Tel: 07984 820767
Web: http://www.vidainnovation.com
Registered Number: 4131671
Office Address: 113 Victoria Street, Wolverton, Milton Keynes, MK12 5HQ

_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org

Re: Red5 Audio Quality Issues

by Walter Tak :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Thing is there is way more intelligence in Skype than ordinary users know. Besides that Skype can do with audio-data whatever they want , even change a codec and push a new version to all users all over the globe. With Flash you have to develop manual hacks to try to emulate the same. E.g. with the silence levels you could add a slider so users can control that themselves instead of relying on one single fixed number for all users.
 
I'd add a volume/VU bar as well and a slider for the recording volume. Let users toy around a bit.
 
You can then adjust the maximum recording level automatically if you'd see very high activity level ( > 90% ) for a longer period of time ; that would result in very dynamic recording volume. Obviously you'd need to keep recording levels in some sort of array (FIFO-buffer) and then calculate the average activity and act on that (e.g. reducing the recording volume with 10% after 1 second etc etc)
 
Also do not use myMic.setLoopBack(true);
 
W.
 
----- Original Message -----
Sent: Wednesday, 04 November 2009 11:06
Subject: Re: [Red5] Red5 Audio Quality Issues

Thanks all.

Confirming what I thought.  Have played with quite a few settings, but not quite managed to get it quite right yet.

Have tried rate at 22 but not 44. I think it may be more to do with the silence level settings I've been using... although the lower the silenceLevel the more feedback occurs...

And to reply - yes I do control the settings for the mic.

Thanks!

2009/11/3 Walter Tak <walter@...>
Yep it's quite easy to broadcast near crystal clear 44 khz mono sound with Flash. It doesn't eat that much bandwidth neither tbh.
 
If you didn't set the microphone rate it defaults to a crappy 11 Khz which may sound like AM radio.
 
W.
----- Original Message -----
Sent: Tuesday, 03 November 2009 21:31
Subject: Re: [Red5] Red5 Audio Quality Issues

just go to your microphone code and change the rate to 22 or 44
 
 
Its there bandwidth so set it as high as they want.
 
I assume you wrote the code that handles the mic.
 
 
----- Original Message -----
Sent: Tuesday, November 03, 2009 12:21 PM
Subject: [Red5] Red5 Audio Quality Issues

I've just developed (after weeks of pain and stress) a full videoconferencing and whiteboard solution in Adobe AIR utilising a Red5 (0.9.0) server. WOOHOO

However, delivered to client and been told that "audio is not as good as skype" and they want me to "fix it".  I do get why skype works better for them, but it's frustrating as this was the solution they agreed to.

Given that this is a Flex based client utilising a Red5 server, what are the most favourable (note: not necessarily best, but cleanest on lowish bandwidth) audio settings to use within Flex to get the mic quality as close as possible to skype?

As far as I can tell, there are issues with using this as a video conferencing tool. Am I wrong?  It seems to cancel audio too quickly and I'm not sure sound goes both ways properly. Have tried setting the silence level and various other things.  The sound appears to be ok in terms of clarity (understanding what is said) though.

So:

1) what are the best lower-bandwidth audio quality settings (given that I don't have unlimited bandwidth)?

2) what are the best settings for the Microphone object in the Flex/AIR client?

Thanks

Paul



_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org


_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org

_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org




--
Vida Innovation (PJ Net Solutions Ltd T/A Vida)
Tel: 07984 820767
Web: http://www.vidainnovation.com
Registered Number: 4131671
Office Address: 113 Victoria Street, Wolverton, Milton Keynes, MK12 5HQ


_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org

_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org