Open bhumikash-tech opened 2 years ago
For m3u8 CORS should be enabled on the origin server. Please check this once.
I am also facing the same issue but CORS is enabled on the streaming server. If CORS was enabled on your server have you managed to solve this?
I also had faced similar issue in past with m3u8 files. First thing you should check if the CORS are enabled on your server.
Second, To support m3u8 files casting we need Custom Receiver. while creating application on your Google cast SDK developer console create custom receiver and add your custom Web Receiver Application URL.
You can try this also. - https://googleads.github.io/googleads-ima-cast/client_receiver/player.html
If you need further customization you can create your own and use.
HOPE THIS SOLVE YOUR PROBLEM
I am successfully able to cast mp4 files to TV through my sender app but got a issue while casting m3u8 and ts video files. Please help me out.