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.29k stars 636 forks source link

Android SDK Multitrack Conference Join-Rejoin Does Not Work Correctly #5737

Closed lastpeony closed 8 months ago

lastpeony commented 1 year ago

In the Android SDK multitrack conference, when a participant joins and then subsequently leaves the conference, their video feed is not properly cleared; instead, it becomes frozen. Furthermore, when they rejoin the conference, their video feed does not appear correctly; it remains frozen.

The expected behavior in this scenario is as follows: When a user leaves the conference, their video feed should be cleared, and upon rejoining, their video feed should be added correctly, without remaining frozen.

This issue is being observed in AMS 2.7.0

User report: When user leaves the video conference call and rejoins, his video feed does not get displayed to other users. In this scenario, we checked in the Antmedia server as well, where we are able to see the player video but the same person not in the meeting room.

KavyashreeBasavesh commented 1 year ago

@lastpeony Please update.. Any progress?

mekya commented 1 year ago

hi @KavyashreeBasavesh,

We generally schedule issues according to priority, importance, and urgency. The pipeline is visible here https://github.com/orgs/ant-media/projects/3

We'll discuss whether this issue is scheduled for this week or not. If you want us to increase priority of any issue, you can reach out to contact@antmedia.io or support@antmedia.io

Regards Oguz

KavyashreeBasavesh commented 1 year ago

@mekya @lastpeony Please update the status

mekya commented 1 year ago

Hi @KavyashreeBasavesh,

There is no update. We have not space available to schedule this issue. It's going on priority basis and availability as you probably already know.

If you want some issues to be resolved with some time limitation, please reach out contact@antmedia.io

Regards Oguz

arjeshvadadoriya4052 commented 11 months ago

same issue is happening in WebRTC Android SDK when,

when stoping the stream the frame gets stuck, starting again stream stays stuck at that frame while logs shows that stream is successfully started.

lastpeony commented 11 months ago

Hi, There is a big refactor going on in android sdk and soon this problem will be also fixed.

KavyashreeBasavesh commented 11 months ago

Hi,

Didn't hear anything from your end. It's been 6days. Is there any progress?

On Wed, Dec 6, 2023 at 1:44 PM Last Peony @.***> wrote:

Hi, There is a big refactor going on in android sdk and soon this problem will be also fixed.

— Reply to this email directly, view it on GitHub https://github.com/ant-media/Ant-Media-Server/issues/5737#issuecomment-1842384811, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMRE2ZBZEGRVDUH4P6FMSALYIASOLAVCNFSM6AAAAAA6Q5LZ76VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBSGM4DIOBRGE . You are receiving this because you were mentioned.Message ID: @.***>

USAMAWIZARD commented 11 months ago

Still working on it I will update by the end of the this week.

USAMAWIZARD commented 11 months ago

@KavyashreeBasavesh I wanted to update you regarding the reported issues. Issues Reported :

  1. video feed is not properly cleared; instead, it becomes frozen : Fix
  2. When rejoin the conference, their video feed does not appear correctly; it remains frozen. Fix

I will be writing some test code for this and send a PR. Fix on this Branch : https://github.com/ant-media/WebRTC-Android-SDK/tree/fix-Renderer

KavyashreeBasavesh commented 11 months ago

Hi Usma,

Thanks for the update. Please do confirm, whether it will work foe iOS as well.

Regards, Kavya

On Thu, Dec 14, 2023 at 12:51 AM USAMA @.***> wrote:

@KavyashreeBasavesh https://github.com/KavyashreeBasavesh I wanted to update you regarding the reported issues. Issues Reported :

  1. video feed is not properly cleared; instead, it becomes frozen : Fix
  2. When rejoin the conference, their video feed does not appear correctly; it remains frozen. Fix

I will be writing some test code for this and send a PR. Fix on this Branch : https://github.com/ant-media/WebRTC-Android-SDK/tree/fix-Renderer

— Reply to this email directly, view it on GitHub https://github.com/ant-media/Ant-Media-Server/issues/5737#issuecomment-1854569079, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMRE2ZCDSUS3XFTFJRQ6LTDYJH52FAVCNFSM6AAAAAA6Q5LZ76VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJUGU3DSMBXHE . You are receiving this because you were mentioned.Message ID: @.***>

KavyashreeBasavesh commented 11 months ago

Hi Usma,

We have downloaded the same repository which you have shared with us. But, after using it, we are getting below error and the application is crashing.

FATAL EXCEPTION: Timer-0

                    Process: com.app.kiakandid, PID: 25858

                    java.lang.IllegalStateException: MediaStreamTrack

has been disposed.

                    at

org.webrtc.MediaStreamTrack.checkMediaStreamTrackExists(MediaStreamTrack.java:120)

                    at org.webrtc.MediaStreamTrack.id

(MediaStreamTrack.java:83)

                    at

io.antmedia.webrtcandroidframework.WebRTCClient$TrackCheckTask.run(WebRTCClient.java:477)

                    at java.util.TimerThread.mainLoop(Timer.java:563)

                    at java.util.TimerThread.run(Timer.java:513)

Critical error: An error occurred when sending the message via Data Channel Attempt to invoke virtual method 'boolean org.webrtc.DataChannel.send(org.webrtc.DataChannel$Buffer)' on a null object reference.

Regards, Kavya

On Thu, Dec 14, 2023 at 4:12 PM Kavyashree M. B. @.***> wrote:

Hi Usma,

Thanks for the update. Please do confirm, whether it will work foe iOS as well.

Regards, Kavya

On Thu, Dec 14, 2023 at 12:51 AM USAMA @.***> wrote:

@KavyashreeBasavesh https://github.com/KavyashreeBasavesh I wanted to update you regarding the reported issues. Issues Reported :

  1. video feed is not properly cleared; instead, it becomes frozen : Fix
  2. When rejoin the conference, their video feed does not appear correctly; it remains frozen. Fix

I will be writing some test code for this and send a PR. Fix on this Branch : https://github.com/ant-media/WebRTC-Android-SDK/tree/fix-Renderer

— Reply to this email directly, view it on GitHub https://github.com/ant-media/Ant-Media-Server/issues/5737#issuecomment-1854569079, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMRE2ZCDSUS3XFTFJRQ6LTDYJH52FAVCNFSM6AAAAAA6Q5LZ76VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJUGU3DSMBXHE . You are receiving this because you were mentioned.Message ID: @.***>