I am using react-native-video and need to play MPEG/Dash files.
How can I pass the playlist file (.mpd) to the player?
Related
I am trying to make a radio streaming app using react native but it doesn't work.
I tried expo-av with Expo CLI, and react-native-radio-player, react-native-video from react native CLI
all of them work well with mp3 and mp4 extensions but don't work with m3u extension..
RadioPlayer.radioURL('https://radio.therockeg.com/clv_64.m3u');
I use https://icecast.org/ for the radio streaming, any help?
m3u is just a text format with a list of sources inside, you can read this data on your app side, extract sources and play it with any player you prefer.
is there a way to download hls and dash videos in react native so that they can be played offline ? I am trying to use react-native-fetch-blob it successfully downloads mp4 files but unable to download dash and hls. Also is there a way to hide the video files or encrypt them so that only the player can read them ?
I want to play m3u8 playlist from a folder. So i want that i will download a folder in the react native app. As the Folder will be downloaded then i can call .m3u8 file from that folder and it will play my video. So anybody can help me with a player that can do it.
I tried with
react-native-video
react-native-jw-media-player
But these 2 are not worked for me. So please let me know if anything helps in in this.
I am using react native and expo camera to build an app that can upload videos to my website. Everything works fine on Android but on newer iPhones it uploads a blank video that still has audio. I think this is because of the new iOS encoding method HEVC rather than the typical H264. Is there any way to force expo camera to encode in H264?
I am storing my videos in Firebase Storage. I want to give an option to play the videos i am retrieving from Firebase in a Third-Party player.
If you are using Expo, yes there is:
Expo is a free and open source toolchain built around React Native to help you build native iOS and Android projects using JavaScript and React - Expo Website
The Expo SDK, which include components and many more cool stuff, come built-in with create-react-native-app has the Video Component
It is a component that displays a video inline with the other React Native UI elements in your app. The display dimensions and position of the video on screen can be set using usual React Native styling.
You can use that to play the videos hosted on firebase