2025년 3월 27일부터 AOSP를 빌드하고 기여하려면 aosp-main
대신 android-latest-release
를 사용하는 것이 좋습니다. 자세한 내용은 AOSP 변경사항을 참고하세요.
Cuttlefish: WebRTC 스트리밍
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
WebRTC 스트리밍을 사용하면 사용자가 클라이언트 시스템에 다른 소프트웨어를 설치하지 않고도 브라우저에서 Cuttlefish 가상 기기를 원격으로 제어할 수 있습니다. 이 외에 WebRTC 스트리밍의 장점은 다음과 같습니다.
- VNC보다 더 효율적인 인코딩
- 브라우저 내 ADB
- 확장 가능한 프로토콜(카메라 스트림, 마이크, 센서 데이터는 모두 WebRTC를 통해 가능)
WebRTC 사용
WebRTC를 사용하여 브라우저에서 Cuttlefish 기기와 상호작용하려면 다음 단계를 따르세요.
WebRTC를 사용하여 기기를 실행하려면 launch_cvd
호출에 --start_webrtc=true
플래그를 추가합니다.
launch_cvd --start_webrtc=true
연결할 수 있는 모든 기기의 목록을 보려면 브라우저에서 <https://localhost:8443>
로 이동합니다.
포트 사용량
WebRTC는 TCP:8443
외에도 다른 포트를 사용하여 연결을 설정하고 실행합니다.
Cuttlefish를 실행하는 시스템과 다른 시스템에서 연결하는 경우 방화벽에서 이러한 포트를 허용해야 합니다. 필요한 포트 목록은 다음과 같습니다.
TCP:15550..15599
UDP:15550..15599
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2025-07-27(UTC)
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-07-27(UTC)"],[],[],null,["# Cuttlefish: WebRTC streaming\n\nWebRTC streaming allows users to remotely control their Cuttlefish virtual\ndevices from their browsers, without having to install any other software in the\nclient machine. Other advantages of WebRTC streaming are:\n\n- More efficient encoding than VNC\n- In-browser ADB\n- Extensible protocol (camera stream, microphone, sensor data are all possible over WebRTC)\n\nUse WebRTC\n----------\n\nTo use WebRTC and interact with your Cuttlefish device in your browser, do the\nfollowing:\n\n1. To launch your devices using WebRTC, add the `--start_webrtc=true` flag to\n your `launch_cvd` invocation.\n\n ```\n launch_cvd --start_webrtc=true\n ```\n2. To see a list of all the devices you can connect to, point your browser to\n `\u003chttps://localhost:8443\u003e`.\n\n### Port usage\n\nBesides `TCP:8443`, WebRTC uses other ports to establish a connection and run.\nThese ports must be allowed on the firewall if connecting from a\ndifferent machine than where Cuttlefish is being executed. The list of ports\nneeded are:\n\n- `TCP:15550..15599`\n- `UDP:15550..15599`"]]