1
0
Atdalīts 0
Peer-to-peer WebRTC connection with minimal setup. https://apps.aweirdimagination.net/camera/
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 
Iet uz failu
Daniel Perelman c4bb684b41 Fix routing. pirms 1 mēnesi
camera Fix routing. pirms 1 mēnesi
camera_site Add js/ to static/. pirms 4 gadiem
external Add QR code scanning support to serverless mode. pirms 4 gadiem
wwwroot Add js/ to static/. pirms 4 gadiem
.gitignore Add Unix socket lock to .gitignore. pirms 4 gadiem
.gitmodules Add QR code scanning support to serverless mode. pirms 4 gadiem
LICENSE Add LICENSE, README, etc. pirms 4 gadiem
README.md Add link to hosted version README. pirms 4 gadiem
description Add LICENSE, README, etc. pirms 4 gadiem
manage.py Initial working version. pirms 4 gadiem
nginx-site.example As index.html is actually static, have nginx serve it. pirms 4 gadiem
run_daphne.sh Use local_settings only if it exists. pirms 4 gadiem
run_viewer.sh Initial working version. pirms 4 gadiem
source Add LICENSE, README, etc. pirms 4 gadiem

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.