<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mer. 17 juin 2020 10 h 45, F32 <<a href="mailto:feng32@163.com">feng32@163.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div style="margin:0">Hi,</div><div style="margin:0"><br></div><div style="margin:0">The GstBuffer's fields like pts and duration are important attributes for the pipeline, but I have noticed that they are not transferred with TCP.</div><div style="margin:0"><br></div><div style="margin:0">The possible fix is rather simple. We just need to a add a header that contains these fields.</div><div style="margin:0"><br></div><div style="margin:0">It seems to me that this issue should be fixed long ago, but it's not. Is there any special reason that we have not fixed it?</div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">This has large amount of solutions. As you said, you just need a header. So in RTSP protocol, they solves this through RTP payloader (as defined in the spec). On the web, with prerecorded streams, ISOMP4 seems to be the most popular, but webm/matroska has some extra features allowing live content. For audio, most compressed format already provide the playback rate, which is sufficient (used in web radios). MPEG TS format should also work.</div><div dir="auto"><br></div><div dir="auto">Though, for fixed latency/real-time use cases, TCP is usually the wrong choice as it can at any time start buffering at any point in the network, adding extra latency and possibly exhaust the budget.</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div style="margin:0"><br></div><div style="margin:0">Regards,</div><div style="margin:0">Windy</div></div><br><br><span title="neteasefooter"><p> </p></span>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank" rel="noreferrer">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div></div></div>