W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > October 2017

Re: [webrtc-pc] Section 5.2: centering, scaling, cropping

From: Harald Alvestrand via GitHub <sysbot+gh@w3.org>
Date: Tue, 17 Oct 2017 08:12:24 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-337153121-1508227942-sysbot+gh@w3.org>
@fluffy no, I'm not OK with aspect ratio changes. You agreed in JSEP that aspect ratios should not change; we can't be OK one place and not OK in the other.
Besides, aspect ratio change loses information. If distortion's required, let the recipient do it.
@stefhak I see the constraints as controlling what the track delivers (defined as "track resolution" in JSEP). That's input to the transmission function, and the transmission function is permitted to scale down what it gets, as per JSEP.
Calling getSettings() on the recipient's track will return what came across. That's going to be 640x360 in the case you posit. I don't see any sense in returning any other number.


-- 
GitHub Notification of comment by alvestrand
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1283#issuecomment-337153121 using your GitHub account
Received on Tuesday, 17 October 2017 08:12:32 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 9 October 2019 15:14:55 UTC