rtsp-simple-server VS hls.js

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

rtsp-simple-server

Also known as rtsp-simple-server. ready-to-use RTSP / RTMP / LL-HLS / WebRTC server and proxy that allows to read, publish and proxy video and audio streams. [Moved to: https://github.com/aler9/mediamtx] (by aler9)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
rtsp-simple-server hls.js
37 26
5,721 14,175
- 1.6%
8.8 9.9
about 1 year ago 2 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-simple-server

Posts with mentions or reviews of rtsp-simple-server. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-31.

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-simple-server and hls.js you can also consider the following projects:

obs-rtspserver - RTSP server plugin for obs-studio

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

ustreamer - µStreamer - Lightweight and fast MJPEG-HTTP streamer

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

Restreamer - The Restreamer is a complete streaming server solution for self-hosting. It has a visually appealing user interface and no ongoing license costs. Upload your live stream to YouTube, Twitch, Facebook, Vimeo, or other streaming solutions like Wowza. Receive video data from OBS and publish it with the RTMP and SRT server.

Plyr - A simple HTML5, YouTube and Vimeo player

mediadevices - Go implementation of the MediaDevices API.

flv.js - HTML5 FLV Player

owncast - Take control over your live stream video by running it yourself. Streaming + chat out of the box.

rtsp-stream - Out of box solution for RTSP - HLS live stream transcoding. Makes RTSP easy to play in browsers.

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

ffmpeg.js - Port of FFmpeg with Emscripten