<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@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;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.apple-style-span
        {mso-style-name:apple-style-span;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.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><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal"><span style="font-size:9.5pt;font-family:"Arial","sans-serif";color:#222222;background:white">I would please like to ask if live555 can be used for streaming mpeg-ts over UDP (without RTP).</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""><o:p></o:p></span></p>
</div>
</blockquote>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal">Yes, our software can be used to send (and/or receive) Transport Stream data over raw-UDP.  However, you should first ask yourself if this is something that you *really* want.  Streaming over raw UDP (i.e., without RTP framing) is discouraged,
 because - without RTP - you miss out on several benefits, including support for reordering out-of-order network packets, and RTCP statistics.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">To send Transport Stream data over raw-UDP, use a “BasicUDPSink”.  If you have a RTSP server (for example, the “testOnDemandRTSPServer” demo application code for streaming a Transport Stream file “test.ts”; see “testProgs/testOnDemandRTSPServer.cpp”,
 line 236), then the server will automatically deliver a Transport Stream-over-raw-UDP stream, if requested by a RTSP client.  HOWEVER, there is no standard mechanism defined in RTSP for how to request a raw-UDP Transport Stream.  We implement an ad hoc mechanism
 that is used by many video set-top boxes.  However, this is not a standard (because people should not really be streaming over raw-UDP to begin with)!<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">To receive Transport Stream data over raw-UDP, use a “BasicUDPSource”.  If you have a RTSP client (using our “RTSPClient” code), then it will automatically request a Transport Stream-over-raw-UDP stream, using an ad hoc (non-standard) mechanism,
 *if* the stream’s SDP description (as returned by the RTSP “DESCRIBE” command) indicated (again, using an ad hoc, non-standard mechanism) that the stream was MPEG Transport over raw-UDP.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">If you are using our RTSP client code in combination with our RTSP server code, then you cannot stream over raw-UDP; instead, you will get standard streaming over RTP.  Our RTSP client or server code supports MPEG Transport streaming over
 raw-UDP *only if* the other side (RTSP server or client, respectively) is a non-standard server or client (not using our code) that also supports it.<o:p></o:p></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span class="apple-style-span"><span style="font-family:"Helvetica","sans-serif";color:#1F497D">Hi,<o:p></o:p></span></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span class="apple-style-span"><span style="font-family:"Helvetica","sans-serif";color:#1F497D">Thanks you very much for the detailed answer.<br>
I understand that the solution for mpeg-ts over UDP will still require usage of RTSP client-server request-response mechanism, Right ?
<br>
I'm not sure if I can use RTSP in my case, I think it is plain mpeg-ts over udp.<o:p></o:p></span></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span class="apple-style-span"><span style="font-family:"Helvetica","sans-serif";color:#1F497D">Thank you,<br>
Ran <o:p></o:p></span></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
</div>
</body>
</html>