Add support for resizeMode in MediaStreamTrack.getSettings()
This CL exposes the current resizeMode setting to the Web Platform. As of this CL, the resizeMode is 'none' if the track resolution corresponds to the native resolution of the video source, without any resolution adjustment. It is 'crop-and-rescale' if rescaling is necessary. The resizeMode currently cannot be set explicitly with getUserMedia() or applyConstraints(), but this functionality will be added in a follow-up CL. Drive-by: Add separate WPT tests for all getSettings() properties. Intent to Ship: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/V2srjdzRCXE Bug: 854980 Change-Id: Id4c683e6b2f228b17cf2354cb7fc589ca9e593a6 Reviewed-on: https://chromium-review.googlesource.com/c/1307448 Commit-Queue: Guido Urdaneta <guidou@chromium.org> Reviewed-by:Henrik Boström <hbos@chromium.org> Reviewed-by:
Philip Jägenstedt <foolip@chromium.org> Cr-Commit-Position: refs/heads/master@{#604562}
Showing
Please register or sign in to comment