# Audio encode and decode events don't fire on mobile browser

**URL:** <https://devforum.zoom.us/t/audio-encode-and-decode-events-dont-fire-on-mobile-browser/80943>\
**Category:** Web\
**Created:** [January 3, 2023, 6:51am UTC](https://devforum.zoom.us/t/audio-encode-and-decode-events-dont-fire-on-mobile-browser/80943 "2023-01-03T06:51:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![thanh.huynh](https://avatars.discourse-cdn.com/v4/letter/t/74df32/32.png) [@thanh.huynh](https://devforum.zoom.us/u/thanh.huynh)\
**Post date:** [January 3, 2023, 6:51am UTC](https://devforum.zoom.us/t/audio-encode-and-decode-events-dont-fire-on-mobile-browser/80943/1 "2023-01-03T06:51:38Z")

</div>

Hello,

Today, I tested the 1.5.5 version again  
I downloaded the sample app  
I changed the /video path to VideoSingle:

```auto
<Route path="/video" component={VideoSingle} />

```

I log the payload in onMediaSDKChange:

```auto
const onMediaSDKChange = useCallback((payload) => {
  const { action, type, result } = payload;
  dispatch({ type: `${type}-${action}`, payload: result === 'success' });
  console.log(JSON.stringify(payload));
}, []);

```

I hosted the app on my domain  
I open the website in Chrome on Windows PC:  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/a/6/a6b3a6aa4ce5f8d261538aa4d0e73448a48d64a4.png)  
You see that we have the audio encode and decode events log

I open the website in Chrome on Android:  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/e/e/eea969cae05eedf4a99812496172872461cac65c.png)  
You see that we don’t have the audio encode and decode events log

---

<div class="post-metadata">

**Author:** ![freelancer.nak](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/freelancer.nak/32/40968_2.png) [@freelancer.nak](https://devforum.zoom.us/u/freelancer.nak)\
**Post date:** [January 3, 2023, 7:18am UTC](https://devforum.zoom.us/t/audio-encode-and-decode-events-dont-fire-on-mobile-browser/80943/2 "2023-01-03T07:18:21Z")

</div>

@thanh.huynh, Hi hope you will be fine.

> [@thanh.huynh](#):
>
> I open the website in Chrome on Android:

> [@thanh.huynh](#):
>
> Chrome on Android

Chrome Version 👆

---

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [January 3, 2023, 8:38am UTC](https://devforum.zoom.us/t/audio-encode-and-decode-events-dont-fire-on-mobile-browser/80943/3 "2023-01-03T08:38:54Z")

</div>

Hey @thanh.huynh

Thanks for your feedback.

On the mobile platform, we didn’t trigger the audio decoding/encoding events, and the audio payload of the `media-sdk-change` event only needs to be paid attention to on the **desktop Safari**.

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [February 2, 2023, 6:38pm UTC](https://devforum.zoom.us/t/audio-encode-and-decode-events-dont-fire-on-mobile-browser/80943/4 "2023-02-02T18:38:59Z")

</div>

Closed on February 2, 2023, 6:38pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
