This application send a camera stream to other browser(s) by using Kurento.
This Kurento application transmits a browser's camera stream to other browser(s). The camera stream is identified by the camera id given when the camera is starting.
version | |
---|---|
kurento | 6.9.0 |
nodejs | 8.15 |
docker | 18.09.2 |
npm install
npm run build
env | sample value |
---|---|
PORT |
3000 |
KURENTO_URL |
http://LOCAL_IP_ADDRESS :8888/kurento |
PASS_PHRASE |
your-own-pass-phrase |
STUN_LIST |
|
TURN_LIST |
- start Kurento container.
docker run -d -p 8888:8888 kurento/kurento-media-server:6.9.0
- set environment variables.
- start one2many application.
node ./dist/server.js
- open the "camera" page http://localhost:3000/camera by a browser.
- enter
passPhrase
which is set as an environment variable. - enter any
cameraId
. - click
start
button. - open the "viewer" page http://localhost:3000/viewer by another browser.
- enter
passPhrase
andcameraId
which is set above. - click
start
button.
Copyright (c) 2019 Nobuyuki Matsui nobuyuki.matsui@gmail.com