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 not responding when video is loading #29

Open
SergioPoq opened this issue Sep 11, 2024 · 6 comments
Open

Android not responding when video is loading #29

SergioPoq opened this issue Sep 11, 2024 · 6 comments

Comments

@SergioPoq
Copy link

When the video is loading, I get an ANR (Android is not responding). I am using version 1.3.2
Screenshot 2024-09-11 at 12 10 00

@zeyadsadaqa
Copy link
Collaborator

Hello Sergio!
Does this ANR also happen when you open the same video from the demo app?
If yes can you provide the showId

@SergioPoq
Copy link
Author

This is the show id PFBcAdyRXSa0B7N4meCg

@zeyadsadaqa
Copy link
Collaborator

I see no problem opening this video with the demo app, is this always happening when you integrate the SDK and try to open the LVSPlayerActivity?
Can you share what configuration you are initiating the SDK with?

@SergioPoq
Copy link
Author

This is my Configuration

Configuration(
    isEUServer =  false,
    showHighlightedProducts = true,
    showChat = true,
    showProductsOnEndCurtain = true,
    enablePictureInPicture = true,
    enableProductDetailsPage = false,
    showShoppingCart = false,
    showLikes = true,
    showNumberOfViewers = true,
)

The easiest way I found to replicate it is to open the video, reduce the connection type to something slower, such as EDGE, (you can do this on the emulator) and move the playback back and forward, the UI starts to go slower until something takes longer than 5 seconds.

To me it looks like some loading is happening on the UI thread

@zeyadsadaqa
Copy link
Collaborator

zeyadsadaqa commented Sep 23, 2024

It seems like an edge case could be related to our core media player libraries in emitting the change on the seek bar.
We might need to look at it deeply and address it.
Is it a blocker issue for your usecase?

@SergioPoq
Copy link
Author

No, this is not a blocker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants