javascript - How to fully close a WebRTC connection -


when trying close webrtc connection after call using rtc.close(), recognize about:webrtc-internals in chrome , about:webrtc keep connections listed. in firefox, marked closed, while in chrome not see such denotation.

i asking because seems have significant performance impact after time. after having done lot of calls, performance impaired , webrtc-internals lists large number of connections.

is there more closing webrtc connection .close() make browser forget connection?

you should see peer connection go iceconnectionstateclosed , signalingstateclosed. 1 thing should ensure you're stopping local media stream tracks. if don't, browser keep them open, because aren't closed when peer connection closed.

pc closed


Comments

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

node.js - Webpack/TypeScript Raising Errors When node_modules is Excluded -

c++ - How to test/verify that zero-initialization takes place -