W3C home > Mailing lists > Public > public-webrtc@w3.org > February 2016

Re: maxHeight and maxWidth

From: Jan-Ivar Bruaroey <jib@mozilla.com>
Date: Wed, 17 Feb 2016 16:25:11 -0500
To: Peter Thatcher <pthatcher@google.com>
Cc: "public-webrtc@w3.org" <public-webrtc@w3.org>
Message-ID: <56C4E537.6060906@mozilla.com>
On 2/17/16 3:40 PM, Peter Thatcher wrote:
> ... I can't think of any other use cases for a fixed-resolution video 
> track.  But the real question is whether Adam's proposed use case is 
> even possible to solve.

^

> But while we're talking about video tracks, I am suprised that we 
> don't have something as simple as and useful as something like this:
>
> var smallTrack = bigTrack.scale({downBy: 2})
> var tinyTrack = bigTrack.scale({downToHeight: 90}).crop({toRatio: 16/9})

I think you just answered yourself above (no use cases).

As to Adam's use-case, I suspect it's a red herring to worry about 
videos smaller than 160x90, but I'll wait for him to clarify what he wants.

.: Jan-Ivar :.
Received on Wednesday, 17 February 2016 21:25:44 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:18:14 UTC