rtc

minimal webrtc client
git clone https://git.ce9e.org/rtc.git

commit
f7ba62711edd4acdc5a3c6ffb1ad699938029b97
parent
277e8a1758d73da2c5c21e53aeada5d6540accd3
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2020-04-03 18:20
rm dead code

Diffstat

M www/rtc/rtc.js 4 +---

1 files changed, 1 insertions, 3 deletions


diff --git a/www/rtc/rtc.js b/www/rtc/rtc.js

@@ -54,10 +54,8 @@
   54    54 			video.srcObject = event.streams[0];
   55    55 		});
   56    56 
   57    -1 		var tracks = [];
   58    57 		localVideo.srcObject.getTracks().forEach(track => {
   59    -1 			var s = con.addTrack(track, localVideo.srcObject);
   60    -1 			tracks.push(s);
   -1    58 			con.addTrack(track, localVideo.srcObject);
   61    59 		});
   62    60 
   63    61 		cons[sender] = {