GStreamer WebRTC Wrapper - GStreamer Pipelines - OWR Datachannel Demo

From RidgeRun Developer Wiki


Previous: GStreamer_Pipelines/OWR_Pipelines Index Next: Other_WebRTC_RidgeRun_products




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 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. Remember that <DEMO> is the name of the image:

  • 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>


Expected output

The HTTP server is listening on port 8081
The HTTPS server is listening on port 8444
The HTTP server is listening on port 8080
The HTTPS server is listening on port 8443
*****************************************
***** THIS IS AN EVALUATION VERSION *****
*                                       *
*        Please open the next url       *
*                                       *
*      https://192.168.0.102:8443       *
*                                       *
*****************************************
***** THIS IS AN EVALUATION VERSION *****
*****************************************


3. Now open the URL reported by the previous command.

Note
Remember that the page direction has the following structure where IP_ADDRESS is the ip address of your board or PC. https://$IP_ADDRESS:8443


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.

Message printed when trying to access the web page of the demo.

4. Once you enter the page. Click the "Connect" button and enjoy the demo. Your browser should look like the following picture.


The web page of the demonstration of the data channel feature example.




Previous: GStreamer_Pipelines/OWR_Pipelines Index Next: Other_WebRTC_RidgeRun_products