Azure / Communication

Azure Communication Services - SDKs and Release Notes
MIT License
320 stars 99 forks source link

[Android] Calling SDK - Upon re-entering the conference , I can see multiple instances of my previous one #403

Closed bogdanmunteanu closed 2 years ago

bogdanmunteanu commented 3 years ago

Describe the bug When I force close the app , the conference closes (there is no leftover stream remaining). However , when I try to enter again in the same room , there is another participant and my session from last time has remained as a frozen frame.

To Reproduce Steps to reproduce the behavior:

  1. Create a conference in Teams on Windows
  2. Join with Teams SDK 1.2.1-beta1
  3. Force close the Android app
  4. Rejoin the same conference
  5. Notice that in the conference is present another participant , which is a freeze frame from your last session

Expected behavior Upon exiting the conference , there should be no remains of my presence there.

Screenshots image_2021_10_20T14_32_41_888Z

Desktop (please complete the following information):

Smartphone (please complete the following information):

mariusu-msft commented 2 years ago

Hi,

This is currently expected. As the stack tries to determine if the endpoint has dropped, there is a 2-3 minute timeout until you may see stale participants.

We are looking for long-term options to improve developer experience here, but right now the experience is expected.

To alleviate some of these side effects - please check if you can dispose of the stack upon application exit, so the server does not go into media timeout detection.

Thanks, Marius

bogdanmunteanu commented 2 years ago

Tested and fixed with Calling SDK 1.3.0-beta1 .Closed.