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

+1 that this should be a property of the <video> element .. since the local processing of the remote media stream  can change its resolution before it is fed into the <video> element, if needed
________________________________________
From: Harald Alvestrand [harald@alvestrand.no]
Sent: Wednesday, December 11, 2013 1:06 AM
To: public-webrtc@w3.org
Subject: Re: When is the remote video resolution/size known?

On 12/10/2013 10:46 PM, Iņaki Baz Castillo wrote:
> 2013/12/10 Iņaki Baz Castillo <ibc@aliax.net>:
>> So the real question is: is there any MediaStream or MediaStreamTrack
>> to detect video resolution/size change?
> Sorry I meant:
>
> Is there any MediaStream or MediaStreamTrack *event* to detect video
> resolution/size change?
>
> IMHO we need it. Otherwise it becomes hard to draw a video element (in
> certain cases like mine...).
>
>
>
>
The only place I know of to get the size of the incoming video is on the
<video> tag itself.

The <video> tag seems to have no event handlers, but the HTML5
MediaController seems to have a lot of them, including "volumechange"
and "canplay".

Perhaps one should ask for a "videochange" event?





Received on Wednesday, 11 December 2013 21:14:22 UTC