A provisioned virtual machine demonstrating janus-rtpforward-plugin.
Running janus-rtpforward-plugin
version 0.14.1 against janus-gateway
version 0.14.1.
- Make sure that no services are listening on
localhost
of your host OS on ports 8188, 7188, 8989 (janus-gateway
websockets) and 5173 (web application) - Install Vagrant in your host OS.
- Run in the host OS:
cd vagrant_janus-rtpforward-plugin_demo
vagrant up
vagrant ssh -c 'env -C /vagrant tmuxinator --local'
This will run the following processes inside the virtual machine:
janus-gateway
server withjanus-rtpforward-plugin
loaded- a web server serving the files of the janus-rtpforward-plugin demo
- A GStreamer pipeline receiving the RTP video stream forwarded by
janus-rtpforward-plugin
and displaying it as ASCII art directly in the terminal.
The video is originating from the web camera attached to your browser running in the host OS. Using a modern browser in your host OS:
- Go to http://localhost:5173
- Allow access to your media devices
- Observe the video in the terminal (see screenshot).