I'm using react-native-video for steaming hls url. It works fine with box react-native run-android but after building a bundleRelease the live streaming video is not playing
Asked
Active
Viewed 6,423 times
4
-
which version you use? – Mohammad Mas Sep 08 '20 at 11:05
-
Yes, you can find it in the docs here. [https://github.com/react-native-community/react-native-video](https://github.com/react-native-community/react-native-video) It is the latest version I don't know abut old versions. – Muhammad Muzammil Sep 28 '20 at 13:42
-
hey man, did you able to solve this problem ? – isa_toltar Jun 22 '21 at 10:21
1 Answers
-8
simple answer is yes ! this package will help you ! first install it using
sudo npm -g i react-hls-player
in your project import the package using
import React from 'react';
import ReactDOM from 'react-dom';
import ReactHlsPlayer from 'react-hls-player';
then render it
ReactDOM.render(
<ReactHlsPlayer
src="https://bitdash-a.akamaihd.net/content/sintel/hls/playlist.m3u8"
hlsConfig={{
maxLoadingDelay: 4,
minAutoBitrate: 0,
lowLatencyMode: true,
}}
/>,
document.getElementById('app')
);
dirt simple !

Elhadede
- 9
- 4