<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof" style="font-family: Calibri, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
Hi,</div>
<div class="elementToProof" style="font-family: Calibri, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Calibri, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
Apologies for the delay in replying.</div>
<div class="elementToProof" style="font-family: Calibri, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Calibri, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
I've repeated the test using openRTSP as the client, but with the rest of the chain as before.</div>
<div class="elementToProof" style="font-family: Calibri, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Calibri, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
I'm running 'openRTSP -d 30 rtsp://192.168.202.220:8554/a2' and then checking the size of the video file that is created.</div>
<div class="elementToProof" style="font-family: Calibri, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Calibri, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
The first time it's 22215396 bytes, and this file is playable by VLC.</div>
<div class="elementToProof" style="font-family: Calibri, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Calibri, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
After openRTSP has quit, I run it again, and this time I get a file that's only 210560 bytes (barely 1% of the size of the original file).</div>
<div class="elementToProof" style="font-family: Calibri, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Calibri, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
To re-iterate, the chain is:</div>
<div class="elementToProof" style="font-family: Calibri, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Calibri, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
Multicast M2T stream -> Live 555 RTSP server with a MPEG2TransportUDPServerMediaSubsession -> openRTSP</div>
<div class="elementToProof" style="font-family: Calibri, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Calibri, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
If you need any further information, please let me know.</div>
<div class="elementToProof" style="font-family: Calibri, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Calibri, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
Thanks as ever.</div>
<div class="elementToProof" style="font-family: Calibri, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Calibri, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
Andy</div>
<div class="elementToProof" style="font-family: Calibri, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature"></div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> live-devel <live-devel-bounces@us.live555.com> on behalf of Ross Finlayson <finlayson@live555.com><br>
<b>Sent:</b> 14 April 2024 16:11<br>
<b>To:</b> LIVE555 Streaming Media - development & use <live-devel@us.live555.com><br>
<b>Subject:</b> Re: [Live-devel] Issue with serving raw UDP transport streams using testOnDemandRTSPServer</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText"><br>
<br>
> On Apr 10, 2024, at 8:01 AM, Andy Hawkins <Andy.Hawkins@uniguest.com> wrote:<br>
> <br>
> I made a small modification to the source for testOnDemandRTSPServer to specify that the input stream to a MPEG2TransportUDPServerMediaSubsession is 'raw' UDP and tested this against a multicast M2T stream. This seems to work fine, I can connect multiple
clients to the RTSP server and retrieve the streams.<br>
> <br>
> However, if I stop all the clients, and then restart them, then the streams fail to start.<br>
<br>
Andy,<br>
<br>
I was not able to reproduce this (using “testOnDemandRTSPServer” with “testMPEG2TransportStreamer”, which streams over RTP/UDP rather than raw-UDP; this should not make any difference).<br>
<br>
<br>
> In all cases, I was testing using VLC as a client.<br>
<br>
Instead, I used “openRTSP” as a client, with the “-n” option (which tells “openRTSP” to report when it receives the first data).<br>
<br>
Are you able to reproduce your problem with “openRTSP” as a client? I suggest both stopping the client using Control-c, and stopping it by explicitly specifying a stream duration - e.g., by adding “-d 10” to the “openRTSP” command line.<br>
<br>
If not, then this might be a problem with VLC, not with our code.<br>
<br>
<br>
Ross Finlayson<br>
Live Networks, Inc.<br>
<a href="http://www.live555.com/">https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.live555.com%2F&data=05%7C02%7Candy.hawkins%40uniguest.com%7C25b4e4d74ed1459149c708dc5c960777%7C9b0e98ba45ed42abb699c61412572c2c%7C0%7C0%7C638487046661083738%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=K%2BkbuiV0P5OTuLmku2XFrwx6AQamitRpN1Pv15PrxD4%3D&reserved=0</a><br>
<br>
<br>
<br>
_______________________________________________<br>
live-devel mailing list<br>
live-devel@lists.live555.com<br>
<a href="http://lists.live555.com/mailman/listinfo/live-devel">https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.live555.com%2Fmailman%2Flistinfo%2Flive-devel&data=05%7C02%7Candy.hawkins%40uniguest.com%7C25b4e4d74ed1459149c708dc5c960777%7C9b0e98ba45ed42abb699c61412572c2c%7C0%7C0%7C638487046661094597%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=1mlUwat4kKLcnzM3BuhZNdteHmY793PB8oVsVj6qgSU%3D&reserved=0</a><br>
</div>
</span></font></div>
</body>
</html>