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

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

From: Iñaki Baz Castillo <ibc@aliax.net>
Date: Tue, 10 Dec 2013 22:43:22 +0100
Message-ID: <CALiegf=RL+K0x1udcuVvnMFabyaOQdZC99AiTWdvvSY-F1w7KA@mail.gmail.com>
To: "Cullen Jennings (fluffy)" <fluffy@cisco.com>
Cc: "public-webrtc@w3.org" <public-webrtc@w3.org>
2013/12/10 Cullen Jennings (fluffy) <fluffy@cisco.com>:
> I'm not sure but this is a good question. Related to that seems if the far side changes the resolution it is sending due to bandwidth management reasons, does the JS get any notifications to let you now it changed size.

You are totally right. Even more:

Try joining any available WebRTC demo from a Chrome browser in Android
(in landscape orientation) so you see 4:3 resolution (widht 4 / height
Once you see your own video change the orientation of your mobile to
portrait. Voila!!, in that moment you will see how your video changes
fmo 4:3 to 3:4 (width 3 / height 4).

So the real question is: is there any MediaStream or MediaStreamTrack
to detect video resolution/size change?

Iñaki Baz Castillo
Received on Tuesday, 10 December 2013 21:44:09 UTC

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