mirror of
https://github.com/Droid-VM/crosvm.git
synced 2026-11-17 06:58:03 +00:00
A screen (gpu-0 or the simplefb console) is served over plain HTTP (the viewer page, the offer/answer exchange) and WebRTC (libdatachannel, vendored in third_party/libdatachannel), encoded by MediaCodec: H.264, and H.265 next to it with codec=auto; bitrate= sets the fixed rate and REMB's ceiling, adapt= whether REMB may lower it; the cursor is a separate plane. Remote input uses the same per-screen tablet and keyboard as VNC (only one of the two per screen). The encoder (video_encoder.rs) is shared with the VNC H.264 path, which loses its own copy. Feature "webrtc" (Android builds).
360 lines
8.7 KiB
360 lines
8.7 KiB