webrtc-for-the-curious
aiortc
webrtc-for-the-curious | aiortc | |
---|---|---|
13 | 19 | |
1,884 | 3,935 | |
0.6% | 1.9% | |
5.2 | 7.3 | |
7 months ago | 10 days ago | |
Python | Python | |
Creative Commons Zero v1.0 Universal | BSD 3-clause "New" or "Revised" 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.
webrtc-for-the-curious
-
Dive into Web RTC or write SFU on your own
Here I will briefly go over the basics of how Web RTC works; for those who are interested in going a little deeper, I’ll leave the link here. In order for two peers to be able to provide themselves with RTCPeerConnection, the SDP (Session Description Protocol) protocol is used. The protocol has a key-value structure and is essentially a description of a single peer (the name speaks for itself).
- WebRTC for the Curious
- Show HN: Bring phone calls into the browser (sip-to-WebRTC)
-
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)
-
Replacing WebRTC: real-time latency with WebTransport and WebCodecs
For the WebRTC jargon check out https://webrtcforthecurious.com/
If that still doesn’t cover enough I would love to hear! Always trying to make it better.
-
OBS Merges WebRTC Support
It is pretty easy to get a one way trip time for packets that is sub-second! You see it with conferencing and other real-time communication things.
If you are curious on the 'how' of WebRTC I wrote a Free/Open Source book that goes into the details https://webrtcforthecurious.com/. Happy to answer any particular questions you have.
-
Help: I'm facing an issue developing a webrtc app
Read this thoroughly: https://webrtcforthecurious.com
aiortc
- VoRS: Vo(IP) Simple Alternative to Mumble
-
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
-
Building WebRTC server implementation for Erlang
This is not true, there are actually multiple WebRTC implementations in different languages besides the reference library: aiortc (python), libdatachannel (C++), sipsorcery (C#),webrtc-rs (rust), werift (Typescript), and Amazon Kinesis (C)
-
how do i build a webapp to process user video from their webcam.
Not sure flask would work but I think https://github.com/aiortc/aiortc has an example just like what you are trying.
-
How to connect a JS webpage to a python server using WebRTC?
Context: I was making a snapchat-like filter application on webcam footage. In order to create those overlays, i used some python's opencv and dlib to locate the face and apply the overlay. As far as i know, websockets are not good for video transfer since sockets are slower so someone suggested me to use "WebRTC". So I decided to settle on this https://github.com/aiortc/aiortc python based webrtc to use my python code at the backend and use a JS front end to send the video and received the filtered image
- Running a ML model on real-time video coming from the client side.
-
[Question] OpenCV and aiortc on a Raspberry Pi 4
So it seems like https://github.com/aiortc/aiortc is the obvious answer here, but I just can't seem to grok the documentation. I have run the examples successfully, but can't quite seem to tailor them to my use-case.
-
How in the world there is no webrtc module for python?
I'm not sure how you weren't able to find this: aiortc
-
How to deploy OpenCV video feed cam with my Django application?
You can't use Django for that, RTC is a separate protocol from HTTP. Check out https://github.com/aiortc/aiortc for a Python-based RTC stack. You write code in there which does the data processing and calls HTTP APIs or something on the Django side.
What are some alternatives?
web-codecs - WebCodecs is a flexible web API for encoding and decoding audio and video.
Pion WebRTC - Pure Go implementation of the WebRTC API
broadcast-box - A broadcast, in a box.
libdatachannel - C/C++ WebRTC network library featuring Data Channels, Media Transport, and WebSockets
ws-tcp-proxy - Simple websocket tcp proxy.
webrtc - A pure Rust implementation of WebRTC
offline-browser-communication - Demonstration of a browser connecting to Pion WebRTC without a signaling server.
janus-gateway - Janus WebRTC Server
webrtc-rtptransport - Repository for the RTPTransport specification of the WebRTC Working Group
amazon-kinesis-video-streams-webrtc-sdk-c - Amazon Kinesis Video Streams Webrtc SDK is for developers to install and customize realtime communication between devices and enable secure streaming of video, audio to Kinesis Video Streams.
direct-sockets - Direct Sockets API for the web platform
simple-peer - 📡 Simple WebRTC video, voice, and data channels