Skip to content

nmatsui/kurento-robot-camera-one2many

Repository files navigation

kurento-robot-camera-one2many

This application send a camera stream to other browser(s) by using Kurento.

Docker image size

Description

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.

Requirements

version
kurento 6.9.0
nodejs 8.15
docker 18.09.2

How to build

  1. npm install
  2. npm run build

Environment Variables

env sample value
PORT 3000
KURENTO_URL http://LOCAL_IP_ADDRESS:8888/kurento
PASS_PHRASE your-own-pass-phrase
STUN_LIST
TURN_LIST

How to run

  1. start Kurento container.
    • docker run -d -p 8888:8888 kurento/kurento-media-server:6.9.0
  2. set environment variables.
  3. start one2many application.
    • node ./dist/server.js
  4. open the "camera" page http://localhost:3000/camera by a browser.
  5. enter passPhrase which is set as an environment variable.
  6. enter any cameraId.
  7. click start button.
  8. open the "viewer" page http://localhost:3000/viewer by another browser.
  9. enter passPhrase and cameraId which is set above.
  10. click start button.

License

Apache License 2.0

Copyright

Copyright (c) 2019 Nobuyuki Matsui nobuyuki.matsui@gmail.com

About

This application send a camera stream to other browser(s) by using Kurento.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published