Peer-to-peer WebRTC connection with minimal setup. https://apps.aweirdimagination.net/camera/
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
 
 
 
 
Go to file
Daniel Perelman 3664fbc593 [WIP] Trying to fix single offer mode and add serverless mode that depends o nit. 4 роки тому
camera [WIP] Trying to fix single offer mode and add serverless mode that depends o nit. 4 роки тому
camera_site Add references to QR code generating and QR code reading Javascript libraries, but don't use them yet. 4 роки тому
external Add different QR code generator. 4 роки тому
wwwroot Add references to QR code generating and QR code reading Javascript libraries, but don't use them yet. 4 роки тому
.gitignore Add Unix socket lock to .gitignore. 4 роки тому
.gitmodules Add references to QR code generating and QR code reading Javascript libraries, but don't use them yet. 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.