The remote video becomes unavailable while subscribing the video

The remote video is initially available, but during the video subscription process, it becomes unavailable.

The SDK detects this change and throws an error.

This error is expected from SDK's perspective as the remote endpoint stops sending the video.

How to detect using the SDK

If the video becomes unavailable before the createView API finishes, the createView API throws an error.

error Details
code 404(Not Found)
subcode 43202
message Failed to start stream, stream became unavailable
resultCategories Expected

How to mitigate or resolve

Your applications should catch and handle this error thrown by the SDK gracefully, so end users know the failure is because the remote participant stops sending video.