Jump to content

GStreamer WebRTC Wrapper/GStreamer Pipelines/OWR Pipelines: Difference between revisions

no edit summary
No edit summary
Line 60: Line 60:
signaler::session_id=${SESSION_ID} name=web videotestsrc is-live=true ! queue ! videoconvert ! \
signaler::session_id=${SESSION_ID} name=web videotestsrc is-live=true ! queue ! videoconvert ! \
vp8enc ! rtpvp8pay ! web.video_sink
vp8enc ! rtpvp8pay ! web.video_sink
</syntaxhighlight>
=== Bidirectional ===
==== Video ====
===== H.264 =====
<syntaxhighlight lang=bash>
SESSION_ID=59078bedca1
SERVER_URL=http://localhost:8081
gst-launch-1.0 videotestsrc is-live=true ! videoconvert ! queue leaky=2 max-size-buffers=5 ! nvv4l2h264enc maxperf-enable=1 ! rtph264pay ! webrtcwrapperbin signaler=GstOwrSignaler signaler::server_url=${SERVER_URL} signaler::session_id=${SESSION_ID} start-call=true name=web web. ! rtph264depay ! decodebin ! autovideosink
</syntaxhighlight>
===== VP8 =====
<syntaxhighlight lang=bash>
SESSION_ID=59078bedca1
SERVER_URL=http://localhost:8081
gst-launch-1.0 videotestsrc is-live=true ! videoconvert ! queue leaky=2 max-size-buffers=5 ! nvv4l2vp8enc maxperf-enable=1 ! rtpvp8pay ! webrtcwrapperbin signaler=GstOwrSignaler signaler::server_url=${SERVER_URL} signaler::session_id=${SESSION_ID} start-call=true name=web web. ! rtpvp8depay ! decodebin ! autovideosink
</syntaxhighlight>
</syntaxhighlight>


579

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.