Google Chromecast Android SDK: RemoteMediaPlayer Load() returns Service_Missing error -


I am trying to stream hls (adaptive streams) with google-cast sdk. The sample big_buck_bunny is used with sample links when the integration works fine but the load () command fails when we provide a live url. This returns the following error: {statusCode = SERVICE_MISSING, resolution = null}. We have google_play_store installed on the device. Apart from this, the COORs are supported and we also provide related content types. We are using a sample of Cutome_receiver which works well with sample links. The registration process is also completed properly Any help would be highly appreciated.

Finally it can be resolved. I am posting a reply here if it can help someone. We have done a lot of research that in order to stream the URL in our case, we have to explicitly provide the domain at the core: for example CORS header: CORS Normally we provide the original header when adding support

access-control-permission-origin: *

Which means that the resource is any Even by a cross- The Bright could be removed from access.

But due to the streaming CDN which prohibits the source of the video from a particular domain, we could not access it from the setting above. For the domain name where the videos were hosted, we could finally stream the video by changing the original name in the CORS header. EX: If the resource owner only wishes to restrict access to resources, they will return:

Access-control-permission-origin:

In the CORS header

This may not be the case in all scenarios, but it was in our case.

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -