str0m VS broadcast-box

Compare str0m vs broadcast-box and see what are their differences.

str0m

A synchronous sans I/O WebRTC implementation in Rust. (by algesten)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
str0m broadcast-box
10 10
245 524
- 4.4%
9.7 8.9
5 days ago 2 days ago
Rust Go
MIT License MIT License
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.

str0m

Posts with mentions or reviews of str0m. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-19.
  • VoRS: Vo(IP) Simple Alternative to Mumble
    15 projects | news.ycombinator.com | 19 Apr 2024
  • Interview with Mo Rajabi, co-founder and CEO of Noor
    3 projects | dev.to | 18 Apr 2024
    In the video, Mo talked about a few packages like Cidre and StrOm, and we referred to SpaceDrive.
  • Is Something Bugging You?
    10 projects | news.ycombinator.com | 13 Feb 2024
    - Dropbox [3] uses a similar approach but they talk about it a bit more abstractly.

    Sans-IO is more documented in Python [4], but str0m [5] and quinn-proto [6] are the best examples in Rust I’m aware of. Note that sans-IO is orthogonal to deterministic test frameworks, but it composes well with them.

    With the disclaimer that my opinions are mine and mine alone, and don’t reflect the company I work at —— I do work at a rust shop that has utilized these techniques on some projects.

    TigerBeetle is an amazing example and I’ve looked at it before! They are really the best example of this approach outside of FoundationDB I think.

    [0]: https://risingwave.com/blog/deterministic-simulation-a-new-e...

    [1]: https://risingwave.com/blog/applying-deterministic-simulatio...

    [2]: https://dropbox.tech/infrastructure/-testing-our-new-sync-en...

    [3]: https://github.com/spacejam/sled

    [4]: https://fractalideas.com/blog/sans-io-when-rubber-meets-road...

    [5]: https://github.com/algesten/str0m

    [6]: https://docs.rs/quinn-proto/0.10.6/quinn_proto/struct.Connec...

  • Pure C WebRTC
    12 projects | news.ycombinator.com | 7 Jan 2024
    I am really excited about https://github.com/sepfy/libpeer. It has examples ready for ESP32 etc....

    When working on KVS I wasn't familiar with the embedded space at all. I saw 'heavyweight' embedded where you were running on Linux. Then you had RTOS/No OS at all. I wasn't prepared for these devices at all. If we can make WebRTC work in the embedded space I think it will really accelerate what developers are able to build!

    Remotely driven cars, security cameras, robots in hospitals that bring iPads to infectious patients etc... Creative people are building amazing things. The WebRTC/video space needs to work harder and support them :)

    -----

    I love how diverse the WebRTC space is now. Outside of this implementation you have plenty of other options!

    * https://github.com/shinyoshiaki/werift-webrtc (Typescript)

    * https://github.com/pion/webrtc (Golang)

    * https://github.com/webrtc-rs/webrtc (Rust)

    * https://github.com/algesten/str0m (Rust)

    * hhttps://github.com/sepfy/libpeer (C/Embedded)

    * https://webrtc.googlesource.com/src/ (C++)

    * https://github.com/sipsorcery-org/sipsorcery (C#)

    * https://github.com/paullouisageneau/libdatachannel (C++)

    * https://github.com/elixir-webrtc (Elixir)

    * https://github.com/aiortc/aiortc (Python)

    * GStreamer’s webrtcbin (C)

    See https://github.com/sipsorcery/webrtc-echoes for examples of some running against each other.

  • WebRTC for the Curious
    18 projects | news.ycombinator.com | 4 Jan 2024
  • Show HN: Bring phone calls into the browser (sip-to-WebRTC)
    9 projects | news.ycombinator.com | 4 Jan 2024
  • WebRTC support being added to FFmpeg
    6 projects | news.ycombinator.com | 30 May 2023
  • str0m 0.1.0 – Sans-IO WebRTC library
    1 project | /r/rust | 17 Mar 2023
    Find it here: crates.io/crates/str0m Code here: github.com/algesten/str0m Docs here: docs.rs/str0m/0.1.0/str0m/
  • str0m a sans I/O WebRTC library
    3 projects | /r/rust | 18 Dec 2022
    Git: https://github.com/algesten/str0m

broadcast-box

Posts with mentions or reviews of broadcast-box. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-04.
  • Show HN: Bring phone calls into the browser (sip-to-WebRTC)
    9 projects | news.ycombinator.com | 4 Jan 2024
    > [1] https://github.com/Glimesh/broadcast-box

    This is really interesting! Any latency benchmarks comparing it to gstreamer UDP, P2P primarily?

  • OBS Studio 30.0
    2 projects | news.ycombinator.com | 11 Nov 2023
    This release includes WebRTC support. I would really appreciate if people could try it! I have so many things I want to improve with broadcasting.

    ——

    * Serverless Streaming - WebRTC is P2P so you can video right into your browser. You don’t have to stand up a server anymore to stream for a small audience.

    * Sub-Second Latency - Create content and interact with viewers instantly. There is something magical about having a real conversation with your viewers.

    * Multitrack Input - Upload your transcodes instead of generating then server side. Give viewers multiple video tracks to see action from all sides.

    * Mobility - WebRTC lets you switch networks at any time. Go from WiFi -> Mobile with zero interruptions.

    * E2E Authentication - WebRTC lets you add authentication on the sender and receiver. Broadcasters could sign their video streams so viewers can be sure it wasn’t modified.

    Try it out with Broadcast Box. A reference server implementation. https://github.com/glimesh/broadcast-box

  • Show HN: AV1 Broadcasting from OBS
    2 projects | news.ycombinator.com | 14 Aug 2023
    This is a PR (with builds) to add AV1 support to the WebRTC output from OBS.

    We also have been working on a reference server implementation with https://github.com/Glimesh/broadcast-box/ to make it easy to self host.

  • Show HN: OBS with Simulcast Support
    3 projects | news.ycombinator.com | 12 Jul 2023
    Simulcast builds of OBS are available. Simulcast is when a client generates multiple encodes of a video. Testers and feedback would be greatly appreciated!

    Design Discussion: https://github.com/obsproject/rfcs/pull/55

    Use it against your favorite WHIP ingest. If you don't have one check out https://github.com/glimesh/broadcast-box. It is a reference implementation of a WHIP/WHEP server.

    I hope/believe the impact of this will be much greater then WebRTC. This could benefit all broadcast workflows.

    * Higher Quality Videos - Decoding and re-encoding causes quality loss. Generating all the renditions from the source video is going to be a big improvement for viewers.

    * Lower Latency - Removing the additional encoding/decoding allows video to be delivered faster.

    * Reduce complexity - With Simulcast setting up a streaming server becomes dramatically easier. It is much easier for an individual to afford and manage a single broadcast server. RTMP -> Transcode -> HLS gets complicated and expensive quickly.

  • OBS merges WebRTC support
    2 projects | /r/linux_gaming | 11 Jun 2023
    One of the devs commented on HN that you can use Broadcast Box handle the initial connection. That's open source so you can self-host that too
  • OBS Merges WebRTC Support
    3 projects | /r/WebRTC | 10 Jun 2023
    Try it out today with Broadcast Box. A reference server implementation. https://github.com/glimesh/broadcast-box. The PR to add WebRTC to OBS https://github.com/obsproject/obs-studio/pull/7926
    7 projects | news.ycombinator.com | 10 Jun 2023
    I don't have an idea on how to do cascading OBS instances. I should write some software to make this easy though. I want to make 'self hosting' as easy as possible. I think https://github.com/glimesh/broadcast-box will fill that gap for now.

    For my own usage I run WebRTC servers and have them 'replicate' the video traffic. LiveKit did a write up on this with some good graphics https://blog.livekit.io/scaling-webrtc-with-distributed-mesh...

  • WebRTC support being added to FFmpeg
    6 projects | news.ycombinator.com | 30 May 2023
    I am really excited for this PR to land. Being able to use WebRTC for Broadcast and Playback is going to be huge.

    Instead of doing fixed interval keyframe we can use receiver feedback (Massive reduction in bandwidth)

    Instead of server side generated transcodes we can use Simulcast. Will be better quality AND massively reduced server load.

    If anyone wants to use with Pion check out https://github.com/Glimesh/broadcast-box

    Then run `ffmpeg -re -f lavfi -i testsrc=s=1280x720:r=30 -f lavfi -i sine=f=440:b=4 -vcodec libx264 -pix_fmt yuv420p -profile:v baseline -r 25 -g 50 -acodec libopus -ar 48000 -ac 2 -f rtc -authorization "STREAM_NAME" "http://localhost:8080/whip"

What are some alternatives?

When comparing str0m and broadcast-box you can also consider the following projects:

ffmpeg - FFmpeg Zig package

go2rtc - Ultimate camera streaming application with support RTSP, RTMP, HTTP-FLV, WebRTC, MSE, HLS, MP4, MJPEG, HomeKit, FFmpeg, etc.

webrtc-echoes - Simple useful interoperability tests for WebRTC libraries. If you are a WebRTC library developer we'd love to include you!

webrtc-for-the-curious - WebRTC for the Curious: Go beyond the APIs

webrtc - A pure Rust implementation of WebRTC

ffmpeg-webrtc - Support WebRTC(WHIP) for FFmpeg.

rfcs - RFCs for changes to OBS Studio (and supporting toolset)

libpeer - WebRTC Library for IoT/Embedded Device using C

obs-studio - OBS Studio - Free and open source software for live streaming and screen recording