GstWebRTC - Evaluating GstWebRTC

From RidgeRun Developer Connection
Revision as of 14:36, 12 July 2017 by Jcaballero (talk | contribs)
Jump to: navigation, search

GstWebRTC Basics

Home

Getting the code


This page serves as a guide to test the GstWebRTC evaluation binary provided by RidgeRun.

Requesting the Evaluation Binary

In order to request an evaluation binary for a specific architecture, please contact us providing the following information:

  • Platform (i.e.: iMX6, TX2, Ultrascale+, etc...)
  • gst-launch-1.0 --gst-version
  • uname -a

RR Contact Us.png

Features in the Evaluation

To help you test GstWebRTC, RidgeRun can provide an evaluation version of the plug-in. The following table summarizes the features available in both the professional and evaluation version of the element.

Feature Professional Evaluation
Video Streaming Y Y
Audio Streaming Y Y
A/V Streaming Y Y
Multiple Encoding Formats Y Y
Unlimited Streaming Time Y N (1)
Source Code Y N
Table 1. Features provided in the evaluation version
(1) The evaluation version will limit the streaming time of each pad to 5 minutes (at 30fps).


Testing the Binary

First, make sure the dependencies are fulfilled:

gstreamer1.0-x \
libgstreamer1.0-dev \
libgstreamer-plugins-base1.0-dev \
gstreamer1.0-plugins-bad \
libsoup2.4-dev \
libjson-glib-dev \
libnice-dev \
autoconf \
libtool \
gtk-doc-tools \
libglib2.0-dev \
gstreamer1.0-nice \
libssl-dev \
libreadline-dev \
gstreamer1.0-plugins-ugly \
libsrtp0-dev \

To use the binary provided by RidgeRun, export the location of the evaluation binary in your environment.

export GST_PLUGIN_PATH=${GST_PLUGIN_PATH}:/path/to/evaluation/binary/

where /path/to/evaluation/binary is the location in your file system where you have the binary provided by RidgeRun.

Additionally, you may just copy the binary into the standard GStreamer plug-in search path.

Finally, test that the plugin is being properly picked up by GStreamer by running:

gst-inspect-1.0 webrtc

You should see the inspect output for the evaluation binary.


Example Pipelines

Please refer to the Examples page for reference pipelines.


Troubleshooting

The first level of debug to troubleshoot a failing evaluation binary is to inspect GStreamer debug output.

GST_DEBUG=2 gst-launch-1.0

If the output doesn't help you figure out the problem, please contact us with the output of the GStreamer debug and any additional information you consider useful.

If the plug-in is not being recognized, please provide the output of the following command:

gst-inspect-1.0 libgstwebrtc.so




GstWebRTC Basics

Home

Getting the code