jssm
Pion WebRTC
Our great sponsors
jssm | Pion WebRTC | |
---|---|---|
16 | 85 | |
300 | 12,664 | |
- | 1.9% | |
7.8 | 8.9 | |
28 days ago | 1 day ago | |
JavaScript | Go | |
MIT License | MIT License |
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.
jssm
-
Xstate: State machines and statecharts for the modern web
https://github.com/StoneCypher/jssm
I find the DSL much easier to wrap my head around than the json format of Xstate.
-
Are We Ready for AI-Generated Code?
By example, my hobby library JSSM has currently 4904 unit tests that get run in 14 different contexts, and 1.3 million unicode tests that get run in eight contexts.
-
What tool do you use to bundle your node typescript for Production?
I use tsc to compile and rollup to bundle
- Is this formatting good practice?
-
What is the JavaScript project you're currently working on? I'll show you mine... please add yours in the comments.
Javascript State Machine
- Importing a Pure ESM package in typescript node application.
-
Github copilot saved me a day of writing unit tests
By the way, this is written in Typescript, and type protections are used extensively.
-
How to write tests?
Here's the test directory for one of my things.
- JavaScript State Machine
-
Good Examples of Testing in an Open Source Repo?
This is my general approach
Pion WebRTC
- VoRS: Vo(IP) Simple Alternative to Mumble
- Golang WebRTC. How to use Pion šRemote Controller
- Pure Go Implementation of the WebRTC API
-
Pure C WebRTC
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
-
Ask HN: What side projects landed you a job?
I have worked four jobs related to https://github.com/pion/webrtc and one for https://webrtcforthecurious.com
Two companies used Pion. The other two were just using the protocol (WebRTC)
- Need help with audio calls for rooms with about 10 people in each.
-
Possible frameworks/languages for a web/mobile application
In my experience Go has been relatively approachable for people that are good at PHP. It has a great standard library and a pretty solid ecosystem, though frameworks arenāt as popular in Go. There are some well regarded libraries for things like WebRTC via https://github.com/pion/webrtc WebSicket via https://github.com/nhooyr/websocket
-
Video streaming in golang
Don't try to make RTC yourself, it looks easy, but in fact, it's a really hard problem to solve. Use https://pion.ly/ it's a pretty solid package they also have a discord/slack channel with a lot of helpful people there.
-
Datachannel video streaming?
Maybe you can reuse some of this code: https://github.com/pion/webrtc/blob/master/examples/data-channels/main.go
What are some alternatives?
xstate - Actor-based state management & orchestration for complex app logic.
mediasoup - Cutting Edge WebRTC Video Conferencing
cerbero - Track your users interactions
livekit-server - Scalable, high-performance WebRTC SFU. SDKs in JavaScript, React, React Native, Flutter, Swift, Kotlin, Unity/C#, Go, Ruby and Node. [Moved to: https://github.com/livekit/livekit]
js-ziju - Compile javascript to LLVM IR, x86 assembly and self interpreting
janus-gateway - Janus WebRTC Server
lowdefy - The config web stack for business apps - build internal tools, client portals, web apps, admin panels, dashboards, web sites, and CRUD apps with YAML or JSON.
aiortc - WebRTC and ORTC implementation for Python using asyncio
GHSA-f2jv-r9rf-7988
libdatachannel - C/C++ WebRTC network library featuring Data Channels, Media Transport, and WebSockets
FSM - This is the package I developed for model checking in Haskell
SIPSorcery - A WebRTC, SIP and VoIP library for C# and .NET. Designed for real-time communications apps.