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

[6.0.0-alpha.8] Black screen if you set "selectedVideoTrack={type: 'auto'}" twice #3244

Closed
hitman249 opened this issue Sep 18, 2023 · 9 comments
Assignees
Labels
Platform: Android triage needed Help needed to confirm the issue

Comments

@hitman249
Copy link

Bug

Black screen if you set "selectedVideoTrack={type: 'auto'}" twice

Platform

Which player are you experiencing the problem on:

  • Android

Environment info

Library version: 6.0.0-alpha.8
Device: Android STB

Reproducible sample code

constructor() {
  this.state.selectedVideoTrack = {type: 'auto'}; // init value
}

render() {
  return <Video selectedVideoTrack={this.state.selectedVideoTrack}/>;
}

...

setTimeout(() => {
  // change {type: 'auto'} to {type: 'auto'} -> broken video
  this.setState({selectedVideoTrack: {type: 'auto'}}); 
}, 10);
@wolfxpertlab
Copy link

wolfxpertlab commented Sep 26, 2023

please help me same issue here I am very stuck also get black screen in android

#3251 (comment)

@freeboub
Copy link
Collaborator

Ok, but your sample is not a real life sample...
This is a similar issue open (I cannot find it currently) when you refresh to rapidly the <Video the player stuck with a black screen. I suspect this is the same issue.
Can you clarify if this is happening if you increase the timer (10sec for exemple) and / or if it causes a player reload ?

@freeboub freeboub added Platform: Android triage needed Help needed to confirm the issue labels Sep 27, 2023
@wolfxpertlab
Copy link

In my application video is played in more than one screen one screen is in fullscreen and one screen is #3251 (comment) is from github plz help me how to play video smooth cam in android

I have not seen any timer used explain me

@wolfxpertlab
Copy link

any solution ?? video is black screen in android and not play smoothly how can I solved it please tell me information about this issue.

@freeboub
Copy link
Collaborator

@wolfxpertlab you should have a look to this discussion: #2984
But I think you will need to switch on V6.0.0-alpha to support the correct player release when video is outside of the screen

@wolfxpertlab
Copy link

wolfxpertlab commented Sep 30, 2023

Ok I will try to change which version use in alpha?

and exoplayer not work in alpha versions in android

@azuluaga-hu
Copy link

same error, black screen when video is in fullscreen

@azuluaga-hu
Copy link

i have same error in IOS, I fixed, I set controls false for IOS

@freeboub freeboub self-assigned this Jun 4, 2024
@freeboub
Copy link
Collaborator

freeboub commented Sep 9, 2024

Issue retested on 6.5.0, I don't reproduce it.
Let me know if this is still reproduced, let's close the ticket for now

@freeboub freeboub closed this as completed Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Platform: Android triage needed Help needed to confirm the issue
Projects
None yet
Development

No branches or pull requests

4 participants