Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Android] API 21 to API 25, video frames are not loaded until user perform button click (UI refresh) #355

Open
iaulakh opened this issue Aug 11, 2021 · 2 comments
Labels
ADO Linked This issue has an ADO Item on our ADO. Android Issues involving the Android SDK Bug Something isn't working Calling Issue involves Calling functionality.

Comments

@iaulakh
Copy link
Member

iaulakh commented Aug 11, 2021

Describe the bug
From API 26 to API 31 on call join if remote participant has video on then Android renders video properly. However, for devices with API 21 to 25, the video frames are not loaded on when video renderer view is loaded first time.

Video: video attached at https://skype.visualstudio.com/SPOOL/_workitems/edit/2542990

To Reproduce
Steps to reproduce the behavior:

  1. Launch device or emulator with API 21 to 30
  2. Start call with one remote participant with video on
  3. Join call from each device individually (end call on first device before joining from second)
  4. Issue: API 21 to 25 does not load video when video render view is attached to UI (same code is used for all devices)

Desktop (please complete the following information):**
com.azure.android:azure-communication-calling:1.2.0-beta.2

Smartphone (please complete the following information):

  • Device: API from 21 to 31
@iaulakh iaulakh added the Bug Something isn't working label Aug 11, 2021
@ghost ghost added the Needs: triage 🔍 label Aug 11, 2021
@kagbakpem
Copy link
Member

kagbakpem commented Aug 11, 2021

AB#2542990

@ghost ghost added the ADO Linked This issue has an ADO Item on our ADO. label Aug 11, 2021
@jsaurezlee-msft jsaurezlee-msft added Android Issues involving the Android SDK Calling Issue involves Calling functionality. labels Aug 12, 2021
@iaulakh
Copy link
Member Author

iaulakh commented Aug 13, 2021

The workaround on application side is to refresh UI after delay. If I reduce time then some video views will display or some not.

(container holding video views).postDelayed( {
            (container holding video views).invalidate()
        }, 5000)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ADO Linked This issue has an ADO Item on our ADO. Android Issues involving the Android SDK Bug Something isn't working Calling Issue involves Calling functionality.
Projects
None yet
Development

No branches or pull requests

3 participants