W3C home > Mailing lists > Public > public-webrtc@w3.org > May 2014

Re: Any plan for zoom capacity in webRTC.

From: Sam Dutton <dutton@google.com>
Date: Fri, 16 May 2014 09:18:49 +0100
Message-ID: <CAACxJ5pkHMXJwy-4iqM_omm-apTL-DPZ7cMZDTb+yk_1FkRf5Q@mail.gmail.com>
To: Harald Alvestrand <harald@alvestrand.no>
Cc: "public-webrtc@w3.org" <public-webrtc@w3.org>
To 'zoom' the video element, not the camera, you could put the video
element in a div with overflow: hidden, then respond to tap/click events by
increasing the width of the video element and adjusting the video element's
relative position accordingly, depending where the event occurred. Double
tap/click could zoom out likewise.


On 16 May 2014 09:07, Harald Alvestrand <harald@alvestrand.no> wrote:

>  On 05/14/2014 08:02 PM, George Hazelwood wrote:
>
>   Hello,
>  We were wondering when webrtc  would have zooming in the API? WE have a
> client who would like to zoom in on video being displayed in web RTC.
>
>
> Do you mean zoom as in "camera control", or zoom as in "display control"?
>
> I think you can do the latter by manipulating the <video> element in
> Javascript.
>
> The former has been decided to be out of scope for Media Capture 1.0 -
> it's too full of interesting corner cases to be attractive at this time.
>
>
>
>  George Hazelwood
>
> ------------------------------
> CONFIDENTIALITY NOTICE: This message transmission is intended only for the
> person or the entity to which it is addressed and may contain information
> that is privileged, confidential or otherwise protected from disclosure,
> including personal health or other information which may be protected by
> federal or state law. If you have received this transmission, but are not
> the intended recipient, you are hereby notified that any disclosure,
> copying, distribution or use of the contents of this information is
> strictly prohibited. If you have received this message in error, please
> contact the sender and destroy the original message and all copies.
>
>
>
Received on Friday, 16 May 2014 08:19:37 UTC

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