GStreamer WebRTC Wrapper - GStreamer Pipelines - OWR Datachannel Demo
GStreamer WebRTC Wrapper |
---|
Introduction |
Architecture |
Evaluating GstWebRTCWrapper |
Getting the Code |
GStreamer Pipelines |
Other WebRTC RidgeRun products |
Contact Us |
Description
This page presents details related to the example of data channel feature simulating the fly of a drone providing information regarding the duration of the video, altitude of the drone, speed and battery percentage. This demo is contained inside of a docker container that can be deployed on a Jetson or x86 platform.
Requirements
For the demo you will need the following:
- A Jetson board: if the demo is going to be run in Jetson.
- An x86 PC: the PC can be used to run the demo and to open the browser that will act as the client.
- Google Chrome browser: it will be the client. It can be launched in the same machine running the demo or in a different one as long as it is in the same network.
- Docker: docker needs to be previously installed in the machine running the demo. More information on how to install it in the next wiki
Setting up
1. Load the docker image provided by RidgeRun with the name <DEMO>.
docker load < <DEMO>
2. Run the container with the next command:
- For Jetson boards
docker run -ti --net=host --ipc=host --privileged --runtime nvidia --rm <DEMO>
- For X86
docker run -ti --net=host --ipc=host --privileged --rm <DEMO>
NOTE:<DEMO> is the name of the image.
anonymous: Can we add an example of the output you get when you launch the container? Specially where it shows the URL you have to open in the browser (please remove this box when addressed) |
3. Now open the URL reported by the previous command.
When you open the URL you could get a page like the one in the picture below. This is because we are using self-signed certificates for the demo. It is safe to enter the page.
4. Once you enter the page. Click the "Connect" button and enjoy the demo. Your browser should look like the following picture.