cancel
Showing results for 
Search instead for 
Did you mean: 
Replies are disabled for this topic. Start a new one or visit our Help Center.

Integrate gtvs to Android TV,but why chromecast built-in not work

JInlong
Community Member

We tried to verify the chromecast functionality on the Android TV development board with gtvs enabled.

At present, we can search our chromecast device on YouTube app(Phone) and Chrome browser (PC), but can't connect or cast.

When searching with Chrome browser, the browser displays: "Applicable for specific video sites", and cannot be selected.

There have some errors related to “MAC Address”, “bootid”, “ClientAuthCreds”, “Widevine UUID unsupported”, etc.

But I'm not sure what the problem is.

So I hope some one can help analyze the causes of the problem and give solutions

 

Here are error logs:

10-22 07:01:59.089 3975 3975 E chromium: [3975:3975:ERROR:device_info_impl.cc(417)] Cannot get MAC address.

10-22 07:01:59.091 3975 3975 E chromium: [3975:3975:ERROR:device_info_impl.cc(143)] Cannot read file: /data/bootid

10-22 07:01:59.107 3975 4076 E chromium: [3975:4076:ERROR:socket_posix.cc(148)] bind() failed: Address already in use (98)
10-22 07:01:59.107 3975 4076 E chromium: [3975:4076:ERROR:tcp_listener.cc(63)] Listen failed: net::ERR_ADDRESS_IN_USE : 0.0.0.0:10101
10-22 07:01:59.107 3975 4076 E chromium: [3975:4076:ERROR:directory_service_impl.cc(210)] TCP listener error: -1

10-22 07:01:59.254 3975 3975 E chromium: [3975:3975:ERROR:grpc_manager_impl.cc(264)] Could not start Grpc server.

10-22 07:01:59.279 3975 3975 E chromium: [3975:3975:ERROR:timezone_settings.cc(198)] Got an empty string for timezone, default to 'America/New_York

10-22 07:01:59.429 3975 3975 W chromium: [3975:3975:WARNING:cast_crypto_keys_openssl_shlib.cc(69)] No valid ESN read.
10-22 07:01:59.429 3975 3975 W chromium: [3975:3975:WARNING:cast_crypto_keys_openssl_shlib.cc(82)] Invalid or no DKE value read.
10-22 07:01:59.429 3975 3975 W chromium: [3975:3975:WARNING:cast_crypto_keys_openssl_shlib.cc(94)] Invalid or no DKH value read.
10-22 07:01:59.429 3975 3975 W chromium: [3975:3975:WARNING:cast_crypto_keys_openssl_shlib.cc(150)] Invalid or no DKW value read/computed.
...
10-22 07:01:59.481 3975 3975 E chromium: [3975:3975:ERROR:jni_client_auth_creds_mediadrm.cc(284)] certs_ref is null
10-22 07:01:59.481 3975 3975 E chromium: [3975:3975:ERROR:client_auth_creds.cc(215)] Empty certs string.
10-22 07:01:59.481 3975 3975 E chromium: [3975:3975:ERROR:client_auth_signer.cc(144)] Failed to get key and cert from ClientAuthCreds.
10-22 07:01:59.481 3975 3975 W chromium: [3975:3975:WARNING:client_auth_manager.cc(115)] Certificate is empty. Do not store.

10-22 07:01:59.548 3975 4173 E cr_ClientAuthRawSigner: Widevine UUID unsupported.
10-22 07:01:59.548 3975 4173 E cr_ClientAuthRawSigner: android.media.UnsupportedSchemeException: Failed to instantiate drm object.
10-22 07:01:59.548 3975 4173 E cr_ClientAuthRawSigner: at android.media.MediaDrm.native_setup(Native Method)
...
10-22 07:01:59.644 3975 4168 E chromium: [3975:4168:ERROR:socket_posix.cc(148)] bind() failed: Address already in use (98)
10-22 07:02:01.945 3975 4170 E chromium: [3975:4170:ERROR:v2_ssl_socket.cc(435)] Message exceeds maximum length. Closing this socket: id=c211ef60-9816-0baf-89ba-e267d624f17c.1, len=369295616
...
10-22 07:02:03.072 3975 3975 E chromium: [3975:3975:ERROR:cert_util.cc(168)] Certs missing,
10-22 07:02:03.073 3975 3975 E chromium: [3975:3975:ERROR:client_auth_signer.cc(198)] Cast certificate verification: CastCertError::ERR_CERTS_MISSING
10-22 07:02:03.073 3975 3975 E chromium: [3975:3975:ERROR:cast_auth_headers.cc(170)] Unable to update signature header
10-22 07:02:03.800 3975 3975 E cr_ChromecastConfigAndroid: UsageReporting query failed
10-22 07:02:04.166 3975 3975 E chromium: [3975:3975:ERROR:modular_update_manager_impl.cc(346)] No modular updater app ID can be found in device config.
10-22 07:02:03.219 3975 4170 W chromium: [3975:4170:WARNING:client_auth_signer.cc(161)] No private key, hence empty signature.
10-22 07:02:04.211 3975 3975 W chromium: [3975:3975:WARNING:ccs_manager_impl.cc(1432)] Device does not have a weave device id
10-22 07:02:04.286 3975 3975 E chromium: [3975:3975:ERROR:cast_auth_headers.cc(170)] Unable to update signature header
10-22 07:02:04.287 3975 3975 E chromium: [3975:3975:ERROR:apk_audio_service_impl.cc(65)] kEnableAndroidTVC2NMultizone is not enabled.
10-22 07:02:04.295 3975 3975 E chromium: [3975:3975:ERROR:cast_auth_headers.cc(170)] Unable to update signature header
10-22 07:02:04.302 3975 3975 E chromium: [3975:3975:ERROR:media_classifier_manager.cc(89)] No mixer control available
...
10-22 07:02:04.797 2832 3671 E LoadCastServiceInfoTask: error parsing cast info Json {"device_info":{"4k_blocked":0,"capabilities":{"audio_hdr_supported":false,"audio_surround_mode_supported":false,"cast_connect_supported":true,"cloudcast_supported":true,"display_supported":true,"fdr_supported":false,"hdmi_prefer_50hz_supported":false,"hdmi_prefer_high_fps_supported":false,"hotspot_supported":false,"https_setup_supported":true,"keep_hotspot_until_connected_supported":true,"opencast_supported":false,"reboot_supported":false,"renaming_supported":true,"set_group_audio_delay_supported":true,"setup_supported":false,"stats_supported":false,"system_sound_effects_supported":false,"wifi_auto_save_supported":true,"wifi_supported":false},"cloud_device_id":"A9537A60009AFD6498AE5F6A260E6006","factory_country_code":"","hotspot_bssid":"FA:8F:DC:E6:9D:6A","mac_address":"00:00:00:00:00:00","manufacturer":"Eswin","model_name":"ld60_isdb","product_name":"ld60_isdb","public_key":"MIIBCgKCAQEAr5T+lOj4YZ2w5K9Y9Aq4jtZMvYlEHaBAeGE6vXIwSZnyAXJQIorg3b12lhX9+IIH+HOOg6bKZBoJtJWXteJ4fQagZYuLIs6L4hlvkZZWogsuzGspLggBbPBSQSmuV0xLu6lVdckuMFtl\/ZmJ1U6S5Gm\/YYUK+P44FlfwzktglgbJJOalE3FCRZDkiuXSDqcUuwVV\/ur2H5HR3v\/wuDChHI6L9JEoewSq1bxrlf0ojhmke18BATlYqhu3bBxbc2nbdJhopGDdlx02TFr7M0jcC9gHMT87J7BN8QVkAhcHiBD6OWAbkhvkx1bejt\/mqS5zXk3gT6rgfwZOVGAUs+9bnwIDAQAB","ssdp_udn":"c211ef60-9816-0baf-89ba-e267d624f17c","uma_client_id":"aa684f41-5aec-4d4f-8d9d-226cb5cc30d8","uptime":48.183397,"weave_device_id":""}}
10-22 07:02:04.797 2832 3671 E LoadCastServiceInfoTask: org.json.JSONException: No value for sign
...
10-22 07:02:04.798 2832 3671 W LoadCastServiceInfoTask: Failed to get cast id and certificate from cast service.

 

 

0 REPLIES 0