I would like to find a way to override the "protected function onCodecChange(p_evt:StreamEvent):void" in the audiopublisher.
I use the Nellymoser codec in my App. When a new user is connecting to the audio stream, the audio publisher codec automatically changes to SPEEX .
So I have to do something:
if (audioPub.microphone.codec.toLocaleLowerCase()=="speex")
{
audioPub.microphone.codec="Nellymoser";
}
But this solution causes a silence for a few seconds.
Any idea?
Thanks
Bernard
Views
Replies
Total Likes
Please!!! Any idea?
Thanks
Bernard
Views
Replies
Total Likes
Have you tried overritten it in the actual LCCS source code?
Views
Replies
Total Likes
Hi James,
Yes, but without success ...
Could you give me an example of code that might work?
This is my app. if you want to test it :
http://bbloo.co/bBloo/?me=test
Bernard
Views
Replies
Total Likes
Hi Bernard,
It is set in the following classes...
com.adobe.rtc.sharedManagers.StreamManager
com.adobe.rtc.clientManagers.MicrophoneManager
com.adobe.rtc.collaboration.AudioPublisher
James
Views
Replies
Total Likes
Hi,
in SreamManager...
protected function findCodec():void
{
...
dispatchEvent(new StreamEvent(StreamEvent.CODEC_CHANGE));
Why dispatchEvent codec change ?
When the participants use nellymoser and a new user enter in a room, the codec of all users change to SPEEX.
Views
Replies
Total Likes
Hi Bernard,
I add it to the our improvement's todo list to have a investigation into.. If you could provide me with a simple sample app that demos the problem that would be a great help. My email is james@influxis.com
James
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies