
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
github.com/fcerini/webrtc-test
broadcast is a Pion WebRTC application that demonstrates how to broadcast a video to many peers, while only requiring the broadcaster to upload once.
This could serve as the building block to building conferencing software, and other applications where publishers are bandwidth constrained.
Based on https://github.com/pion/webrtc/tree/master/examples/broadcast
jsfiddle.net You should see two buttons Publish a Broadcast
and Join a Broadcast
Run broadcast
OR run main.go
in github.com/pion/webrtc/examples/broadcast
Publish a Broadcast
Copy browser SDP to clipboard
or copy the Browser base64 Session Description
string manuallycurl localhost:8080 -d "$BROWSER_OFFER"
. $BROWSER_OFFER
is the value you copied in the last step.broadcast
terminal application will respond with an answer, paste this into the second input field in your browser.Start Session
logs
in the browser.Join a Broadcast
Browser base64 Session Description
curl localhost:8080 -d "$BROWSER_OFFER"
. $BROWSER_OFFER
is the value you copied in the last step.broadcast
terminal application will respond with an answer, paste this into the second input field in your browser.Start Session
logs
in the browser.You can change the listening port using -port 8011
You can Join the broadcast
as many times as you want. The broadcast
Golang application is relaying all traffic, so your browser only has to upload once.
Congrats, you have used Pion WebRTC! Now start building something cool
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.