Peer-to-peer WebRTC connection with minimal setup. https://apps.aweirdimagination.net/camera/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Daniel Perelman a814c95742 Add LICENSE, README, etc. 3 years ago
camera Don't show video when there's only audio. 3 years ago
camera_site Add comment in settings.py explaining https fix. 3 years ago
.gitignore Add Unix socket lock to .gitignore. 3 years ago
LICENSE Add LICENSE, README, etc. 3 years ago
README.md Add LICENSE, README, etc. 3 years ago
description Add LICENSE, README, etc. 3 years ago
manage.py Initial working version. 3 years ago
nginx-site.example Add example nginx configuration. 3 years ago
run_daphne.sh Initial working version. 3 years ago
run_viewer.sh Initial working version. 3 years ago
source Add LICENSE, README, etc. 3 years ago

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.