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

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

From: Suhas Nandakumar (snandaku) <snandaku@cisco.com>
Date: Wed, 11 Dec 2013 21:13:54 +0000
To: Harald Alvestrand <harald@alvestrand.no>, "public-webrtc@w3.org" <public-webrtc@w3.org>
Message-ID: <37D91FC30D69DE43B61E5EEADD959F18090C1FB6@xmb-aln-x12.cisco.com>
+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

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