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

Re: [mediacapture-image] Clarify applicability of MediaTrackSupportedConstraints (#206)

From: Rijubrata Bhaumik via GitHub <sysbot+gh@w3.org>
Date: Fri, 17 May 2019 07:47:53 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-493357525-1558079272-sysbot+gh@w3.org>
The introduction section says

> Reading capabilities and settings and applying constraints is done in one of two ways depending on whether it impacts the video MediaStreamTrack or not. Photo-specific capabilities and current settings can be retrieved via getPhotoCapabilities()/getPhotoSettings() and configured via takePhoto()'s PhotoSettings argument. Manipulating video-related capabilities, current settings and constraints is done via the MediaStreamTrack extension mechanism.

If needed, we can add a Note for further clarification.
Constraints that apply to the live video feed are in [MediaTrackSettings](https://w3c.github.io/mediacapture-image/index.html#mediatracksettings-section) and constraints that **only** apply when capturing image using `takePhoto()` are handled by [PhotoSettings](https://w3c.github.io/mediacapture-image/index.html#photosettings-section).

GitHub Notification of comment by riju
Please view or discuss this issue at https://github.com/w3c/mediacapture-image/issues/206#issuecomment-493357525 using your GitHub account
Received on Friday, 17 May 2019 07:47:55 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 6 May 2023 21:19:47 UTC