- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I notice that, after I end an on going WebRTC video p2p call.
The microphone resource is not getting release.
For example, when I try open up any voice note recording app. The recording simply doesn't work. Whatsapp cannot record a voice note. wechat cannot, qq cannot etc, google voice search doesn't work etc.
Everything will work if I manually kill my app.
So my question is, after I know for sure that my call is ended. How do I release the audio recording resource?
localStream.disableAudio();
localStream.close();
doesn't seem to do the job.
Thanks
- Tags:
- HTML5
- JavaScript*
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Zhen, thanks for reporting this issue, we will check it. I'll keep you posted on the process.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If i call
PeerClient.unpublish()
.. onSuccess -> peerClient.disconnect(); localStream.close()
Microphone seems to get released properly after i do that.
I couldn't reproduce the original issue very very reliably. So not sure to what extend calling disconnect and unpublish addresses the issue.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page