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

Video Unavailable message shown over video playing #23

Open
esegebart opened this issue Oct 3, 2022 · 10 comments
Open

Video Unavailable message shown over video playing #23

esegebart opened this issue Oct 3, 2022 · 10 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@esegebart
Copy link
Contributor

Hello!

I have a thing going on when I play a live video it is saying "Video Unavailable" even though the video is playing behind it.

Live Video Image:
image

This is only on a live video though. I tested it on an archived video and it does not do it. I suspect something with the video object or maybe the time it takes to load the video?

Archived Video Image:
image

@LunatiqueCoder
Copy link
Owner

Hello @esegebart

Nice to see that you're progressing!

Unfortunately, I think this is a react-native-video issue.

onError={err => console.log(err)} should get you started.

@LunatiqueCoder
Copy link
Owner

LunatiqueCoder commented Oct 3, 2022

@esegebart Here are is a closed issue but without any solution :( I think it has something to do with the streaming or codecs, but I'm not that experienced in this area, but maybe if you provide a repo where the issue is reproducible, the people @react-native-video will be happy to help.

TheWidlarzGroup/react-native-video#930

@LunatiqueCoder
Copy link
Owner

@esegebart but if it works for you, we can find a solution for you this weekend to remove the error overlay.

@esegebart
Copy link
Contributor Author

@criszz77 I had found another one where they mentioned adding usesClearTextTraffic to the android manifest and that didn't work either. When I do the error log, I get

ERROR:  {"error": {"extra": 0, "what": -38}}

I looked up the error codes and could not find anything about -38. I don't know if I can make a repro project because there are not live streams all the time and I don't have access to their schedule. I will ask the react-native-video repo people and see what I can find. Thank you!

@LunatiqueCoder
Copy link
Owner

LunatiqueCoder commented Oct 4, 2022

@esegebart I can still make an update on the videoplayer so you can force hiding the error overlay if you want so. Shouldn’t that work for you?

@esegebart
Copy link
Contributor Author

@criszz77 oh I missed that part! Yes if you have time to do that, that would be amazing.

@esegebart
Copy link
Contributor Author

@criszz77 I am very excited to tell you the TV app will be fully released within the next month! :) I didn't know the best way to contact you so hopefully this reaches you. :) Everything is working beautifully and I want to try and make the slider bar accessible by remote to enable fast forwarding on TV like they do on Netflix, Youtube, etc :)

@LunatiqueCoder
Copy link
Owner

LunatiqueCoder commented Dec 5, 2022

Hey @esegebart ! I'm so happy to hear that! I will actually spend all my holidays working on open source and I'm planning a new version for Christmas! And I will start working on it from tomorrow probably, I have lots of holidays this December.

@LunatiqueCoder LunatiqueCoder moved this to Todo in 3.0.0 Dec 6, 2022
@esegebart
Copy link
Contributor Author

@criszz77 Well that sounds super exciting! I hope you have great holidays! I will be looking forward to your new version! :) We are hoping to support longer than 12 hour broadcasts and don't know if that is necessary to know for the scrubber bar. :) If you post some issues / enhancements, I have some time off at the end of the year and would love to take a look at them!

@LunatiqueCoder LunatiqueCoder moved this from Todo to In Progress in 3.0.0 Jan 14, 2023
@LunatiqueCoder LunatiqueCoder moved this from In Progress to Todo in 3.0.0 Jan 14, 2023
@LunatiqueCoder LunatiqueCoder added bug Something isn't working good first issue Good for newcomers labels Jan 15, 2023
@Yasir12598
Copy link

In my case I was using http://mydomain.com/myvideo.mp4 instead https. While it works only on https. On android it will work on htttp on development mode but will not work on release mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
Status: Todo
Development

No branches or pull requests

3 participants