1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
//! Streaming a browser.
//!
//! Owner: W12 (share a tab); W13 adds the headless browser on top of the
//! same capture script and WebSocket.
//!
//! - [`share`]: `tvpipe share`, the 127.0.0.1 page server and the input
//! the page's encoded H.264 and PCM feed.
//! - [`player`]: `--to browser` (W14), a receiver that plays the stream
//! in a browser tab (docs/player-protocol.md).
//! - [`protocol`]: the page's WebSocket messages (docs/share-protocol.md).
//! - [`headless`]: `tvpipe share URL` (W13), a browser of tvpipe's own
//! that shares its tab through the same capture script ([`launch`]
//! starts it, [`cdp`] drives a Chromium-based one over the DevTools
//! protocol, Firefox over WebDriver BiDi with [`bidi`]).
//! - [`screen`]: `tvpipe screen`, a browser of tvpipe's own that
//! captures a screen or a window with the computer's sound.
//! - [`fonts`]: the fonts of the share and player pages, compiled in.
//! - [`platform`]: opening a URL with the OS's opener and the browsers'
//! install paths (the one place with `cfg(target_os)` in this module,
//! like a config path).