Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gstreamer-send has higher latency than rtp-to-webrtc #273

Open
ZeoWorks opened this issue Nov 12, 2024 · 0 comments
Open

Gstreamer-send has higher latency than rtp-to-webrtc #273

ZeoWorks opened this issue Nov 12, 2024 · 0 comments

Comments

@ZeoWorks
Copy link

Well, it's as the title says. It appears gstreamer-send pipe is much slower than rtp-to-webrtc in regards to latency.

rtp-to-webrtc does its best to play video stream as fast as possible, whereas gstreamer-send stutters, buffers and has much higher latency.

Example rtc-to-webrtc command used;
"gst-launch-1.0 d3d11screencapturesrc ! videoconvert ! queue max-size-bytes=0 max-size-time=0 ! x264enc speed-preset=ultrafast tune=zerolatency bitrate=5000 ! video/x-h264, framerate=(fraction)60/1, stream-format=byte-stream ! rtph264pay mtu=1200 ! udpsink host=127.0.0.1 port=5004"

Example command for gstreamer-send;
"d3d11screencapturesrc ! videoconvert ! queue max-size-bytes=0 max-size-time=0 ! x264enc speed-preset=ultrafast tune=zerolatency bitrate=5000 ! video/x-h264,framerate=(fraction)60/1,stream-format=byte-stream ! appsink name=appsink"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant