GStreamer WebRTC Wrapper/GStreamer Pipelines/OWR Pipelines: Difference between revisions
No edit summary |
|||
Line 37: | Line 37: | ||
== Nvidia Jetson devices == | == Nvidia Jetson devices == | ||
The following pipelines may be launched in the Nvidia Jetson devices: TX1, TX2, Nano, Xavier AGX/NX | The following pipelines may be launched in the Nvidia Jetson devices: TX1, TX2, Nano, Xavier AGX/NX | ||
<syntaxhighlight lang=bash> | |||
SESSION_ID=59078bedca1 | |||
SERVER_URL=http://localhost:8081 | |||
gst-launch-1.0 nvarguscamerasrc sensor-id=0 ! nvvidconv ! queue leaky=2 max-size-buffers=5 ! nvv4l2h264enc maxperf-enable=1 ! h264parse ! rtph264pay ! queue ! webrtcwrapperbin signaler=GstOwrSignaler signaler::server_url=${SERVER_URL} signaler::session_id=${SESSION_ID} start-call=true name=web | |||
</syntaxhighlight> | |||
[[Category:GStreamer WebRTC Wrapper]] | [[Category:GStreamer WebRTC Wrapper]] |
Revision as of 17:40, 4 May 2021
GStreamer WebRTC Wrapper |
---|
Introduction |
Architecture |
|
Evaluating GstWebRTCWrapper |
Getting the Code |
GStreamer Pipelines |
Other WebRTC RidgeRun products |
Contact Us |
Description
This page presents some GStreamer examples pipeline on supported platforms using the OpenWebRTC (OWR) Demo.
Launch OWR Demo
- Install nodejs
sudo apt install nodejs
- Start signaler
cd <path-to-gst-webrtc-wrapper>/tests/examples/signalers/owr node signaler.js
- Start web client in the PC. By default the web client starts at port 8080. To use a different port provide it as an argument at the end.
#Start web client at port 8080 cd <path-to-gst-webrtc-wrapper>/tests/examples/signalers/owr node owr_web_client_example.js #Start web client at port 8082 cd <path-to-gst-webrtc-wrapper>/tests/examples/signalers/owr node owr_web_client_example.js 8082
Pipeline examples per platform
x86
Nvidia Jetson devices
The following pipelines may be launched in the Nvidia Jetson devices: TX1, TX2, Nano, Xavier AGX/NX
SESSION_ID=59078bedca1 SERVER_URL=http://localhost:8081 gst-launch-1.0 nvarguscamerasrc sensor-id=0 ! nvvidconv ! queue leaky=2 max-size-buffers=5 ! nvv4l2h264enc maxperf-enable=1 ! h264parse ! rtph264pay ! queue ! webrtcwrapperbin signaler=GstOwrSignaler signaler::server_url=${SERVER_URL} signaler::session_id=${SESSION_ID} start-call=true name=web