This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Audio issue with ATVV service

Development environment:

Server : SR3v1.2 with nRF5x SDK v14.2  ,  Client : Android P set-top box

Hi, we use ATVV service on Android 9  and HID service on Android 7/8.


When we use the HID service,we select the voice assistant on the android homepage or Youtube voice button on Youtube page,
the remote's audio will be activated to start the voice feature.
The log will find that "m_coms_ble_evt_handler() in M_coms.c received M_COMS_BLE_EVT_DATA_RECEIVED.

But right now Android 9 only supports ATVV services.
We also press the voice command on the Android system homepage or youtube voice search on Youtube page.
The remote's audio cannot be activated.
Check the log lookup: m_coms_ble_evt_handler() doesn't receive M_COMS_BLE_EVT_DATA_RECEIVED.

Only when we press the microphone button pre-defined(CONFIG_KBD_ATVV_START_SEARCH_KEY_ID) on the remote can enable the audio.

However, Android requires device manufacturers to ensure that the microphone recording feature can be activated from an Android TV device, regardless of whether the voice button is pressed; many Android TV applications allow the user to trigger a voice search by navigating to an icon on the screen, then press SELECT.

Does ATVV support pressing the voice assistant or youtube voice search button on the android system homepage to start voice function?
How do we solve this problem?

Thanks

Parents Reply
  • So ATVV can't be activated by command from host(press the voice icon on screen)?

    Then the voice icon on Android P is basically useless, right?

    EDIT:

    Hi , I set key "OK" to CONFIG_KBD_ATVV_START_SEARCH_KEY_ID, so the problem seems solved because  m_coms_ble_atvv_start_search() and voice searching App could be activated at almost the same time when pressing OK key on the voice searching icon.

Children
No Data
Related