Cuttlefish: WebRTC streaming
Stay organized with collections
Save and categorize content based on your preferences.
WebRTC streaming allows users to remotely control their Cuttlefish virtual
devices from their browsers, without having to install any other software in the
client machine. Other advantages of WebRTC streaming are:
- More efficient encoding than VNC
- In-browser ADB
- Extensible protocol (camera stream, microphone, sensor data are all possible
over WebRTC)
Use WebRTC
To use WebRTC and interact with your Cuttlefish device in your browser, do the
following:
To launch your devices using WebRTC, add the --start_webrtc=true
flag to
your launch_cvd
invocation.
launch_cvd --start_webrtc=true
To see a list of all the devices you can connect to, point your browser to
<https://localhost:8443>
.
Port usage
Besides TCP:8443
, WebRTC uses other ports to establish a connection and run.
These ports must be allowed on the firewall if connecting from a
different machine than where Cuttlefish is being executed. The list of ports
needed are:
TCP:15550..15599
UDP:15550..15599
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-08-28 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2024-08-28 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-08-28 UTC."]]