incubator-openmeetings-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joseph Karwat" <jkar...@jellnet.com>
Subject Testing application to compare Acoustic Echo Cancellation (AEC) in SWF11 in OpenMeetings Raju
Date Thu, 06 Dec 2012 19:31:06 GMT
Sebastian:

 

I loaded the test app into our test environment.  It runs a recent build.  I
cannot get the play broadcast to work.  When I click "play broadcast" I get
this error.

 

ERROR @test-setup.lzx?173: ArgumentError: Error #2126

 

Thanks

 

Joseph

 

Joseph Karwat | 415-462-0263 |  <http://www.jellvideo.com/> JellVideo |
<http://www.jellnet.com/> www.jellnet.com | 3psquare93x77 

Jell Networks, Inc. 

Enterprise Video Collaboration Solutions

 

From: George Kirkham [mailto:gkirkham@co2crc.com.au] 
Sent: Tuesday, November 20, 2012 2:16 PM
Cc: openmeetings-dev@incubator.apache.org
Subject: RE: SUCCESS - Testing application to compare Acoustic Echo
Cancellation (AEC) in SWF11 in OpenMeetings Raju

 

Sebastian, Vincenzo, Raju,

 

I did find a few small problems when testing with the
"test-setup.lzx.swf11.swf" application.

 

1)      I was able to successfully test using a single PC by broadcasting on
"stream1" and receiving on "stream1". That is on my test PC I would
broadcast on "stream1" and then also receive on "stream1" using the same PC.
This worked well for testing the AEC feature.

2)      It seems that it does not matter what I name the two streams for the
Broadcast and Playback, e.g. stream1 & stream1 or stream1 & stream2 or
George & Tony, the test application simply connects the BroadCast stream to
the Play-Broadcast stream on the same PC, regardless of what I name the
streams.   I cannot connect the Play-Broadcast stream of one PC to the steam
started on another PC.

3)      As reported above in step 2, when I attempted to use two PCs, for a
1:1 communications I was not able to do this, maybe I did not understand how
to do this?.  I could only send and receive on the same PC, I was not able
to do the following;
Send from PC1 on "stream1"
Receive on PC2 on "stream1"
Send from PC2 on  "stream2"
Receive on PC 1 on "stream2"

What happened is that the playback on PC1 would only receive the stream that
it is sending, that is "stream1", no matter what I called the
"playBroadCast" stream name.

4)      I also found that, as mentioned in Sebastian's instructions, if I
ever stoped the broadcast or the playback, I had to close the browser and
then try again, if I was to be able to receive the broadcast again.  Thus
between testing with "userEchoSuppression" turned on and then testing with
it turned off, I had to close the browser and reset up the test (no problem
doing this, just shows that the code does not fully close and restart the
connection).

5)      While I used the server's domain name in the web browser's URL, I
had believed that I had to use the actual IP address of the domain name in
the  "test-setup.lzx.swf11.swf" own URL: field, but this understanding was
incorrect, I was also able to use the server's domain name in the URL:
field. And once again, without the options "useEchoSuppression" and "Use
Enhanced Microphone" checked, the echo is very bad, but when running the
tests with the default of these options selected, the echo is greatly
reduced on a laptop that does not have any hardware AEC features, and when
using the internal speakers and microphone.

 

Below is the "Laszlo Debugger" log output from my test server.  If you want
to test with my server, you can connect with
http://www.goproject.info:5080/openmeetings/test-setup.lzx.swf11.swf but I
the bandwidth is limited.  Occasionally I get bandwidth warning messages in
the log file.

 

connectRtmpConnection URL: rtmp://59.167.79.92:1935/openmeetings/testscope 

setId  65 

devrtmpconnection <<anonymous extends='canvas'>#2#1| #canvas> _onStatus
NetConnection.Connect.Success 

<flash.media::MicrophoneEnhancedOptions#3| {}> 

netStream_onNetStatus:  NetStream.Publish.Start <flash.net::NetStream#4|
[object NetStream]> 

netStream_onNetStatus:  NetStream.Play.Reset <flash.net::NetStream#5|
[object NetStream]> 

netStream_onNetStatus:  NetStream.Play.Start <flash.net::NetStream#5|
[object NetStream]> 

netStream_onNetStatus:  NetStream.Video.DimensionChange
<flash.net::NetStream#5| [object NetStream]> 

netStream_onNetStatus:  NetStream.Play.InsufficientBW
<flash.net::NetStream#5| [object NetStream]> 

netStream_onNetStatus:  NetStream.Pause.Notify <flash.net::NetStream#5|
[object NetStream]> 

netStream_onNetStatus:  NetStream.Play.Stop <flash.net::NetStream#5| [object
NetStream]> 

netStream_onNetStatus:  NetStream.Buffer.Flush <flash.net::NetStream#5|
[object NetStream]> 

netStream_onNetStatus:  NetStream.Unpublish.Success <flash.net::NetStream#4|
[object NetStream]> 

lzx> Debug.inspect([object NetStream]) 

<flash.net::NetStream#5| [object NetStream]> 

<flash.net::NetStream#5| [object NetStream]> 

lzx>

 

If anyone has more information about how to use the
"test-setup.lzx.swf11.swf" application or makes modifications, I would like
to do further testing, for example a test between two to four users/PCs,
though Joseph's comment about integrating this into Openmeetings would give
the greatest flexibility for testing. I would suggest having just one admin
setting to turn on or off the use of all AEC features, e.g. both
"useEchoSuppression" and "Use Enhanced Microphone".  Personally I would just
have these items turned on permanently in the code with no options.

 

If anyone can explain to me what the "Adobe Flash Player Settings" "Reduce
Echo" option actually does, I would be very interested to know.  That is how
this setting integrates with a Flash application's code, like in
Openmeetings.



 

Thanks,

 

George Kirkham

 

From: Vincenzo M. Raimondo [mailto:vincent.raimondo@gmail.com] 
Sent: Wednesday, 21 November 2012 4:05 AM
To: seba.wagner@gmail.com
Cc: Joseph Karwat; George Kirkham; openmeetings-dev@incubator.apache.org
Subject: Re: SUCCESS - Testing application to compare Acoustic Echo
Cancellation (AEC) in SWF11 in OpenMeetings

 

Hi

 

I'm finding  just these ActionScript3 docs. thank you Sebastian

There is the source code of test-setup.lzx.swf11.swf ? If is possible, I
would work on this test.

Thanks

 

 

From: seba.wagner@gmail.com 

Sent: Tuesday, November 20, 2012 1:26 PM

To: Vincenzo M. Raimondo <mailto:vincent.raimondo@gmail.com>  

Cc: openmeetings-dev@incubator.apache.org ; George Kirkham
<mailto:gkirkham@co2crc.com.au>  ; Joseph Karwat
<mailto:jkarwat@jellnet.com>  

Subject: Re: SUCCESS - Testing application to compare Acoustic Echo
Cancellation (AEC) in SWF11 in OpenMeetings

 

Hi,

thanks for testing this, its actually pretty hard to test this locally and
with my equipment.

About the questions:
@Joseph: Actually there are already instructions online. You can put this
testing SWF into any production OpenMeetings instance. There is no need to
restart Red5 or anything.
See:
https://cwiki.apache.org/confluence/display/OPENMEETINGS/Camera+Micro+Testin
g+Application+Standalone

@Raju: Yes I guess we will make a SWF11 runtime available :)

@Vincenzo Actually this is what we have build the Testing application for.
See the link above how to get it. It is rather easy to set up.
To see what options you could add on top please refer to the ActionScript3
docs. 
See:
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/med
ia/MicrophoneEnhancedMode.html

Sebastian

 

2012/11/20 Vincenzo M. Raimondo <vincent.raimondo@gmail.com>

 

Hi

I'm following with much interest thi test application.

I preface that I not test it yet.

I have two questions about this:

There is possibility to assess whether the echo cancellation can be made
better by passing some parameters specific to the functions that implement
it ?

You can customize the echo cancellation on the basis of experimental tests
carried out in the specific scenario in which the web conference work?

 

Thanks

 

From: Joseph Karwat <mailto:jkarwat@jellnet.com>  

Sent: Tuesday, November 20, 2012 12:02 AM

To: 'George Kirkham' <mailto:gkirkham@co2crc.com.au>  ;
seba.wagner@gmail.com 

Cc: openmeetings-dev@incubator.apache.org ;
openmeetings-user@incubator.apache.org 

Subject: RE: SUCCESS - Testing application to compare Acoustic Echo
Cancellation (AEC) in SWF11 in OpenMeetings

 

Sebastian:

 

I tested the app for a few minutes with George and still need to test a bit
more to reproduce his findings, but I would echo his desire to put this in
production.  It would be easier for all of us to test if you could simply
include the AEC code on the  OM Demo (or another public) server for all to
formally test.  Alternatively, If you can give me instructions on how to put
this into a working OM instance, I'd be happy to add the code to our test
system and then test with a live OM system.

 

Thanks so much for working on this.

Joseph Karwat | 415-462-0263 |  <http://www.jellvideo.com/> JellVideo |
<http://www.jellnet.com/> www.jellnet.com |  

Jell Networks, Inc. 

Enterprise Video Collaboration Solutions

 

 

 

From: George Kirkham [mailto:gkirkham@co2crc.com.au] 
Sent: Monday, November 19, 2012 2:00 PM
To: seba.wagner@gmail.com; Joseph Karwat
Cc: openmeetings-dev@incubator.apache.org;
openmeetings-user@incubator.apache.org
Subject: SUCCESS - Testing application to compare Acoustic Echo Cancellation
(AEC) in SWF11 in OpenMeetings

 

Hi Sebastian,

 

I have managed to set up a test environment where I can use the
"test-setup.lzx.swf11.swf" application and verify that selecting
"useEchoSuppression" and "use Enhanced Microphone" options really does make
a great difference in reducing echo.

 

Yes, this works just great !   How difficult is it to introduce into the
current OpenMeetings build?  It would be worthwhile if you could.

 

I have one laptop in particular that is good for causing echo, as it has no
internal hardware echo cancellation features.

 

After setting up an OpenMeetings test server, I then used this laptop to run
test-setup.lzx.swf11.swf and below are the steps that I used to verify the
effectiveness of this echo test;

 

1)      Test 1 - Open Internet Explorer and connect to
test-setup.lzx.swf11.swf on my OpenMeetings server

2)      In the "URL:" field, change 127.0.0.1 to the IP address of my
OpenMeetings server

3)      Leave "useEchoSuppression" and "Use Enhanced Microphone" enabled

4)      Right click the test window to bring up Adobe Flash Player's menu,
select "Settings:", and ensure that "Reduce Echo" is selected in the
microphone tab.

5)      Connect by selecting "connectRtmpConnection"

6)      Select "startBroadCast" to start broadcasting my video and sound

7)      Now on the same PC, I select "playBroadCast" to start receiving my
broadcasted my video and sound

8)      There is a short delay between my speaking and hearing myself via
the speakers in the laptop.

9)      I adjust the volume on the speakers so that the play back of my
voice is loud and clear, almost to the point where the sound is being picked
up by the laptop's inbuilt  microphone and is producing a delayed echo.

10)   Now that all is working well, and I can see my video and hear my
voice, I stop playback, and stop broadcasting, and close the web browser.

11)   Test 2 - Open Internet Explorer and connect to
test-setup.lzx.swf11.swf on my OpenMeetings server

12)   In the "URL:" field, change 127.0.0.1 to the IP address of my
OpenMeetings server

13)   I uncheck "useEchoSuppression" and uncheck "Use Enhanced Microphone"
enabled

14)   Right click the test window to bring up Adobe Flash Player's menu,
select "Settings:", and ensure that "Reduce Echo" is still selected in the
microphone tab. 

15)   Connect by selecting "connectRtmpConnection"

16)   Select "startBroadCast" to start broadcasting my video and sound

17)   Now on the same PC, I select "playBroadCast" to start receiving my
broadcasted my video and sound

18)   As soon as I select "playBroadCast", the most dreadful squealing echo
starts up, and when I speak there is echo of my speech.

19)   If I turn the volume right down to where the audio is almost unheard,
the squealing echo stops. But as soon as I try to turn the volume up where
it is useful, the echo returns.

 

Test 1- No echo when Echo Suppression is  enabled.

 

Test 2 - Background echo is a major issue when  Echo Suppression is  not
activated.

 

Thanks,

 

George Kirkham

 

IT Manager

Cooperative Research Centre For Greenhouse Gas Technologies (CO2CRC) 

NFF House, 14 - 16 Brisbane Avenue, Barton, ACT, 2600, Australia

T: (02) 6120 1600 <tel:%2802%29%206120%201600> 

F: (02) 6273 7181 <tel:%2802%29%206273%207181> 

E: gkirkham@co2crc.com.au, 

W: www.co2crc.com.au

 

 

From: seba.wagner@gmail.com [mailto:seba.wagner@gmail.com] 
Sent: Saturday, 13 October 2012 11:46 PM
To: George Kirkham; Joseph Karwat
Cc: openmeetings-dev@incubator.apache.org;
openmeetings-user@incubator.apache.org
Subject: Testing application to compare Acoustic Echo Cancellation (AEC) in
SWF11 in OpenMeetings

 

Hi George/Joseph,

I have build a Cam/Mic testing application where you can compare the
settings between AEC and not having AEC in OpenMeetings.

I could not find any difference, however I also have quite good headsets and
a good microphone with build in echo cancellation on MacBookPro.

Please see this description on howto install/test AEC feature with the
testing application:
https://cwiki.apache.org/confluence/display/OPENMEETINGS/Camera+Micro+Testin
g+Application+Standalone

Basically you simply copy:
https://svn.apache.org/repos/asf/incubator/openmeetings/trunk/singlewebapp/W
ebContent/src/test/test-setup.lzx.swf11.swf

To:
$RED5_HOME/webapps/openmeetings/

a) Then navigate with your browser to:
http://localhost:5080/openmeetings/test-setup.lzx.swf11.swf
b) Input IP/Host on the top => click connect
c) Choose streamname to broadcast => share

Open a second browser on another machine: 
a) navigate with your browser to to the same app.
b) Input IP/Host on the top => click connect
c) Choose streamname to play (Has to MATCH the one in the broadcast of
course!) => play

This works of course also vice-versa. So you can make a simple 1:1 chat.

To change settings it is best to press F5 and reload the browser and
reconnect.

Sebastian

-- 
Sebastian Wagner
 <https://twitter.com/#%21/dead_lock> https://twitter.com/#!/dead_lock
 <http://www.webbase-design.de> http://www.webbase-design.de
 <http://www.wagner-sebastian.com> http://www.wagner-sebastian.com
 <mailto:seba.wagner@gmail.com> seba.wagner@gmail.com




-- 
Sebastian Wagner
 <https://twitter.com/#%21/dead_lock> https://twitter.com/#!/dead_lock
 <http://www.webbase-design.de> http://www.webbase-design.de
 <http://www.wagner-sebastian.com> http://www.wagner-sebastian.com
 <mailto:seba.wagner@gmail.com> seba.wagner@gmail.com


Mime
  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message