Chrome Release Bot (LUCI) 4762b62e7d Publish DEPS for 106.0.5249.13 1 year ago
..
browser 4762b62e7d Publish DEPS for 106.0.5249.13 1 year ago
mojom 4762b62e7d Publish DEPS for 106.0.5249.13 1 year ago
service 4762b62e7d Publish DEPS for 106.0.5249.13 1 year ago
BUILD.gn 4762b62e7d Publish DEPS for 106.0.5249.13 1 year ago
DEPS 4762b62e7d Publish DEPS for 106.0.5249.13 1 year ago
DIR_METADATA 4762b62e7d Publish DEPS for 106.0.5249.13 1 year ago
OWNERS 4762b62e7d Publish DEPS for 106.0.5249.13 1 year ago
README.md 4762b62e7d Publish DEPS for 106.0.5249.13 1 year ago

README.md

//components/mirroring

Service implementation and browser integration for Cast Mirroring.

The Mirroring Service is run in its own sandboxed process. It uses mojo message pipes between its process and the privileged browser process to:

  • acquire inputs, such as screen capture video or tab audio capture.
  • communicate with remote Cast devices using Cast Channel messaging. See ../cast_channel/.
  • open UDP network sockets for Cast Streaming packets.
  • switch between screen mirroring and content remoting modes.

The Service contains all session-management logic, and also interfaces with ../../media/cast/ to encode and packetize media in realtime.

Specification: TODO(jophba): Link to Cast Spec markdown.

Directory Breakdown

  • browser/ - Browser-side implementation. Also, more can be found in ../../chrome/browser/media/cast_mirroring_service_host.h and ../../chrome/browser/media/router/providers/cast/.

  • mojom/ - Mojo interfaces.

  • service/ - Mirroring Service implementation, as described above.