Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/michaelfranzl/vagrant_janus-rtpforward-plugin_demo

A provisioned virtual machine demonstrating janus-rtpforward-plugin
https://github.com/michaelfranzl/vagrant_janus-rtpforward-plugin_demo

demo-app gstreamer-pipeline janus-gateway janus-rtpforward-plugin rtp-streaming vagrant-box webrtc-demos

Last synced: about 1 month ago
JSON representation

A provisioned virtual machine demonstrating janus-rtpforward-plugin

Awesome Lists containing this project

README

        

# vagrant_janus-rtpforward-plugin_demo

A provisioned virtual machine demonstrating [janus-rtpforward-plugin](https://github.com/michaelfranzl/janus-rtpforward-plugin).

Running `janus-rtpforward-plugin` version 0.14.1 against `janus-gateway` version 0.14.1.

## Usage

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)
2. Install Vagrant in your host OS.
3. Run in the host OS:

```sh
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 with `janus-rtpforward-plugin` loaded
* a web server serving the files of the [janus-rtpforward-plugin demo](https://github.com/michaelfranzl/janus-rtpforward-plugin/tree/master/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:

1. Go to http://localhost:5173
2. Allow access to your media devices
3. Observe the video in the terminal (see screenshot).

![Screenshot of vagrant_janus-rtpforward-plugin_demo](screenshot.jpg)