sendrecv/js: Explicitly close the local stream when done
authorNirbheek Chauhan <nirbheek@centricular.com>
Sat, 31 Mar 2018 17:31:32 +0000 (23:01 +0530)
committerNirbheek Chauhan <nirbheek@centricular.com>
Sat, 31 Mar 2018 19:40:00 +0000 (01:10 +0530)
commit3879a5078d3679a0f6d7052fed17c015cf68e21a
treedfd058744a2376f347d882d0873317c5c48328bc
parent3eabe5cb0b6bd99cba3563444b2fa1fb14f6cb9e
sendrecv/js: Explicitly close the local stream when done

This immediately releases the webcam and mic instead of lazily at some
unpredictable time in the future.
webrtc/sendrecv/js/webrtc.js