Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/video/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
React native 在React Native Expo移动应用程序中使用HLS m3u8实时流媒体_React Native_Video_Stream_Expo_Http Live Streaming - Fatal编程技术网

React native 在React Native Expo移动应用程序中使用HLS m3u8实时流媒体

React native 在React Native Expo移动应用程序中使用HLS m3u8实时流媒体,react-native,video,stream,expo,http-live-streaming,React Native,Video,Stream,Expo,Http Live Streaming,我需要在Expo react本机应用程序中显示实时流媒体视频。我试过expo视频,但如果我没有错的话,它只播放mp4视频而不是直播。我不想退出世博会。是否有世博图书馆或其他方式播放hls m2u8或rtmp直播 <Video source={{ uri: "http://videostream.teroair.com/hls/VIN1000201000001000/front/index.m3u8"}} rate={1.0} volu

我需要在Expo react本机应用程序中显示实时流媒体视频。我试过expo视频,但如果我没有错的话,它只播放mp4视频而不是直播。我不想退出世博会。是否有世博图书馆或其他方式播放hls m2u8或rtmp直播

<Video
      source={{ uri: "http://videostream.teroair.com/hls/VIN1000201000001000/front/index.m3u8"}}
      rate={1.0}
      volume={1.0}
      isMuted={false}
      resizeMode="cover"
      shouldPlay = {true}
      isLooping = {false}
      useNativeControls = {true}
      usePoster = {true}
      onError = {this.handleVideoPlayBackError}
      style={styles.backgroundVideo}
/> 


您找到解决问题的方法了吗?@Kob_24没有,我必须弹出expo并将该应用程序转换为react native cli,然后使用Nodemedia客户端进行流式处理。