- From: Harald Alvestrand <harald@alvestrand.no>
- Date: Wed, 11 Dec 2013 10:06:53 +0100
- To: public-webrtc@w3.org
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 09:07:25 UTC