An open API service indexing awesome lists of open source software.

https://github.com/zardoy/peerjs-cam

PeerJS call example! Page is using WebRTC. Powered by Peer.js servers
https://github.com/zardoy/peerjs-cam

Last synced: about 1 year ago
JSON representation

PeerJS call example! Page is using WebRTC. Powered by Peer.js servers

Awesome Lists containing this project

README

          

# Peer.js Cam

Can be used to use remove device camera via network.

## Supported Query Parameters

Example: `https://cam.zardoy.com/?reconnect=1`

### On Remote Device

| QS | Action |
| ------------- | -------------------------------------------- |
| `reconnect=1` | Will keep page refreshing for auto-reconnect |

| `audio=1` | Enables audio transmission |

### On Host Device

| QS | Action |
| ---------- | ------------------------------------------------------------------------------------ |
| `stream=1` | ID of stream to use (defaults to 0, first one, can be 1 for second stream and so on) |