<div dir="ltr"><div>Hi Ross,</div><div><br></div><div>Thanks for your help, I modified a few things and was able to make more progress. The stream can now be initialized and received, but it blocks there:</div><div><br></div><div>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;color:rgb(255,255,102);background-color:rgb(14,18,37)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Received 185 new bytes of response data.</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;color:rgb(255,255,102);background-color:rgb(14,18,37)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Received a complete PLAY response:</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;color:rgb(255,255,102);background-color:rgb(14,18,37)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">RTSP/1.0 200 OK</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;color:rgb(255,255,102);background-color:rgb(14,18,37)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">CSeq: 5</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;color:rgb(255,255,102);background-color:rgb(14,18,37)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Date: Sun, Oct 06 2019 13:25:06 GMT</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;color:rgb(255,255,102);background-color:rgb(14,18,37)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Range: npt=0.000-</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;color:rgb(255,255,102);background-color:rgb(14,18,37)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Session: A3020FA1</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;color:rgb(255,255,102);background-color:rgb(14,18,37)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">RTP-Info: url=rtsp://<a href="http://10.0.0.4:8554/testStream/track1;seq=41164;rtptime=366779134">10.0.0.4:8554/testStream/track1;seq=41164;rtptime=366779134</a></span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;color:rgb(255,255,102);background-color:rgb(14,18,37);min-height:16px"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;color:rgb(255,255,102);background-color:rgb(14,18,37);min-height:16px"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;color:rgb(255,255,102);background-color:rgb(14,18,37)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Started playing session</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;color:rgb(255,255,102);background-color:rgb(14,18,37)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Receiving streamed data (signal with "kill -HUP 56216" or "kill -USR1 56216" to terminate)...</span></p></div><div><br></div><div>Nothing happens afterwards and when I look at the H264 files created, they are indeed empty (despite my firewall being off). I also realized that RTSP streams over TCP, but I would need to stream over UDP, how should I convert? I really appreciate your help!</div><div><br></div><div>Cheers,</div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Philippe Noël <a href="https://www.linkedin.com/pub/philippe-no%C3%ABl/124/284/148" target="_blank"><img src="https://static.licdn.com/scds/common/u/img/webpromo/btn_in_20x15.png"></a><div>AB Candidate in <i>Computer Science - Mind, Brain, Behavior</i>, Secondary in <i>Economics</i></div><div>Harvard College Class of 2020</div><div>857.272.9715 | <a href="mailto:philippe_noel@college.harvard.edu" target="_blank">philippe_noel@college.harvard.edu</a> | <a href="http://www.philippemnoel.com" target="_blank">www.philippemnoel.com</a></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Oct 5, 2019 at 10:52 PM Ross Finlayson <<a href="mailto:finlayson@live555.com">finlayson@live555.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
> On Oct 5, 2019, at 7:40 PM, Philippe Noël <<a href="mailto:philippe_noel@college.harvard.edu" target="_blank">philippe_noel@college.harvard.edu</a>> wrote:<br>
> <br>
> Hi Ross,<br>
> <br>
> It is not that, I tried turning off my firewall and it didn't work. The fact is, with or without the firewall, the rtsp url from my application doesn't move further than what I showed earlier, while a test url stream like rtsp://<a href="http://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov" rel="noreferrer" target="_blank">wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov</a> works without a problem, both with openRTSP and VLC.<br>
> <br>
> Any ideas?<br>
<br>
OK, the only other thing I can think of is that - for some reason - your server’s code is not returning to the LIVE555 event loop to handle the incoming TCP connection. This might happen if your device/encoder-handling code has an infinite loop, or a ‘polling loop’ somewhere (perhaps while waiting for an encoded frame/NAL unit to become available). You must not do this! Remember that LIVE555-based applications are event based, using an event loop for concurrency. If a frame/NAL unit is not *immediately* available to be delivered, then your “doGetNextFrame()” implementation *must* return immediately, so that the event loop can handle events (such as incoming TCP connections).<br>
<br>
Ross Finlayson<br>
Live Networks, Inc.<br>
<a href="http://www.live555.com/" rel="noreferrer" target="_blank">http://www.live555.com/</a><br>
<br>
<br>
_______________________________________________<br>
live-devel mailing list<br>
<a href="mailto:live-devel@lists.live555.com" target="_blank">live-devel@lists.live555.com</a><br>
<a href="http://lists.live555.com/mailman/listinfo/live-devel" rel="noreferrer" target="_blank">http://lists.live555.com/mailman/listinfo/live-devel</a><br>
</blockquote></div>