Use DesktopStreamsRegistry for both desktopCapture and tabCapture to register streams |
|||
Issue descriptionFor easily accessing the content of the current tab and share/record together with mic or camera data. Proposal: https://docs.google.com/document/d/1YWFmFJaN-bbAxh01JP5qczERW9vda62vLInO32WvCM8/edit?ts=5ac7ebd8#heading=h.uojtbfpulw5q
,
Jul 24
This is also necessary for the proposed tabCapture.getMediaStreamId() method.
,
Aug 7
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/a01798febbb4b5d7f0bb1f4d1c9515c3218a8a93 commit a01798febbb4b5d7f0bb1f4d1c9515c3218a8a93 Author: Weiyong Yao <braveyao@chromium.org> Date: Tue Aug 07 03:04:54 2018 Add stream type to DesktopStreamsRegistry APIs As we're going to use DesktopStreamRegistry for both desktopCapture and tabCapture registry, it's important to let getUserMedia() to be called with corresponding source type, 'desktop' or 'tab', which will lead to different UI indicator. This cl is to add the source type at adding/verifying request to the registry. Bug: 831722 Change-Id: If53022ec35c3c3b7993e41149e381b96b3e48877 Reviewed-on: https://chromium-review.googlesource.com/1149192 Reviewed-by: Avi Drissman <avi@chromium.org> Reviewed-by: Yuri Wiitala <miu@chromium.org> Commit-Queue: Weiyong Yao <braveyao@chromium.org> Cr-Commit-Position: refs/heads/master@{#581108} [modify] https://crrev.com/a01798febbb4b5d7f0bb1f4d1c9515c3218a8a93/chrome/browser/extensions/api/desktop_capture/desktop_capture_base.cc [modify] https://crrev.com/a01798febbb4b5d7f0bb1f4d1c9515c3218a8a93/chrome/browser/extensions/api/tab_capture/tab_capture_registry.cc [modify] https://crrev.com/a01798febbb4b5d7f0bb1f4d1c9515c3218a8a93/chrome/browser/media/webrtc/desktop_capture_access_handler.cc [modify] https://crrev.com/a01798febbb4b5d7f0bb1f4d1c9515c3218a8a93/content/browser/media/capture/desktop_streams_registry_impl.cc [modify] https://crrev.com/a01798febbb4b5d7f0bb1f4d1c9515c3218a8a93/content/browser/media/capture/desktop_streams_registry_impl.h [modify] https://crrev.com/a01798febbb4b5d7f0bb1f4d1c9515c3218a8a93/content/browser/renderer_host/media/media_stream_manager.cc [modify] https://crrev.com/a01798febbb4b5d7f0bb1f4d1c9515c3218a8a93/content/public/browser/desktop_streams_registry.h
,
Aug 27
Is this finished?
,
Aug 27
|
|||
►
Sign in to add a comment |
|||
Comment 1 by bugdroid1@chromium.org
, Jul 20