579
edits
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> | ||
edits