Peer-to-peer WebRTC connection with minimal setup.
https://apps.aweirdimagination.net/camera/
Non puoi selezionare più di 25 argomenti
Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
Daniel Perelman 2883d5bc8f | 4 anni fa | |
---|---|---|
camera | 4 anni fa | |
camera_site | 4 anni fa | |
.gitignore | 4 anni fa | |
LICENSE | 4 anni fa | |
README.md | 4 anni fa | |
description | 4 anni fa | |
manage.py | 4 anni fa | |
nginx-site.example | 4 anni fa | |
run_daphne.sh | 4 anni fa | |
run_viewer.sh | 4 anni fa | |
source | 4 anni fa |
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
.