<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="Generator" content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style></head><body lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word"><div class="WordSection1"><p class="MsoNormal">Ok, thank you all for the useful information and suggestions</p><p class="MsoNormal"> </p><div><div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal"><b>From:</b> Michael Gruner <<a href="mailto:michael.gruner@ridgerun.com">michael.gruner@ridgerun.com</a>> <br><b>Sent:</b> Wednesday, May 19, 2021 10:06 PM<br><b>To:</b> Discussion of the development of and with GStreamer <<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>><br><b>Cc:</b> Nicolas Dufresne <<a href="mailto:nicolas@ndufresne.ca">nicolas@ndufresne.ca</a>>; Gregory AE40 <<a href="mailto:gregory@ae40.com">gregory@ae40.com</a>>; Mathieu Duponchelle <<a href="mailto:mathieu@centricular.com">mathieu@centricular.com</a>><br><b>Subject:</b> Re: Video Chat using mpegtsmux</p></div></div><p class="MsoNormal"> </p><p class="MsoNormal">I echo the suggestions given by Nicolas and Mathieu. But also wanted to add that, if you chose to continue using TS, there is a “latency” property in the tsdemux element that you can tweak. By default it is set to 700ms (to comply with the TS standard), which sounds like the 1s lag you are experiencing.</p><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">Michael</p><div><p class="MsoNormal"><br><br></p><blockquote style="margin-top:5.0pt;margin-bottom:5.0pt"><div><p class="MsoNormal">On 19 May 2021, at 12:44, Gregory AE40 via gstreamer-devel <<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>> wrote:</p></div><p class="MsoNormal"> </p><div><div><p class="MsoNormal">Yes, I understand that I should use RTP, my question is whether to mux audio and video to a single stream or to send two separate streams (with RTCP for every stream for synchronization). The first option seems more fail-safe to me in terms of audio/video synchronization.  However, I tested also the second option and its latency is lower. I guess that if you suggested to use WebRTC, I should stick with the second option, because AFAIK, WebRTC sends separate streams for video and audio. </p></div><p class="MsoNormal"> </p><div><div><p class="MsoNormal">On Wed, May 19, 2021, 20:54 Nicolas Dufresne <<a href="mailto:nicolas@ndufresne.ca" target="_blank">nicolas@ndufresne.ca</a>> wrote:</p></div><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm"><p class="MsoNormal" style="margin-bottom:12.0pt">Le mercredi 19 mai 2021 à 18:23 +0300, Gregory AE40 via gstreamer-devel a<br>écrit :<br>> Hi, thank you for the prompt response.<br>> I wasn't specific enough, the application will run on a LAN, so I can use<br>> multicast in order to send only one stream from each PC. <br>> With WebRTC multicast is not possible, because it requires a separate stream<br>> for each receiver.<br><br>Yet, you should still use RTP for mulicast. For your use case, just creating an<br>RTSP server (using gst-rtp-server library) seem sufficient no ?<br><br>> <br>> On Wed, May 19, 2021, 15:02 Mathieu Duponchelle <<a href="mailto:mathieu@centricular.com" target="_blank">mathieu@centricular.com</a>><br>> wrote:<br>> >  Hey,<br>> >  <br>> >  I would recommend using webRTC (webrtcbin in the GStreamer context) for<br>> >  such an application :)<br>> >  <br>> >  Best,<br>> >  <br>> > _______________________________________________<br>> > gstreamer-devel mailing list<br>> > <a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>> > <a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br><br></p></blockquote></div><p class="MsoNormal">_______________________________________________<br>gstreamer-devel mailing list<br><a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br><a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></p></div></blockquote></div><p class="MsoNormal"> </p></div></div></body></html>