Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
GStreamer
gst-examples
Commits
992cb3c5
Commit
992cb3c5
authored
Jul 09, 2020
by
Olivier Crête
👻
Browse files
webrtc sendonly: Add videoscale to avoid webcam compat issues
Part-of: <
!18
>
parent
4d064280
Changes
1
Hide whitespace changes
Inline
Side-by-side
webrtc/sendonly/webrtc-unidirectional-h264.c
View file @
992cb3c5
...
...
@@ -212,7 +212,7 @@ create_receiver_entry (SoupWebsocketConnection * connection)
receiver_entry
->
pipeline
=
gst_parse_launch
(
"webrtcbin name=webrtcbin stun-server=stun://"
STUN_SERVER
" "
"v4l2src ! videorate ! video/x-raw,width=640,height=360,framerate=15/1 ! videoconvert ! queue max-size-buffers=1 ! x264enc bitrate=600 speed-preset=ultrafast tune=zerolatency key-int-max=15 ! video/x-h264,profile=constrained-baseline ! queue max-size-time=100000000 ! h264parse ! "
"v4l2src ! videorate !
videoscale !
video/x-raw,width=640,height=360,framerate=15/1 ! videoconvert ! queue max-size-buffers=1 ! x264enc bitrate=600 speed-preset=ultrafast tune=zerolatency key-int-max=15 ! video/x-h264,profile=constrained-baseline ! queue max-size-time=100000000 ! h264parse ! "
"rtph264pay config-interval=-1 name=payloader aggregate-mode=zero-latency ! "
"application/x-rtp,media=video,encoding-name=H264,payload="
RTP_PAYLOAD_TYPE
" ! webrtcbin. "
,
&
error
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment