rtsp-stream VS hls.js

Compare rtsp-stream vs hls.js and see what are their differences.

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
rtsp-stream hls.js
2 26
686 14,175
- 1.6%
0.0 9.9
over 1 year ago 3 days ago
Go TypeScript
MIT License GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

rtsp-stream

Posts with mentions or reviews of rtsp-stream. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-07-28.
  • How to get .m3u8 of my reolink camera?
    1 project | /r/reolinkcam | 12 Mar 2023
    The last option and most complex is to run a software on a computer at home that converts from RTSP to HLS. This is the most complex option and will probably add some delay to the video stream.https://girishjoshi.io/post/ffmpeg-rtsp-to-hls/https://github.com/Roverr/rtsp-stream
  • How can i display RTSP live stream directly in our react js web application
    2 projects | /r/reactjs | 28 Jul 2021
    We ran into the same issue at our company a while ago. We solved it by converting RTSP to HLS with https://github.com/Roverr/rtsp-stream, and using https://github.com/video-dev/hls.js/ to stream the video in the web app.

hls.js

Posts with mentions or reviews of hls.js. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-16.
  • Show HN: Caltrans CCTV
    1 project | news.ycombinator.com | 14 Mar 2024
    Good point; there's only a single server handling all the requests so things can be a bit slow depending on the time of day. And there are browser limits to the number of concurrent connections.

    Apple browsers with native HLS support are better than those without as well. Other browsers need to load everything via https://github.com/video-dev/hls.js/ which slows things down.

  • Hls.js – JavaScript Library for HTTP Live Streaming
    1 project | news.ycombinator.com | 20 Aug 2023
  • Video Player just doesn't work
    1 project | /r/fixthevideoplayer | 2 May 2023
    Another user using Ubuntu + Firefox just reported this issue recently. You're likely running into this issue - the streaming library we use requires a codec that some browsers have bundled, but Firefox is not one of them. It expects the OS to provide it, and it sounds like yours is not.
  • Can't get HLS.js to work with Jellyfin for certain media.
    1 project | /r/jellyfin | 26 Apr 2023
    I'm trying to build a simple web player for Jellyfin, for another project I'm working on that will embed a clipper. I am using HLS.js to load HLS streams, which seems to work really well for movies, but not at all for shows.
  • Ajutor realizarea unui live streaming website
    2 projects | /r/programare | 16 Mar 2023
  • Shaka Player for media playback - implementation, use cases, pros and cons
    1 project | /r/javascript | 12 Feb 2023
    If you mean hls.js https://github.com/video-dev/hls.js/, I prefer Shaka because it can play both HLS and DASH, adding tons of stuff on top of it
  • Adding WebRTC support to OBS using Rust
    9 projects | news.ycombinator.com | 15 Dec 2022
    I don't know the answer to the WebRTC part, but as long as you have a server with not-outrageously-priced outbound bandwidth, you can install an open source RTMP server like SRS[1], and stream to that RTMP server from OBS. It's really easy, configure the RTMP server & stream key, then "Start Streaming" which is right next to "Start Recording". You can then hand your friends a link, and they can play it in any media player with RTMP/HLS/FLV stream support, or you can add a simple web UI with e.g. hls.js[2] (very easy to write, there might even be prepackaged solutions) so that they truly don't need to download anything.

    [1] https://github.com/ossrs/srs

    [2] https://github.com/video-dev/hls.js/

  • How could I create live stream with AV1
    2 projects | /r/AV1 | 1 Dec 2022
    I think HLS.js solved the same issue for H264.
  • How do you play m3u8 files?
    1 project | /r/webdev | 11 Nov 2022
    hls.js
  • Guide: Simple video host.
    1 project | /r/selfhosted | 30 Oct 2022
    https://github.com/video-dev/hls.js/ <--download the release.zip, unpack it, extract dist/hls.js and dist/hls.js.map you can discard the rest. Near as I can tell these do not contain any external HTTP calls, IE: it's fully self-contained.

What are some alternatives?

When comparing rtsp-stream and hls.js you can also consider the following projects:

go-m3u8 - Parse and generate m3u8 playlists for Apple HTTP Live Streaming (HLS) in Golang (ported from gem https://github.com/sethdeckard/m3u8)

video.js - Video.js - open source HTML5 video player

laravel-ffmpeg - This package provides an integration with FFmpeg for Laravel. Laravel's Filesystem handles the storage of the files.

react-player - A React component for playing a variety of URLs, including file paths, YouTube, Facebook, Twitch, SoundCloud, Streamable, Vimeo, Wistia and DailyMotion

gortsplib - RTSP 1.0 client and server library for the Go programming language

Plyr - A simple HTML5, YouTube and Vimeo player

wolweb - Web interface for sending Wake-on-lan (magic packet). An HTTP server built using GoLang and uses Bootstrap for UI.

flv.js - HTML5 FLV Player

livego - live video streaming server in golang

ffmpeg.js - Port of FFmpeg with Emscripten

Tube - 📺 tube is a Youtube-like (without censorship and features you don't need!) Video Sharing App written in Go which also supports automatic transcoding to MP4 H.265 AAC, multiple collections and RSS feed.

clappr - :clapper: An extensible media player for the web.