W3C home > Mailing lists > Public > public-media-capture@w3.org > October 2016

[mediacapture-image] Rename videoStreamTrack to track

From: François Beaufort via GitHub <sysbot+gh@w3.org>
Date: Wed, 05 Oct 2016 09:55:27 +0000
To: public-media-capture@w3.org
Message-ID: <issues.opened-181110604-1475661326-sysbot+gh@w3.org>
beaufortfrancois has just created a new issue for 

== Rename videoStreamTrack to track ==
As we already pass a `track` MediaStreamTrack object into the 
constructor, it would be nicer to call it `track` as well and not 

[Constructor(MediaStreamTrack track)]
interface ImageCapture {
-    readonly attribute MediaStreamTrack videoStreamTrack;
+    readonly attribute MediaStreamTrack track;
    readonly attribute MediaStream      previewStream;
    Promise<PhotoCapabilities> getPhotoCapabilities();
    Promise<void>              setOptions(PhotoSettings? 
    Promise<Blob>              takePhoto(PhotoSettings? 
    Promise<ImageBitmap>       grabFrame();

Please view or discuss this issue at 
https://github.com/w3c/mediacapture-image/issues/87 using your GitHub 
Received on Wednesday, 5 October 2016 09:55:36 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:26:37 UTC