Different behaviour in using RTSP + RTP in streaming
Tran Tu
camtubk05 at gmail.com
Fri Oct 28 02:41:12 UTC 2016
Hi Nicolas,
Thanks for your reply. I would like to describe it more details as below:
1. I intend to use VPU hwrdwar encode of IMX6 to encode two streams captured
from camera(1 fullhd and 1 wvga)
Fullhd I stream via RTSP server and the second one I stream by RTP/UDP
(using udpsink plugin). To do so, I created two threads for streamings (one
used gst-rtsp-server to stream fullhd and second is used object model of
gstreamer for streaming via RTP).
As my understand RTSP server also use RTP in the background, and I only use
one VPU to do encoding.
But the issue here is that, if thread1 with RTSP server start first, then
thread2 with RTP start after, the quality of video stream (smoothly,
bitrate...) is decreased but a little bit. And in opposite, thread2 start
first with RTP streaming, then start thread1 with RTSP server streaming. The
video quality is very bad.
All the code is unchanged, I just change the order of streaming execution.
It makes me confused about the reason why executing order influenced to to
video quality so much.
P/S: Thread1 with RTSP stream for fullHD and the second thread is for wvga
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Different-behaviour-in-using-RTSP-RTP-in-streaming-tp4680268p4680301.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list