[Live-devel] HTTP in Subdirectory with Live555 Media Server
Zach Hogya
zhogya at engenio.us
Mon Aug 28 06:32:06 PDT 2017
Hi Ross,
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).)
For a streamed file to be viewable on an iPhone or iPad, it must be a MPEG Transport Stream file with H.264 video, encoded using H.264 "Baseline profile 3.0, Baseline profile 3.1, or Main profile 3.1", or just "Baseline 3.1" for older iPhones. Also, each such Transport Stream file must have a corresponding 'index file'. (However, unlike some other streaming servers for iPhones/iPads, the Transport Stream files are not broken up into segments; instead, they are left intact.)
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.
Thank you,
Zach Hogya | Software Engineering
zhogya at engenio.us<mailto:zhogya at engenio.us> | 913.893.1210 [mob/txt]
10770 El Monte Suite 101, Overland Park, KS 66211
www.engenio.us<../../../../../cindi/Dropbox%20(engenious%20design)/engenious%20projects/Engenious/Orientation/engenio.us/%3futm_source=cj_em_sig&utm_medium=email&utm_campaign=cj_em_sig>
[1494858460432_eng.png]
________________________________
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: Thursday, August 24, 2017 2:00 PM
To: live-devel at ns.live555.com
Subject: live-devel Digest, Vol 165, Issue 7
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
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. HTTP in Subdirectory with Live555 Media Server (Zach Hogya)
2. Re: HTTP in Subdirectory with Live555 Media Server
(Ross Finlayson)
----------------------------------------------------------------------
Message: 1
Date: Wed, 23 Aug 2017 14:25:43 +0000
From: Zach Hogya <zhogya at engenio.us>
To: "live-devel at lists.live555.com" <live-devel at ns.live555.com>
Subject: [Live-devel] HTTP in Subdirectory with Live555 Media Server
Message-ID:
<DM5PR08MB2491893FD447C0DDF410C1B4B1850 at DM5PR08MB2491.namprd08.prod.outlook.com>
Content-Type: text/plain; charset="iso-8859-1"
Hi,
I'm using version 0.90 (2017-06-04) of Live555 Media Server cross-complied with config selection uClinux.
I have a MPEG transport stream capture (file.ts) and have generated the index file (file.tsx). These files are located in a subdirectory ("dir") under the directory in which live555MediaServer is launched.
Once live555 is launched, I can connect and play the file as:
rtsp://ip_address/dir/file.ts
I cannot connect and play the file as:
http://ip_address/dir/file.ts
However, if I move the files into the same directory that contains live555MediaServer, both scenarios below work fine:
rtsp://ip_address/file.ts
http://ip_address/file.ts
Am I doing something wrong? Any advice for me? It's important that live555 be able to stream content located in subdirectories.
Thank you!
Zach
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20170823/15f96942/attachment-0001.html>
------------------------------
Message: 2
Date: Wed, 23 Aug 2017 12:56:42 -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: <D3F1FAA4-F7EF-4F32-B144-623A2EE8765E at live555.com>
Content-Type: text/plain; charset=utf-8
The ?LIVE555 Media Server? is a RTSP server only. ?rtsp://? URLs are all that it supports. It does not support ?http://? URLs.
(The server *does* open a HTTP port, but this is used for (optional) RTSP-over-HTTP, which uses ?rtsp://? URLs, jus like regular RTSP.)
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
------------------------------
Subject: Digest Footer
_______________________________________________
live-devel mailing list
live-devel at lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel
------------------------------
End of live-devel Digest, Vol 165, Issue 7
******************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20170828/946c54ba/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OutlookEmoji-1494858460432_eng.png9ab28d78-1483-4491-ad3e-6b5ce6986f11.png
Type: image/png
Size: 7823 bytes
Desc: OutlookEmoji-1494858460432_eng.png9ab28d78-1483-4491-ad3e-6b5ce6986f11.png
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20170828/946c54ba/attachment-0001.png>
More information about the live-devel
mailing list