Peer-to-peer WebRTC connection with minimal setup. https://apps.aweirdimagination.net/camera/
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 
Перейти к файлу
Daniel Perelman 2883d5bc8f Update title. 4 лет назад
camera Update title. 4 лет назад
camera_site Add comment in settings.py explaining https fix. 4 лет назад
.gitignore Add Unix socket lock to .gitignore. 4 лет назад
LICENSE Add LICENSE, README, etc. 4 лет назад
README.md Add LICENSE, README, etc. 4 лет назад
description Add LICENSE, README, etc. 4 лет назад
manage.py Initial working version. 4 лет назад
nginx-site.example Add example nginx configuration. 4 лет назад
run_daphne.sh Initial working version. 4 лет назад
run_viewer.sh Initial working version. 4 лет назад
source Add LICENSE, README, etc. 4 лет назад

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.