Giter VIP home page Giter VIP logo

react-hls's People

Contributors

mingxinstar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

react-hls's Issues

Doesn't work on mobile

Are you working on any wrapper for mobile devices? player seems not to work on mobile devices

"ref" Prop

Could you possible add a ref prop to this component? This way the video player can be controlled by custom play buttons as well.

Should support the poster attribute

It would be great to be able to pass the poster attribute:

<Video poster={props.item.videoStill}> <source src={props.item.videoUrl} /> </Video>

How to automatically start playing a freshly transmuxed/transcoded live stream in an already loaded React component?

Say if a user has my React website open and started streaming to an ingest URL via RTMP (through OBS, for instance) and then then RTMP ingest server uses FFMPEG to transmux/transcode the video into HLS or DASH, how could I go about automatically displaying this stream in the browser without them having to reload the page; preferably using this library?

I'm trying to wrap my head around this concept. In other words, the component is already loaded but it would need to refresh once a stream is received from the server. I don't know how I would make React listen for something like that.

I feel like WebSocket onMessage is the way to go, but when I'm looking at another app that does something similar they appear to be using a blog object/url as the video source. Anyways, wondering if anyone more familiar with streaming could offer some advice?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.