W3C home > Mailing lists > Public > public-webrtc@w3.org > December 2013

Re: When is the remote video resolution/size known?

From: Simon Pieters <simonp@opera.com>
Date: Thu, 12 Dec 2013 22:07:48 +0100
To: "Harald Alvestrand" <harald@alvestrand.no>, "Ami Fischman" <fischman@google.com>
Cc: public-webrtc@w3.org
Message-ID: <op.w7zznac0idj3kv@simons-macbook-pro.local>
On Wed, 11 Dec 2013 20:28:35 +0100, Ami Fischman <fischman@google.com>  
wrote:

>>
>> The <video> tag seems to have no event handlers
>
>
> ?
> http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#mediaeventslists
> many events that fire on <video>.
> The typical answer for getting initial resolution is to listen for first
> timeupdate event and then query the <video>'s video{Width,Height}.
>
>
>> Perhaps one should ask for a "videochange" event?
>>
>
> Yes, please :)

Prayer answered: http://html5.org/r/8347

cheers

> That would be useful for static/VOD (not webrtc/gUM-related)
> mid-stream-resolution-changing videos, as well as MSE, too.
>
> Cheers,
> -a


-- 
Simon Pieters
Opera Software
Received on Thursday, 12 December 2013 21:08:20 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 15:19:37 UTC