Forum Discussion

2 Replies

  • Hello there AT.Test!

    Good question, the casting feature needs to be initialized directly within your headset, and is not able to be triggered remotely or with code. If you'd like to access a device's video and audio remotely, then yes you'd need to implement the MediaProjection API. Users will then need to give explicit consent every time the app requests access to the API. 

    Hope you found this helpful, and please let me know if you need any help implementing that API!

    -G

  • Thanks for the answer. We will look more into the MediaProjection API as this would better suits our use case.

    Cheers

→ Find helpful resources to begin your development journey in Getting Started

→ Get the latest information about HorizonOS development in News & Announcements.

→ Access Start program mentor videos and share knowledge, tutorials, and videos in Community Resources.

→ Get support or provide help in Questions & Discussions.

→ Show off your work in What I’m Building to get feedback and find playtesters.

→ Looking for documentation?  Developer Docs

→ Looking for account support?  Support Center

→ Looking for the previous forum?  Forum Archive

→ Looking to join the Start program? Apply here.

 

Recent Discussions