devcshort / react-hls

Simple React component for playing hls/rtmp live streams.
https://www.npmjs.com/package/react-hls-player
MIT License
118 stars 48 forks source link

Error safari mobile does not work #17

Closed andreshenao206 closed 3 years ago

andreshenao206 commented 3 years ago

Hi, I am using react htl player and it works perfect in browsers, but in safari mobile it doesn't, I can't find the error, they know it may be the error.

 <ReactHlsPlayer
            url={this.state.video}
            autoplay={true}
            controls={true}
            width="100%"
            height="80%"
            className="playerppal"
            hlsConfig={{
              liveDurationInfinity:false,
              forceVideo: true,
              autoStartLoad: true,
              startPosition: -1,
              debug: false,
            }}
          />

Thank you

devcshort commented 3 years ago

@andreshenao206 currently iOS browsers do not work. Unfortunately it doesn't support the APIs that are in use by the underlying hls.js package. I'd like to get iOS support working, but at the current time, I don't have the extra time to add this functionality.

This is referenced in #13

andreshenao206 commented 3 years ago

Ok thanks