[Live-devel] HTTP in Subdirectory with Live555 Media Server
Zach Hogya
zhogya at engenio.us
Mon Aug 28 12:14:24 PDT 2017
Hi Ross,
I've come up with a fix that works for me if you want to confirm it and roll into a future build.
Inside file: /live555/liveMedia/RTSPServer.cpp
Inside routine: Boolean RTSPServer::RTSPClientConnection::parseHTTPRequestString
Change:
* while (j > 0 && reqStr[j] != ' ' && reqStr[j] != '/') --j;
To:
* while (j > 0 && reqStr[j] != ' ') --j;
Thanks,
Zach Hogya
________________________________
From: live-devel <live-devel-bounces at ns.live555.com> on behalf of live-devel-request at ns.live555.com <live-devel-request at ns.live555.com>
Sent: Monday, August 28, 2017 2:00 PM
To: live-devel at ns.live555.com
Subject: live-devel Digest, Vol 165, Issue 10
Send live-devel mailing list submissions to
live-devel at lists.live555.com
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.live555.com/mailman/listinfo/live-devel
live-devel Info Page<http://lists.live555.com/mailman/listinfo/live-devel>
lists.live555.com
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 ...
or, via email, send a message with subject or body 'help' to
live-devel-request at lists.live555.com
You can reach the person managing the list at
live-devel-owner at lists.live555.com
When replying, please edit your Subject line so it is more specific
than "Re: Contents of live-devel digest..."
Today's Topics:
1. Re: HTTP in Subdirectory with Live555 Media Server
(Ross Finlayson)
----------------------------------------------------------------------
Message: 1
Date: Mon, 28 Aug 2017 08:21:14 -0700
From: Ross Finlayson <finlayson at live555.com>
To: LIVE555 Streaming Media - development & use
<live-devel at ns.live555.com>
Subject: Re: [Live-devel] HTTP in Subdirectory with Live555 Media
Server
Message-ID: <B502BD19-352C-4024-BEC3-20CB72D43707 at live555.com>
Content-Type: text/plain; charset=utf-8
> 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:
> 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).)
[?]
> 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
>
> http://<server-name-or-ip-address>:<http-port-number>/<filename>
> 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.
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 :-)
I?ll investigate why subdirectories in URLs apparently do not work. Thanks for the note.
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
LIVE555.COM<http://www.live555.com/>
www.live555.com
LIVE555 Media Server A complete RTSP server application. (See also the "LIVE555 Proxy Server".) LIVE555 Streaming Media Source-code libraries for standards-based RTP ...
------------------------------
Subject: Digest Footer
_______________________________________________
live-devel mailing list
live-devel at lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel
live-devel Info Page<http://lists.live555.com/mailman/listinfo/live-devel>
lists.live555.com
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 ...
------------------------------
End of live-devel Digest, Vol 165, Issue 10
*******************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20170828/45f0bbac/attachment.html>
More information about the live-devel
mailing list