Peer-to-peer WebRTC connection with minimal setup. https://apps.aweirdimagination.net/camera/
您最多能選擇 25 個主題 主題必須以字母或數字為開頭,可包含連接號「-」且最長為 35 個字元。
 
 
 
 
移至檔案
Daniel Perelman f025675b9b Catch more errors and output them to the log. 4 年前
camera Catch more errors and output them to the log. 4 年前
camera_site Add js/ to static/. 4 年前
external Add QR code scanning support to serverless mode. 4 年前
wwwroot Add js/ to static/. 4 年前
.gitignore Add Unix socket lock to .gitignore. 4 年前
.gitmodules Add QR code scanning support to serverless mode. 4 年前
LICENSE Add LICENSE, README, etc. 4 年前
README.md Add link to hosted version README. 4 年前
description Add LICENSE, README, etc. 4 年前
manage.py Initial working version. 4 年前
nginx-site.example As index.html is actually static, have nginx serve it. 4 年前
run_daphne.sh Use local_settings only if it exists. 4 年前
run_viewer.sh Initial working version. 4 年前
source Add LICENSE, README, etc. 4 年前

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.