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
  • In case of HID, the voice is activated by command from host (this was our design choice).

    In case of AATV, the voice is activated by button press (as described AATV spec we used to develop this feature).

    ATVV Service is similar to our Voice over HoG Service in the sense that the Host decides when to start audio streaming.

     

    Pressing the mic button only sends an event message to the Android device. Android can then choose to start audio streaming by sending “mic open” command to the remote. 

    If Android does not send “Mic_open” command, SR3 will not send any audio data.

  • Hi, Haakonsh

    What is HoG Service?  

    The last two paragraphs look like HID service, I don't get it, because in my experience mic button doesn't send any event to Android device if remote's audio is in ATVV service, or receive data from Android device(info. from log).

    Otherwise,

    m_coms_ble_atvv: BLE_ATVV_EVT_MIC_OPEN is sending by the Host?

Reply Children
Related