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

Player fails to load in Android #100

Closed
arthurgeron-work opened this issue Oct 13, 2022 · 2 comments
Closed

Player fails to load in Android #100

arthurgeron-work opened this issue Oct 13, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@arthurgeron-work
Copy link

Describe the bug
Video does not play on android, the player stays in a loading loop, each load it crashes and then starts again. It only received one quality instruction, but seems to try to change from a valid quality into nothing and then crash.

To reproduce
Using version 1.2.0, try loading the following URL in a react-native application: https://mobile.tradersclub.com.br/tcmediaapi/v1/file/hls/685d3dae-2f68-4f2f-be44-82a20f687716.m3u8
I'm not using expo

Expected behavior
Should play the stream correctly

Screenshots
If applicable, add screenshots to help explain your problem.

Device (please complete the following information):

  • Simulator or Real Device: Real Device
  • Device: Samsung a11
  • OS: One UI Core 3.1, Android 11

Debug logs

Qualities received from stream:
[{"bitrate": 5241789, "codecs": "avc1.640032,mp4a.40.2", "framerate": 0, "height": 2274, "name": "2274p", "width": 1280}]
On App Launch the following is logged:
Could not find generated setter for class com.amazonaws.ivs.reactnative.player.AmazonIvsViewManager
Could not find generated setter for class com.perrystreet.AwsIvsPlayerViewManager
image

When video tries to play it logs:

SS P1:
Captura de Tela 2022-10-13 às 13 27 03.
SS P2:
Captura de Tela 2022-10-13 às 13 25 22

@arthurgeron-work arthurgeron-work added the bug Something isn't working label Oct 13, 2022
@maxstoller
Copy link
Contributor

Please see my comment here: #99 (comment). It looks like the same root cause. Does this occur when you use IVS content? e.g. https://github.com/aws-samples/amazon-ivs-player-web-sample#test-streams

@arthurgeron-work
Copy link
Author

Indeed it's the exact same issue, I don't know what happened but it seems like the github API duplicated the issue. Sorry for that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants