# How to properly detect and fix remote video problems?

**URL:** <https://devforum.zoom.us/t/how-to-properly-detect-and-fix-remote-video-problems/138578>\
**Category:** Web\
**Tags:** video-sdk\
**Created:** [November 7, 2025, 9:54am UTC](https://devforum.zoom.us/t/how-to-properly-detect-and-fix-remote-video-problems/138578 "2025-11-07T09:54:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![klocuszek](https://avatars.discourse-cdn.com/v4/letter/k/ce7236/32.png) [@klocuszek](https://devforum.zoom.us/u/klocuszek)\
**Post date:** [November 7, 2025, 9:54am UTC](https://devforum.zoom.us/t/how-to-properly-detect-and-fix-remote-video-problems/138578/1 "2025-11-07T09:54:27Z")

</div>

**Description**  
It seems to me that situations where something goes wrong during a video call are inevitable. These could be issues with the user’s internet connection, problems with device permissions, the video feed being captured by another application, etc.

Then the stream inside the `<video>` tag is either black or transparent.

However, I would like to be able to respond to such problems and fix them. Some time ago I came up with the idea to check statistics from `getVideoStatisticData` (_VideoQosData_), but this isn’t a completely reliable method because it’s difficult to determine what parameters should have “healthy” values.

Then I thought that I could check the `VideoPlayer` object created by `attachVideo`, which contains a `<video>` tag inside, like this:

```auto
    const stream = videoElement.srcObject as MediaStream;
    const videoTracks = stream.getVideoTracks();

    // Check if we have active video tracks
    const hasActiveTracks = videoTracks.some(track => track.enabled && track.readyState === 'live' && !track.muted);

    // Check if video element has valid state and dimensions
    const hasValidState = videoElement.readyState >= 2 && videoElement.videoWidth > 0 && videoElement.videoHeight > 0;

```

But this probably isn’t a good idea either and doesn’t guarantee getting accurate information about the “health status” of the video tile.

So my question is: How to properly detect problems with video tiles and how to fix them?

**Which Web Video SDK version?**  
2.2.12.

WebRTC enabled (no SharedArrayBuffer).

---

<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:** [November 10, 2025, 2:54am UTC](https://devforum.zoom.us/t/how-to-properly-detect-and-fix-remote-video-problems/138578/2 "2025-11-10T02:54:35Z")

</div>

Hey @klocuszek

Thanks for your feedback.

The Video SDK Web provides the `active-media-failed` event, which is typically used to notify when a media-related issue occurs.

> **[Video SDK - web - Event handling](https://developers.zoom.us/docs/video-sdk/web/handle-events/#active-media-failed)**
>
> The Zoom Developer Platform is an open platform that allows third-party developers to build applications and integrations upon Zoom’s video-first unified communications platform.

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:** [November 10, 2026, 2:54am UTC](https://devforum.zoom.us/t/how-to-properly-detect-and-fix-remote-video-problems/138578/3 "2026-11-10T02:54:50Z")

</div>

Closed on November 10, 2026, 2:54am UTC

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