- From: Iñaki Baz Castillo <ibc@aliax.net>
- Date: Thu, 29 Jan 2015 10:53:27 +0100
- To: Stefan Håkansson LK <stefan.lk.hakansson@ericsson.com>
- Cc: "public-webrtc@w3.org" <public-webrtc@w3.org>
2015-01-29 7:54 GMT+01:00 Stefan Håkansson LK <stefan.lk.hakansson@ericsson.com>: > I think this would be the solution now. Clone the MediaStream; attach > one of the two clones to the video element and the other to the > PeerConnection; put enabled=false on the track(s) in question of the > MediaStream attached to the PC. Yes, that is what I'm doing right now :) > Note, this does not really pause > sending, but sends black frames/silence over the net. I notify the pause to the peer by HTTP/WebSocket means. > A little bit down the road the RTCRTPSender (not yet in the main branch > of the spec) will be there, and it will AFAIK have a method for "stop > sending this track". Then you will not have to clone. That would be great. -- Iñaki Baz Castillo <ibc@aliax.net>
Received on Thursday, 29 January 2015 09:54:14 UTC