mingxinstar / react-hls Goto Github PK
View Code? Open in Web Editor NEWsimple react component for playing hls/rtmp live stream
simple react component for playing hls/rtmp live stream
Hi, I could not set loop="true" to make the video loop through. How should I achieve this? Thanks.
I try to play rtmp stream in my project,this component is well with m3u8 stream.can this component support rtmp stream as well?
Are you working on any wrapper for mobile devices? player seems not to work on mobile devices
I am facing a CORS error when I start streaming Url. I just confused about how to remove the problem. Can you please help over the problem?
Could you possible add a ref prop to this component? This way the video player can be controlled by custom play buttons as well.
It would be great to be able to pass the poster attribute:
<Video poster={props.item.videoStill}> <source src={props.item.videoUrl} /> </Video>
Hi, is this able to start play from javascript and not from user click? I want to fire play when someone click on a external button
when i setState the hls player will reload cause flicker
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.