Chromecast Server Development

I want to create a Chromecast server written in C ++ using the Nokia QT5 platform. SSDP and HTTP work, I can switch and play movies on YouTube through the Android YouTube application, but the Chrome Browser extension, the Android RemoteCast application, the Chromecast setup tool for Windows and the Google Music application on Android cannot find my server. Both applications find my Server, get a description of the xml description of the device, but nothing happens. The Chrome browser extension successfully launches the application path ("/ apps / Chromecast"), it returns the desired JSON string in response to the request, but after that the remote URL says that I need the recipient ID.

Can someone help me?

I need a description of the working device and answers to the following questions:

  • What is the UUID for, sent by the USN header and sent by the device description?
  • SHOULD be another UUID sent by response headers and device description?
  • What β€œdialing” services in the device description are needed? β†’ both descriptions from CheapCast and LeapCast do not work to find my virtual device.

Thank you all for your help or attempt to do something :)

EDIT

UUID is some kind of nonsense, it seems that the device is never used: D DIAL services are still working, the device is now accessible using the ChromeCast browser extension and the Android application for YouTube :)

+4
source share

Source: https://habr.com/ru/post/1500351/


All Articles