Peer-to-peer WebRTC connection with minimal setup.
https://apps.aweirdimagination.net/camera/
Du kan inte välja fler än 25 ämnen
Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
Daniel Perelman a814c95742 | 4 år sedan | |
---|---|---|
camera | 4 år sedan | |
camera_site | 4 år sedan | |
.gitignore | 4 år sedan | |
LICENSE | 4 år sedan | |
README.md | 4 år sedan | |
description | 4 år sedan | |
manage.py | 4 år sedan | |
nginx-site.example | 4 år sedan | |
run_daphne.sh | 4 år sedan | |
run_viewer.sh | 4 år sedan | |
source | 4 år sedan |
README.md
minimal-webrtc
Create a WebRTC audio/video connection between two devices with minimal setup: basic usage is to open the page on one device and send the generated link to (or scan the QR code on) the other device and a peer-to-peer connection will be established. Communication through the server is only used for the signalling to set up the connection.
Configuration options on the first device allow selection of what, if any, video and audio streams should be sent in each direction over the connection.
Note this intentionally does not use STUN for NAT traversal, as I wrote
it for connections on a local network. If you wish to use this for
connections over the internet, you may need to modify the
new RTCPeerConnection()
call to include
iceServers
.