ant-media / Ant-Media-Server

Ant Media Server is a live streaming engine software that provides adaptive, ultra low latency streaming by using WebRTC technology with ~0.5 seconds latency. Ant Media Server is auto-scalable and it can run on-premise or on-cloud.
https://antmedia.io
Other
4.23k stars 618 forks source link

[iOS]: Live stream video freezes on viewer side once after publisher switching the Camera #4926

Open safe4r opened 1 year ago

safe4r commented 1 year ago

Short description

Live streaming video got freezes to the last frame once after switching the camera from front to back or back to front.

Environment

Steps to reproduce

  1. Open iOS Ant media Reference app
  2. Enter websocket url, stream id, select publish and connect.
  3. After live streaming started, switch the camera.

Expected behavior

Live streaming should not freeze with last frame once after we switched the camera.

Actual behavior

Live streaming got freezes with last frame once after we switched the camera, even though the timer is running.

mekya commented 1 year ago

Added to the backlog to schedule.

sahiljain2497 commented 1 year ago

any update on this issue?

sahiljain2497 commented 1 year ago

We really need this to be resolved ASAP for our upcoming app.

Here is some additional information as well -

stream just stops sending video stream once the camera is switched whereas AMS panel still shows broadcasting maybe because rtc connection is still active.

here is a link to recorded video of stream - https://safe4r-antmedia.s3.amazonaws.com/streams/9RO4HDBlkVCQ1680809428562-2023-04-06_19-30-30.458_720p1500kbps.mp4

We switched the camera at around 10 seconds and video stream freezes even though audio is still there.

mekya commented 1 year ago

hi @sahiljain2497, We have not scheduled this issue yet because we've commitments to the paid support users and there is no space for this issue. We're scheduling these tasks here with our best.

If you want us to increase this issue's priority and fix it sooner, please contact@antmedia.io to get some paid support if we can provide it.

Nevertheless, I don't give promise, I can do my best to schedule it asap.

mekya commented 1 year ago

Hi @safe4r , There is a commit on the WebRTC iOS SDK to fix this issue. It's merged with the master branch.

Please try it and let me know if it works for you

Regards Oguz

safe4r commented 1 year ago

Hello Oguz, Thanks!.

Its works fine with the given fix.

Once again thanks for prioritising and fixing this.

mekya commented 1 year ago

It's my pleasure.

Thank you for creating the issue and for your follow-up.

Let me know if we can help further

Cheers