0

Is there a way to fetch an RTMP live video stream to a simple browser created on REACT?. I have tried various methods including the one with Video.js. But I get an error like "No compatible sources found for this media" and some other times the player is stuck in a kind of buffering situation with no data. I just need the data from the RTMP link to be like in a simple video player. Any Solutions? Thank You.

1 Answers1

0

It's not able to play RTMP on REACT H5 video player, you need a media server to covert to HTTP-FLV/HLS/WebRTC, please read this post.

These protocols introduce different lagging, HTTP-FLV is most likely RTMP about 1~3s latency, while HLS is about 5~10s, and WebRTC is the most realtime about 0.6~1s.

Winlin
  • 1,136
  • 6
  • 25