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

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

From: Ami Fischman <fischman@google.com>
Date: Wed, 11 Dec 2013 11:28:35 -0800
Message-ID: <CAHuR8a-UeTjKP+G9KkyAPA_CjYWguSUbR3zLuzkbBGZ6Gs5HnA@mail.gmail.com>
To: Harald Alvestrand <harald@alvestrand.no>
Cc: public-webrtc@w3.org
> The <video> tag seems to have no event handlers

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 :)
That would be useful for static/VOD (not webrtc/gUM-related)
mid-stream-resolution-changing videos, as well as MSE, too.

Received on Thursday, 12 December 2013 08:20:18 UTC

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