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.31k stars 637 forks source link

Fixed streamID not removed on leaving the page or refresh #4045

Open mhalahmadi opened 2 years ago

mhalahmadi commented 2 years ago

Environment

Steps to reproduce

  1. uncheck Accept Undefined Streams
  2. stream id is fixed not random ID
  3. multitrack stream

Expected behavior

Fixed streamID is not duplicate When joining the room the video and their name is showing And when leaving the room the Stream ID is removed

Actual behavior

After entering the room ( conference-room ) and refreshing the page the streamID is been duplicated and not removing the old one And after leaving the room the streamID is not removed also in rest API in URL /v2/broadcasts/{id} in subTrackStreamIds the streamID is duplicated

And it gives issue is the stream video not showing when the speaker joins the room and stream name is not appearing also when using this function getStreamName(streamId) the name appearing as Guest and after refresh the page the video started showing with the name of the speaker

mekya commented 2 years ago

Thank you for the issue @mhalahmadi

I'm moving to the backlog to schedule.

SelimEmre commented 2 years ago

Hi @mhalahmadi,

Have a good day. I couldn't reproduce this issue. Could you please give us more detail about this issue? Which page were you tested(conference.html or conference-room.html)? Please upgrade to the latest version (v2.4.3) so we can understand if the issue still persists or not?

Best Regards, Selim

SelimEmre commented 2 years ago

Hi @mhalahmadi,

Did you check my last message?

Best Regards, Selim