LunatiqueCoder / react-native-media-console

A React Native video player. Built with TypeScript ❤️
MIT License
204 stars 30 forks source link

Video Unavailable message shown over video playing #23

Open esegebart opened 2 years ago

esegebart commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

@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.

https://github.com/react-native-video/react-native-video/issues/930

LunatiqueCoder commented 2 years ago

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

esegebart commented 2 years ago

@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 commented 2 years ago

@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 commented 2 years ago

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

esegebart commented 1 year ago

@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 commented 1 year ago

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.

esegebart commented 1 year ago

@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!

Yasir12598 commented 3 days ago

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.