Ant-Media-Server icon indicating copy to clipboard operation
Ant-Media-Server copied to clipboard

Android SDK Multitrack Conference Join-Rejoin Does Not Work Correctly

Open lastpeony opened this issue 2 years ago • 11 comments
trafficstars

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.

lastpeony avatar Oct 26 '23 10:10 lastpeony

@lastpeony Please update.. Any progress?

KavyashreeBasavesh avatar Oct 30 '23 06:10 KavyashreeBasavesh

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 [email protected] or [email protected]

Regards Oguz

mekya avatar Oct 30 '23 10:10 mekya

@mekya @lastpeony Please update the status

KavyashreeBasavesh avatar Nov 07 '23 05:11 KavyashreeBasavesh

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 [email protected]

Regards Oguz

mekya avatar Nov 13 '23 11:11 mekya

same issue is happening in WebRTC Android SDK when,

  • playing stream with webRTCClient.startStream(STREAM_ID)
  • stoping using webRTCClient.stopStream(STREAM_ID)
  • again starting stream.

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

arjeshvadadoriya4052 avatar Dec 01 '23 06:12 arjeshvadadoriya4052

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

lastpeony avatar Dec 06 '23 08:12 lastpeony

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: @.***>

KavyashreeBasavesh avatar Dec 12 '23 13:12 KavyashreeBasavesh

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

USAMAWIZARD avatar Dec 12 '23 13:12 USAMAWIZARD

@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

USAMAWIZARD avatar Dec 13 '23 19:12 USAMAWIZARD

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 avatar Dec 14 '23 10:12 KavyashreeBasavesh

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: @.***>

KavyashreeBasavesh avatar Dec 14 '23 18:12 KavyashreeBasavesh