Set tab_id when initiating mirroring from a Cast SDK site
A tab mirroring source from a Cast SDK enabled website (e.g. Google Slides) uses the mirroring app ID rather than the tab mirroring URN. We need to set the tab ID in CreateRoute() for those cases. An alternative way to do this would be making IsTabMirroringSource() return true for those cases, but there's code that assumes support for the audio mirroring app (separate ID from the mirroring app) if IsTabMirroringSource() is true, which wouldn't make sense given the app ID would not be the same as one specified. Bug: 1047788 Change-Id: I100ccbd881854ddbae33b94474761a816061573c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2033926Reviewed-by:Brandon Tolsch <btolsch@chromium.org> Commit-Queue: Takumi Fujimoto <takumif@chromium.org> Cr-Commit-Position: refs/heads/master@{#738203}
Showing
Please register or sign in to comment