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
- Host: GitHub
- URL: https://github.com/zardoy/peerjs-cam
- Owner: zardoy
- Created: 2023-11-14T08:01:33.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-22T16:15:34.000Z (over 2 years ago)
- Last Synced: 2025-02-13T03:41:22.409Z (over 1 year ago)
- Language: TypeScript
- Homepage: https://zardoy.github.io/peerjs-cam/
- Size: 61.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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) |