1
0
Fork 0
Peer-to-peer WebRTC connection with minimal setup. https://apps.aweirdimagination.net/camera/
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 
 
Datei suchen
Daniel Perelman a3528ec43e Add js/ to static/. vor 4 Jahren
camera Add different QR code generator. vor 4 Jahren
camera_site Add js/ to static/. vor 4 Jahren
external/qr-code-generator Add different QR code generator. vor 4 Jahren
wwwroot Add js/ to static/. vor 4 Jahren
.gitignore Add Unix socket lock to .gitignore. vor 4 Jahren
LICENSE Add LICENSE, README, etc. vor 4 Jahren
README.md Add link to hosted version README. vor 4 Jahren
description Add LICENSE, README, etc. vor 4 Jahren
manage.py Initial working version. vor 4 Jahren
nginx-site.example As index.html is actually static, have nginx serve it. vor 4 Jahren
run_daphne.sh Use local_settings only if it exists. vor 4 Jahren
run_viewer.sh Initial working version. vor 4 Jahren
source Add LICENSE, README, etc. vor 4 Jahren

README.md

minimal-webrtc

Try it out at https://apps.aweirdimagination.net/camera/

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.