Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: download over HTTP via QTSS?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: download over HTTP via QTSS?



Hi All,

On Nov 27, 2006, at 6:18 AM, Leon Kolchinsky wrote:

There is no such thing as progressive download with DSS.




QTSS handles ICY mp3 streaming requests, as well as HTTP web  based status requests when the QTSSWebStats module is installed.  And QTSS responds to HTTP GET requests for streaming movie files with QuickTime RTSP Ref Movies when the QTSSRefMovie module is installed.


There is also an http file download module for DSS.  It is called QTSSHttpFileModule.  It is normally not installed but it is in the source code and is built using the buildit script.
The server needs to be run at least once with the module installed in the server's modules directory for the module to initialize its preferences in the streamingserver.xml preference file.  The module handles an HTTP GET request and responds with the entire file so it might work or be modified to work for progressive downloads as needed.

Here are the prefs for the module as documented in the streamingserver.xml file stored at the top level of the source code:
<MODULE NAME="QTSSWebStatsModule">
        <!-- This sets the URL for the server's web stats page. If this -->
        <!-- is set to "stats" for instance, if you request: -->
        <!-- http://my.server.com:554/stats in a web browser, the server will respond -->
        <!-- with current status information. -->
        <PREF NAME="web_stats_url"></PREF>
</MODULE>      
             

<MODULE NAME="QTSSRefMovieModule" >
        <!-- Set refmovie_xfer_enabled to false to disable RTSP ref movie generation -->
        <PREF NAME="refmovie_xfer_enabled" TYPE="Bool16">true</PREF>

        <!-- refmovie_rtsp_port is the RTSP port used in the generated RTSP ref movie address -->
        <PREF NAME="refmovie_rtsp_port" TYPE="UInt16">554</PREF>
</MODULE>


<MODULE NAME="QTSSHttpFileModule">
        <!-- Module enabled or disabled -->
        <PREF NAME="http_xfer_enabled" TYPE="Bool16" >false</PREF>
        <!-- Path to the http download folder. All files -->
        <!-- that are requested from this folder are sent via HTTP -->
        <PREF NAME="http_folder">/Library/QuickTimeStreaming/Movies/http</PREF>
        <!-- Either "true" or "false". This toggles http module -->
        <!-- logging on and off. -->
        <PREF NAME="http_logging" TYPE="Bool16">true</PREF>
        <!-- Name of the http module log file. -->
        <PREF NAME="http_logfile_name">Http</PREF>
        <!-- Path to directory where http module logs are stored. -->
        <PREF NAME="http_logfile_dir">/Library/QuickTimeStreaming/Logs</PREF>
        <!-- Maximum allowed size in bytes for the http module log. A -->
        <!-- value of 0 means unlimited. -->
        <PREF NAME="http_logfile_size" TYPE="UInt32">256000</PREF>
        <!-- Amount of time in days between rolls of the  -->
        <!-- http module log. A value of 0 means unlimited. -->
        <PREF NAME="http_logfile_interval" TYPE="UInt32">7</PREF>      
</MODULE>
       

John Murata



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Streaming-server-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.