TheWidlarzGroup / react-native-video

A <Video /> component for react-native
https://docs.thewidlarzgroup.com/react-native-video/
MIT License
7.2k stars 2.9k forks source link

HLS not working #1990

Closed boringstuff-dev closed 4 years ago

boringstuff-dev commented 4 years ago

Bug

installation method with jetifier I'm using the latest version of react-native-video

Platform

Which player are you experiencing the problem on:

Environment info

React native info output:

System:
    OS: Windows 10 10.0.18363
    CPU: (8) x64 Intel(R) Core(TM) i7-2700K CPU @ 3.50GHz
    Memory: 1.39 GB / 7.97 GB
  Binaries:
    Node: 13.12.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.13.0 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
    npm: 6.14.4 - C:\Program Files\nodejs\npm.CMD
    Watchman: Not Found
  SDKs:
    Android SDK: Not Found
  IDEs:
    Android Studio: Version  3.6.0.0 AI-192.7142.36.36.6392135
  Languages:
    Java: javac 12
    Python: 3.7.2
  npmPackages:
    @react-native-community/cli: Not Found
    react: 16.11.0 => 16.11.0
    react-native: 0.62.2 => 0.62.2

Steps To Reproduce

import Video from 'react-native-video'; <View style={{ flex: 1}}> <Video source={{uri: ' https://stream.mux.com/### ', type:"m3u8"}} // THIS IS NOT WORKING source={{uri: ' https://cdn3.wowza.com/##/hls/live/playlist.m3u8 ', type:"m3u8"}} // THIS IS NOT WORKING // source={require('../../assets/test.mp4')} // THIS IS WORKING resizeMode="cover" onError={console.log('ERROR LOADING')} style={{ position: 'absolute', top: 0, left: 0, bottom: 0, right: 0 }} />

WHAT I HAVE ALREADY DONE AFTER THE INSTALLATION:

// include ':react-native-video' // project(':react-native-video').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-video/android-exoplayer')

Expected behaviour

  1. Reproduce correctly from the HLS source

Any idea of what i'm missing or if there are others steps to do? Thanks

karanpratapsingh commented 4 years ago

@Gollum97 Hey did it work? I am also trying this with MUX

jocelNardi commented 3 years ago

@boringstuff-dev , did it work ?

scottschindler commented 3 years ago

Hey @boringstuff-dev @karanpratapsingh @jocelNardi same problem. Any luck with a fix?