1
0
Bifurcation 0
Peer-to-peer WebRTC connection with minimal setup. https://apps.aweirdimagination.net/camera/
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 
Go to file
Daniel Perelman 5669593cb1 Fix styles so it's easier to see log when receiving video. il y a 4 ans
camera Fix styles so it's easier to see log when receiving video. il y a 4 ans
camera_site Add comment in settings.py explaining https fix. il y a 4 ans
.gitignore Add Unix socket lock to .gitignore. il y a 4 ans
LICENSE Add LICENSE, README, etc. il y a 4 ans
README.md Add link to hosted version README. il y a 4 ans
description Add LICENSE, README, etc. il y a 4 ans
manage.py Initial working version. il y a 4 ans
nginx-site.example Add example nginx configuration. il y a 4 ans
run_daphne.sh Use local_settings only if it exists. il y a 4 ans
run_viewer.sh Initial working version. il y a 4 ans
source Add LICENSE, README, etc. il y a 4 ans

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.