- From: cowwoc <cowwoc@bbs.darktech.org>
- Date: Mon, 02 Dec 2013 13:59:49 -0500
- To: Martin Thomson <martin.thomson@gmail.com>
- CC: "public-webrtc@w3.org" <public-webrtc@w3.org>
Hi Martin, I'm not sure I understand. Do you mean I should do the following? var videoTrack = remoteMediaStream.getVideoTracks()[0]; var remoteConstraints = videoTrack.constraints(); remoteConstraints.mandatory.width = 320; remoteConstraints.mandatory.height = 240; Will this force the remote end to downscale to 320x240 before sending the video over the wire? Thanks, Gili On 30/11/2013 10:17 PM, Martin Thomson wrote: > On 29 November 2013 15:19, cowwoc <cowwoc@bbs.darktech.org> wrote: >> shouldn't we have constraints for remote streams as well? > We do already. Constraints are always local for one instance of an application. > >> Say the remote video stream is captured at 1080p but I only need it to send 320x240 (the user is not speaking) shouldn't I be able to communicate this to the remote end? > Try making a copy and changing the constraints on the copy. That's > how we decided to do that.
Received on Monday, 2 December 2013 19:00:25 UTC