<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri,Helvetica,sans-serif,"EmojiFont","Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;" dir="ltr">
<p>Hi Ross,</p>
<p><br>
</p>
<p>I've come up with a fix that works for me if you want to confirm it and roll into a future build.</p>
<p><br>
</p>
<p>Inside file: <span>/live555/liveMedia/RTSPServer.cpp</span></p>
<p><span>Inside routine: <span>Boolean RTSPServer::RTSPClientConnection::parseHTTPRequestString</span><br>
</span></p>
<p><span><br>
</span></p>
<p><span>Change:</span></p>
<ul style="margin-bottom: 0px; margin-top: 0px;">
<li><span></span>while (j > 0 && reqStr[j] != ' ' && reqStr[j] != '/') --j;</li></ul>
<p>To:<span></span><br>
</p>
<ul style="margin-bottom: 0px; margin-top: 0px;">
<li><span>while (j > 0 && reqStr[j] != ' ') --j;</span><br>
</li></ul>
<p></p>
<p><br>
</p>
<p>Thanks,<br>
</p>
<p>Zach Hogya<b></b><br>
</p>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>From:</b> live-devel <live-devel-bounces@ns.live555.com> on behalf of live-devel-request@ns.live555.com <live-devel-request@ns.live555.com><br>
<b>Sent:</b> Monday, August 28, 2017 2:00 PM<br>
<b>To:</b> live-devel@ns.live555.com<br>
<b>Subject:</b> live-devel Digest, Vol 165, Issue 10</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">Send live-devel mailing list submissions to<br>
        live-devel@lists.live555.com<br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://lists.live555.com/mailman/listinfo/live-devel" id="LPlnk135339" previewremoved="true">
http://lists.live555.com/mailman/listinfo/live-devel</a>
<div id="LPBorder_GT_15039476255140.22976915910789375" style="margin-bottom: 20px; overflow: auto; width: 100%; text-indent: 0px;">
<table id="LPContainer_15039476255090.42276615868244294" style="width: 90%; background-color: rgb(255, 255, 255); position: relative; overflow: auto; padding-top: 20px; padding-bottom: 20px; margin-top: 20px; border-top: 1px dotted rgb(200, 200, 200); border-bottom: 1px dotted rgb(200, 200, 200);" role="presentation" cellspacing="0">
<tbody>
<tr style="border-spacing: 0px;" valign="top">
<td id="TextCell_15039476255110.8726785142569364" style="vertical-align: top; position: relative; padding: 0px; display: table-cell;" colspan="2">
<div id="LPRemovePreviewContainer_15039476255110.02092312331683721"></div>
<div id="LPTitle_15039476255110.18153532563616726" style="top: 0px; color: rgb(0, 120, 215); font-weight: 400; font-size: 21px; font-family: "wf_segoe-ui_light","Segoe UI Light","Segoe WP Light","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; line-height: 21px;">
<a id="LPUrlAnchor_15039476255120.03969197138586644" style="text-decoration: none;" href="http://lists.live555.com/mailman/listinfo/live-devel" target="_blank">live-devel Info Page</a></div>
<div id="LPMetadata_15039476255130.2163457454512938" style="margin: 10px 0px 16px; color: rgb(102, 102, 102); font-weight: 400; font-family: "wf_segoe-ui_normal","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; font-size: 14px; line-height: 14px;">
lists.live555.com</div>
<div id="LPDescription_15039476255130.8048493615818644" style="display: block; color: rgb(102, 102, 102); font-weight: 400; font-family: "wf_segoe-ui_normal","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; font-size: 14px; line-height: 20px; max-height: 100px; overflow: hidden;">
A mailing list for discussing the development and use of "LIVE555 Streaming Media" - a set of source-code libraries (and demo applications) for multimedia streaming ...</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
or, via email, send a message with subject or body 'help' to<br>
        live-devel-request@lists.live555.com<br>
<br>
You can reach the person managing the list at<br>
        live-devel-owner@lists.live555.com<br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of live-devel digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Re: HTTP in Subdirectory with Live555 Media Server<br>
      (Ross Finlayson)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Mon, 28 Aug 2017 08:21:14 -0700<br>
From: Ross Finlayson <finlayson@live555.com><br>
To: LIVE555 Streaming Media - development & use<br>
        <live-devel@ns.live555.com><br>
Subject: Re: [Live-devel] HTTP in Subdirectory with Live555 Media<br>
        Server<br>
Message-ID: <B502BD19-352C-4024-BEC3-20CB72D43707@live555.com><br>
Content-Type: text/plain; charset=utf-8<br>
<br>
> Thank you for the reply. Not to get too far off-topic, but the Live Media Server documentation has a section describing support for Apple products and states the following:<br>
> As a special case, the server can also stream MPEG Transport Stream files to iPhones and iPads, using Apple's "HTTP Live Streaming" mechanism. (A single server can stream the same file(s) using either RTSP/RTP (to standard RTSP/RTP clients such as VLC), or
 using HTTP (to "Safari" on iPhones and iPads).)<br>
[?]<br>
> To view such a stream from an iPhone or iPad, you do so using the "Safari" browser app, and use a "http://" URL, not a "rtsp://" URL. Specifically, you enter an URL of the form<br>
> <br>
> http://<server-name-or-ip-address>:<http-port-number>/<filename><br>
> The above is the setup I am using and it definitely supports an http://... URL so long as the transport stream file is located in the same directory as the liveMediaServer binary.<br>
<br>
You?re correct.  I had forgotten about the ?HTTP Live Streaming? support (and was a bit surprised to learn that someone is actually using it :-)<br>
<br>
I?ll investigate why subdirectories in URLs apparently do not work.  Thanks for the note.<br>
<br>
<br>
Ross Finlayson<br>
Live Networks, Inc.<br>
<a href="http://www.live555.com/" id="LPlnk871697" previewremoved="true">http://www.live555.com/</a>
<div id="LPBorder_GT_15039476254940.59700430113171" style="margin-bottom: 20px; overflow: auto; width: 100%; text-indent: 0px;">
<table id="LPContainer_15039476254840.00419065481084735" style="width: 90%; background-color: rgb(255, 255, 255); position: relative; overflow: auto; padding-top: 20px; padding-bottom: 20px; margin-top: 20px; border-top: 1px dotted rgb(200, 200, 200); border-bottom: 1px dotted rgb(200, 200, 200);" role="presentation" cellspacing="0">
<tbody>
<tr style="border-spacing: 0px;" valign="top">
<td id="TextCell_15039476254860.12361653867391642" style="vertical-align: top; position: relative; padding: 0px; display: table-cell;" colspan="2">
<div id="LPRemovePreviewContainer_15039476254860.8542949602912274"></div>
<div id="LPTitle_15039476254870.797393114428444" style="top: 0px; color: rgb(0, 120, 215); font-weight: 400; font-size: 21px; font-family: "wf_segoe-ui_light","Segoe UI Light","Segoe WP Light","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; line-height: 21px;">
<a id="LPUrlAnchor_15039476254890.46191165055829997" style="text-decoration: none;" href="http://www.live555.com/" target="_blank">LIVE555.COM</a></div>
<div id="LPMetadata_15039476254900.41191825973833307" style="margin: 10px 0px 16px; color: rgb(102, 102, 102); font-weight: 400; font-family: "wf_segoe-ui_normal","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; font-size: 14px; line-height: 14px;">
www.live555.com</div>
<div id="LPDescription_15039476254930.7067586826156548" style="display: block; color: rgb(102, 102, 102); font-weight: 400; font-family: "wf_segoe-ui_normal","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; font-size: 14px; line-height: 20px; max-height: 100px; overflow: hidden;">
LIVE555 Media Server A complete RTSP server application. (See also the "LIVE555 Proxy Server".) LIVE555 Streaming Media Source-code libraries for standards-based RTP ...</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
live-devel mailing list<br>
live-devel@lists.live555.com<br>
<a href="http://lists.live555.com/mailman/listinfo/live-devel" id="LPlnk10896" previewremoved="true">http://lists.live555.com/mailman/listinfo/live-devel</a>
<div id="LPBorder_GT_15039476254320.02095483101406681" style="margin-bottom: 20px; overflow: auto; width: 100%; text-indent: 0px;">
<table id="LPContainer_15039476254170.8930228438866099" style="width: 90%; background-color: rgb(255, 255, 255); position: relative; overflow: auto; padding-top: 20px; padding-bottom: 20px; margin-top: 20px; border-top: 1px dotted rgb(200, 200, 200); border-bottom: 1px dotted rgb(200, 200, 200);" role="presentation" cellspacing="0">
<tbody>
<tr style="border-spacing: 0px;" valign="top">
<td id="TextCell_15039476254200.8701447349930798" style="vertical-align: top; position: relative; padding: 0px; display: table-cell;" colspan="2">
<div id="LPRemovePreviewContainer_15039476254200.15705727226615984"></div>
<div id="LPTitle_15039476254210.4563416481853385" style="top: 0px; color: rgb(0, 120, 215); font-weight: 400; font-size: 21px; font-family: "wf_segoe-ui_light","Segoe UI Light","Segoe WP Light","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; line-height: 21px;">
<a id="LPUrlAnchor_15039476254240.19095863854149353" style="text-decoration: none;" href="http://lists.live555.com/mailman/listinfo/live-devel" target="_blank">live-devel Info Page</a></div>
<div id="LPMetadata_15039476254250.9031965076092734" style="margin: 10px 0px 16px; color: rgb(102, 102, 102); font-weight: 400; font-family: "wf_segoe-ui_normal","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; font-size: 14px; line-height: 14px;">
lists.live555.com</div>
<div id="LPDescription_15039476254280.3782940630596746" style="display: block; color: rgb(102, 102, 102); font-weight: 400; font-family: "wf_segoe-ui_normal","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; font-size: 14px; line-height: 20px; max-height: 100px; overflow: hidden;">
A mailing list for discussing the development and use of "LIVE555 Streaming Media" - a set of source-code libraries (and demo applications) for multimedia streaming ...</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
<br>
<br>
------------------------------<br>
<br>
End of live-devel Digest, Vol 165, Issue 10<br>
*******************************************<br>
</div>
</span></font></div>
</div>
</body>
</html>