commit | ea101331f4a7d3e8f4f5e10cca4266fe0cf252c1 | [log] [tgz] |
---|---|---|
author | John Williams <jrw@google.com> | Fri Jan 04 00:47:14 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Jan 04 00:47:14 2019 |
tree | 6e7e3128676448c2364d8b79da15d7730f369daf | |
parent | 20e755cb61ee8cf068fb314087fd8d85d8fc664a [diff] |
[Cast MRP] Implement RECEIVER_STATUS support. Forked from https://chromium-review.googlesource.com/c/chromium/src/+/1178225 This patch introduces CastSessionTracker, which is a singleton that listens for RECEIVER_STATUS messages and keeps track of CastSession object for each Cast MediaSink. It also exposes an Observer interface for CastActivityManagers to listen for session changes in order to update MediaRoutes. Also, added logic to terminate existing session (if any) when trying to launch a new session. Refactored launch parameters into a struct to keep the number of input params down. Bug: 809249 Change-Id: Ieb38e26d7b8191390f2fea5a8c41ea8955cbc352 Reviewed-on: https://chromium-review.googlesource.com/c/1297299 Commit-Queue: John Williams <jrw@chromium.org> Reviewed-by: mark a. foltz <mfoltz@chromium.org> Reviewed-by: Takumi Fujimoto <takumif@chromium.org> Cr-Commit-Position: refs/heads/master@{#619834}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .