# Need help getting equivalent of start/stop speaking events on Android

**URL:** <https://openvidu.discourse.group/t/need-help-getting-equivalent-of-start-stop-speaking-events-on-android/238>\
**Category:** Issues developing apps\
**Tags:** v2\
**Created:** [March 14, 2020, 11:57am UTC](https://openvidu.discourse.group/t/need-help-getting-equivalent-of-start-stop-speaking-events-on-android/238 "2020-03-14T11:57:08Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![kiran](https://avatars.discourse-cdn.com/v4/letter/k/13edae/32.png) [@kiran](https://openvidu.discourse.group/u/kiran)\
**Post date:** [March 14, 2020, 11:57am UTC](https://openvidu.discourse.group/t/need-help-getting-equivalent-of-start-stop-speaking-events-on-android/238/1 "2020-03-14T11:57:08Z")

</div>

Hello,

I’m using the Android-sample app from here: [https://github.com/OpenVidu/openvidu-tutorials/tree/master/openvidu-android](https://github.com/OpenVidu/openvidu-tutorials/tree/master/openvidu-android)

When testing it with a browser-based implementation, I noticed that whenever a remote participant starts speaking, we get a `publisherStartSpeaking` event on the browser. However, no such event/message is obtained on the websocket on the Android-app side.

Is there a way to identify this as well as the `publisherStopSpeaking` events on the Android-app?

Thanks,  
Kiran

---

<div class="post-metadata">

**Author:** ![pabloFuente](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/pablofuente/32/2536_2.png) [@pabloFuente](https://openvidu.discourse.group/u/pabloFuente)\
**Post date:** [March 14, 2020, 9:41pm UTC](https://openvidu.discourse.group/t/need-help-getting-equivalent-of-start-stop-speaking-events-on-android/238/2 "2020-03-14T21:41:26Z")

</div>

Hi,

Sorry, but speaking events are only available for browser-based platforms. That is because an NPM library is used upon standard Web API MediaStream object to trigger these events, which is not available in native Android.

Regards

---

<div class="post-metadata">

**Author:** ![tibinpaul](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/tibinpaul/32/104_2.png) [@tibinpaul](https://openvidu.discourse.group/u/tibinpaul)\
**Post date:** [March 15, 2020, 5:05am UTC](https://openvidu.discourse.group/t/need-help-getting-equivalent-of-start-stop-speaking-events-on-android/238/3 "2020-03-15T05:05:16Z")

</div>

Hey @pabloFuente - is it something we can expect in the future? Thanks.

---

<div class="post-metadata">

**Author:** ![pabloFuente](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/pablofuente/32/2536_2.png) [@pabloFuente](https://openvidu.discourse.group/u/pabloFuente)\
**Post date:** [March 15, 2020, 11:35am UTC](https://openvidu.discourse.group/t/need-help-getting-equivalent-of-start-stop-speaking-events-on-android/238/4 "2020-03-15T11:35:16Z")

</div>

Not in the near future. But take into account that the current openvidu-android has an advantage: as there’s no official OpenVidu Android client library, everything is done using native media Android API. So if there’s a way of achieving what you want in Android, it should be available to be implemented in your app. But the research process is something you will have to do, sorry. Speaking events for the native Android tutorial is not a priority right now.

Regards.

---

<div class="post-metadata">

**Author:** ![kiran](https://avatars.discourse-cdn.com/v4/letter/k/13edae/32.png) [@kiran](https://openvidu.discourse.group/u/kiran)\
**Post date:** [March 17, 2020, 5:59am UTC](https://openvidu.discourse.group/t/need-help-getting-equivalent-of-start-stop-speaking-events-on-android/238/5 "2020-03-17T05:59:53Z")

</div>

Hey @pabloFuente - Thanks for the response! Would you be able to point me to the actual library you mentioned or it’s source? I’d like to have a look at what/how it does the things & check if I can replicate that on Android side.

Thanks.

---

<div class="post-metadata">

**Author:** ![kiran](https://avatars.discourse-cdn.com/v4/letter/k/13edae/32.png) [@kiran](https://openvidu.discourse.group/u/kiran)\
**Post date:** [March 25, 2020, 9:57am UTC](https://openvidu.discourse.group/t/need-help-getting-equivalent-of-start-stop-speaking-events-on-android/238/6 "2020-03-25T09:57:20Z")

</div>

Having a look around at the sources on github, I think the library being used for this purposes is: [https://github.com/otalk/hark](https://github.com/otalk/hark)

Just thought of posting it here in case anyone else comes looking for it.
