Expand my Community achievements bar.

My application freeze...

Avatar

Level 3

Since many months, I'm working hard on a client's project called Mundo (an e-Learning project).

Some times my application freeze/crash  (more often with MSIE and activeX) or some times I lost the audio-stream from one participant (not from all) when a new user enter or exit the room or when a user change his audio-codec or his audio-Input during a conversation.

I presume this is caused by the audioSub since when I close this one (audiosub.close) before I receive an event, my app. never crash or freeze.

Where do I have to look at? on the audioPub side? You have an idea ?

This is my app....

http://imundo.me/?me=test

Thank you for your help,

Bernard

1 Reply

Avatar

Former Community Member

Hi Bernard,

How frequently does this happen ? We have heard about lost audio sometimes from some user but never faced this issue consistently.

What you can do periodically sometimes is call audioSub.resetAllStreams(). This refreshes all your streams and you shouldn’t be having this audio lost problem. We have an example use of this API in PeerToPeerRtmfp example in sampleApps.

We have never heard about an crash, but only lost audio. Your close function deletes all streams and disconnects you from the network by removing all event listeners. So, I think close() will not be the solution.

Try out the resetAllStreams API and I hope it should work for you. And if your app crashes, let us know.

Hope this helps

Thanks

Hironmay Basu