Implement the getSettings method of MediaStreamTrack. This is part of the Constrainable interface, but deserves its own bug.
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/d1ce26c1f848cc75f8077f1c77c5df5a8a49dca4 commit d1ce26c1f848cc75f8077f1c77c5df5a8a49dca4 Author: hta <hta@chromium.org> Date: Mon Jun 06 15:54:06 2016 Add video width and height to getSettings. BUG= 617142 Review-Url: https://codereview.chromium.org/2037573004 Cr-Commit-Position: refs/heads/master@{#398035} [modify] https://crrev.com/d1ce26c1f848cc75f8077f1c77c5df5a8a49dca4/content/renderer/media/media_stream_video_track.cc [modify] https://crrev.com/d1ce26c1f848cc75f8077f1c77c5df5a8a49dca4/third_party/WebKit/LayoutTests/fast/mediastream/MediaStreamTrack-getSettings.html [modify] https://crrev.com/d1ce26c1f848cc75f8077f1c77c5df5a8a49dca4/third_party/WebKit/Source/modules/mediastream/MediaStreamTrack.cpp [modify] https://crrev.com/d1ce26c1f848cc75f8077f1c77c5df5a8a49dca4/third_party/WebKit/public/platform/WebMediaStreamTrack.h
In ever other major browser: Hotlist-Interop
Issue 338509 has been merged into this issue.
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/2d50a1b3b003d4a51a8f2ff4153d29a0273586eb commit 2d50a1b3b003d4a51a8f2ff4153d29a0273586eb Author: hta <hta@chromium.org> Date: Fri Jan 20 09:06:45 2017 Add FacingMode to the values returned from MediaStreamTrack.getSettings. Spec link: https://w3c.github.io/mediacapture-main/getusermedia.html#dom-mediatracksettings-facingmode Note on testing: Testing this properly at the JS API level requires the ability to insert fake devices with properties set by the test. That's too much for this CL. Once https://codereview.chromium.org/2609863004/ lands, this can be manually tested on Chromebooks. BUG= 617142 Review-Url: https://codereview.chromium.org/2590193002 Cr-Commit-Position: refs/heads/master@{#445022} [modify] https://crrev.com/2d50a1b3b003d4a51a8f2ff4153d29a0273586eb/content/renderer/media/media_stream_video_track.cc [modify] https://crrev.com/2d50a1b3b003d4a51a8f2ff4153d29a0273586eb/content/renderer/media/media_stream_video_track_unittest.cc [modify] https://crrev.com/2d50a1b3b003d4a51a8f2ff4153d29a0273586eb/third_party/WebKit/LayoutTests/fast/mediastream/MediaStreamTrack-getSettings.html [modify] https://crrev.com/2d50a1b3b003d4a51a8f2ff4153d29a0273586eb/third_party/WebKit/Source/modules/mediastream/MediaStreamTrack.cpp [modify] https://crrev.com/2d50a1b3b003d4a51a8f2ff4153d29a0273586eb/third_party/WebKit/public/platform/WebMediaStreamTrack.h
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/786385548e85c79e9cbbeac3ac79d1837a49e326 commit 786385548e85c79e9cbbeac3ac79d1837a49e326 Author: Wu-Cheng Li <wuchengli@google.com> Date: Tue Jan 31 02:55:19 2017 Add FacingMode to the values returned from MediaStreamTrack.getSettings. Spec link: https://w3c.github.io/mediacapture-main/getusermedia.html#dom-mediatracksettings-facingmode Note on testing: Testing this properly at the JS API level requires the ability to insert fake devices with properties set by the test. That's too much for this CL. Once https://codereview.chromium.org/2609863004/ lands, this can be manually tested on Chromebooks. BUG= 617142 Review-Url: https://codereview.chromium.org/2590193002 Cr-Commit-Position: refs/heads/master@{#445022} (cherry picked from commit 2d50a1b3b003d4a51a8f2ff4153d29a0273586eb) Review-Url: https://codereview.chromium.org/2663143002 . Cr-Commit-Position: refs/branch-heads/2987@{#211} Cr-Branched-From: ad51088c0e8776e8dcd963dbe752c4035ba6dab6-refs/heads/master@{#444943} [modify] https://crrev.com/786385548e85c79e9cbbeac3ac79d1837a49e326/content/renderer/media/media_stream_video_track.cc [modify] https://crrev.com/786385548e85c79e9cbbeac3ac79d1837a49e326/content/renderer/media/media_stream_video_track_unittest.cc [modify] https://crrev.com/786385548e85c79e9cbbeac3ac79d1837a49e326/third_party/WebKit/LayoutTests/fast/mediastream/MediaStreamTrack-getSettings.html [modify] https://crrev.com/786385548e85c79e9cbbeac3ac79d1837a49e326/third_party/WebKit/Source/modules/mediastream/MediaStreamTrack.cpp [modify] https://crrev.com/786385548e85c79e9cbbeac3ac79d1837a49e326/third_party/WebKit/public/platform/WebMediaStreamTrack.h
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/4fb8fea42adb06710ff815dec59d1a812105f637 commit 4fb8fea42adb06710ff815dec59d1a812105f637 Author: hta <hta@chromium.org> Date: Mon Feb 06 13:03:06 2017 Get the device ID in getSettings() Gets the device ID (different from the track ID) in MediaStreamTrack.getSettings(). This used to be faked. BUG= 617142 Review-Url: https://codereview.chromium.org/2651353002 Cr-Commit-Position: refs/heads/master@{#448236} [modify] https://crrev.com/4fb8fea42adb06710ff815dec59d1a812105f637/third_party/WebKit/LayoutTests/fast/mediastream/MediaStreamTrack-getSettings.html [modify] https://crrev.com/4fb8fea42adb06710ff815dec59d1a812105f637/third_party/WebKit/Source/platform/mediastream/MediaStreamComponent.cpp [modify] https://crrev.com/4fb8fea42adb06710ff815dec59d1a812105f637/third_party/WebKit/Source/platform/mediastream/MediaStreamSource.cpp [modify] https://crrev.com/4fb8fea42adb06710ff815dec59d1a812105f637/third_party/WebKit/Source/platform/mediastream/MediaStreamSource.h [modify] https://crrev.com/4fb8fea42adb06710ff815dec59d1a812105f637/third_party/WebKit/public/platform/WebMediaStreamSource.h
Comment 1 by bugdroid1@chromium.org
, Jun 6 2016