Commit 992cb3c5 authored by Olivier Crête's avatar Olivier Crête 👻
Browse files

webrtc sendonly: Add videoscale to avoid webcam compat issues

Part-of: <!18>
parent 4d064280
...@@ -212,7 +212,7 @@ create_receiver_entry (SoupWebsocketConnection * connection) ...@@ -212,7 +212,7 @@ create_receiver_entry (SoupWebsocketConnection * connection)
receiver_entry->pipeline = receiver_entry->pipeline =
gst_parse_launch ("webrtcbin name=webrtcbin stun-server=stun://" gst_parse_launch ("webrtcbin name=webrtcbin stun-server=stun://"
STUN_SERVER " " 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 ! " "rtph264pay config-interval=-1 name=payloader aggregate-mode=zero-latency ! "
"application/x-rtp,media=video,encoding-name=H264,payload=" "application/x-rtp,media=video,encoding-name=H264,payload="
RTP_PAYLOAD_TYPE " ! webrtcbin. ", &error); RTP_PAYLOAD_TYPE " ! webrtcbin. ", &error);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment