Hi,

What is the proper way of closing a WebRTC dataChannel? We are developing a p2p 
file-sharing webapp, and seem to hit a global limit for number of dataChannels 
if the app runs for a long time.

Currently we do a dataChannel.close() and a peerConnection.close(), as well as 
setting the references of both to null. Is there anything else that needs to be 
done for the dataChannel to be properly garbage collected?

Thanks,
Rasmus Eskola
_______________________________________________
dev-media mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-media

Reply via email to