Lines 1-5
Link Here
|
1 |
<?xml version ="1.0"?> |
1 |
<?xml version ="1.0"?> |
2 |
<!-- This is a sample /etc/streaming/streamingserver.xml file --> |
2 |
<!-- This is a sample /etc/dss/streamingserver.xml file --> |
3 |
<!-- The Document Type Definition (DTD) for the file --> |
3 |
<!-- The Document Type Definition (DTD) for the file --> |
4 |
<!DOCTYPE CONFIGURATION [ |
4 |
<!DOCTYPE CONFIGURATION [ |
5 |
<!ELEMENT CONFIGURATION (SERVER, MODULE*)> |
5 |
<!ELEMENT CONFIGURATION (SERVER, MODULE*)> |
Lines 79-85
Link Here
|
79 |
<PREF NAME="error_logfile_interval" TYPE="UInt32">7</PREF> |
79 |
<PREF NAME="error_logfile_interval" TYPE="UInt32">7</PREF> |
80 |
|
80 |
|
81 |
<!-- error log. A value of 0 means unlimited. --> |
81 |
<!-- error log. A value of 0 means unlimited. --> |
82 |
<PREF NAME="error_logfile_dir">/var/streaming/logs</PREF> |
82 |
<PREF NAME="error_logfile_dir">/var/log/dss</PREF> |
83 |
|
83 |
|
84 |
<!-- Name of the error log file. --> |
84 |
<!-- Name of the error log file. --> |
85 |
<PREF NAME="error_logfile_name">Error</PREF> |
85 |
<PREF NAME="error_logfile_name">Error</PREF> |
Lines 88-94
Link Here
|
88 |
<PREF NAME="pid_file">/var/run/DarwinStreamingServer.pid</PREF> |
88 |
<PREF NAME="pid_file">/var/run/DarwinStreamingServer.pid</PREF> |
89 |
|
89 |
|
90 |
<!-- Path to the folder containing dynamic loadable server modules --> |
90 |
<!-- Path to the folder containing dynamic loadable server modules --> |
91 |
<PREF NAME="module_folder">/usr/local/sbin/StreamingServerModules</PREF> |
91 |
<PREF NAME="module_folder">/usr/lib/dss</PREF> |
92 |
|
92 |
|
93 |
<!-- If the server discovers it is serving more than its --> |
93 |
<!-- If the server discovers it is serving more than its --> |
94 |
<!-- allowed maximum bandwidth (using the average bandwidth computation) it --> |
94 |
<!-- allowed maximum bandwidth (using the average bandwidth computation) it --> |
Lines 117-123
Link Here
|
117 |
<PREF NAME="bind_ip_addr">0</PREF> |
117 |
<PREF NAME="bind_ip_addr">0</PREF> |
118 |
|
118 |
|
119 |
<!-- Path to the root folder for movies. --> |
119 |
<!-- Path to the root folder for movies. --> |
120 |
<PREF NAME="movie_folder">/usr/local/movies/</PREF> |
120 |
<PREF NAME="movie_folder">/var/lib/dss/media</PREF> |
121 |
|
121 |
|
122 |
<!-- Maximum amount of bandwidth the server is allowed to serve. --> |
122 |
<!-- Maximum amount of bandwidth the server is allowed to serve. --> |
123 |
<!-- value is in kilobits/sec. While this limit is exceeded, new client requests. --> |
123 |
<!-- value is in kilobits/sec. While this limit is exceeded, new client requests. --> |
Lines 141-150
Link Here
|
141 |
<PREF NAME="rtsp_timeout" TYPE="UInt32">0</PREF> |
141 |
<PREF NAME="rtsp_timeout" TYPE="UInt32">0</PREF> |
142 |
|
142 |
|
143 |
<!-- Run as this user --> |
143 |
<!-- Run as this user --> |
144 |
<PREF NAME="run_user_name"></PREF> |
144 |
<PREF NAME="run_user_name">nobody</PREF> |
145 |
|
145 |
|
146 |
<!-- Member of this group --> |
146 |
<!-- Member of this group --> |
147 |
<PREF NAME="run_group_name"></PREF> |
147 |
<PREF NAME="run_group_name">nogroup</PREF> |
148 |
|
148 |
|
149 |
<!-- The following 8 prefs implement the server's thinning algorithm. --> |
149 |
<!-- The following 8 prefs implement the server's thinning algorithm. --> |
150 |
<!-- They are all in milliseconds --> |
150 |
<!-- They are all in milliseconds --> |
Lines 293-302
Link Here
|
293 |
<PREF NAME="request_logfile_size" TYPE="UInt32">10240000</PREF> |
293 |
<PREF NAME="request_logfile_size" TYPE="UInt32">10240000</PREF> |
294 |
|
294 |
|
295 |
<!-- Path to directory where access logs are stored. --> |
295 |
<!-- Path to directory where access logs are stored. --> |
296 |
<PREF NAME="request_logfile_dir">/var/streaming/logs</PREF> |
296 |
<PREF NAME="request_logfile_dir">/var/log/dss</PREF> |
297 |
|
297 |
|
298 |
<!-- Name of the access log file. --> |
298 |
<!-- Name of the access log file. --> |
299 |
<PREF NAME="request_logfile_name">StreamingServer</PREF> |
299 |
<PREF NAME="request_logfile_name">dss</PREF> |
300 |
|
300 |
|
301 |
<!-- Either "true" or "false". Logs date time field --> |
301 |
<!-- Either "true" or "false". Logs date time field --> |
302 |
<!-- in GMT if true and in localtime if false--> |
302 |
<!-- in GMT if true and in localtime if false--> |
Lines 364-370
Link Here
|
364 |
<PREF NAME="mp3_request_logfile_name" >mp3_access</PREF> |
364 |
<PREF NAME="mp3_request_logfile_name" >mp3_access</PREF> |
365 |
|
365 |
|
366 |
<!-- Path to directory where access logs are stored. --> |
366 |
<!-- Path to directory where access logs are stored. --> |
367 |
<PREF NAME="mp3_request_logfile_dir">/var/streaming/logs</PREF> |
367 |
<PREF NAME="mp3_request_logfile_dir">/var/log/dss</PREF> |
368 |
|
368 |
|
369 |
<!-- Either "true" or "false". This toggles --> |
369 |
<!-- Either "true" or "false". This toggles --> |
370 |
<!-- mp3 access logging on and off. --> |
370 |
<!-- mp3 access logging on and off. --> |
Lines 396-409
Link Here
|
396 |
<PREF NAME="http_xfer_enabled" TYPE="Bool16" >false</PREF> |
396 |
<PREF NAME="http_xfer_enabled" TYPE="Bool16" >false</PREF> |
397 |
<!-- Path to the http download folder. All files --> |
397 |
<!-- Path to the http download folder. All files --> |
398 |
<!-- that are requested from this folder are sent via HTTP --> |
398 |
<!-- that are requested from this folder are sent via HTTP --> |
399 |
<PREF NAME="http_folder">/usr/local/movies/http</PREF> |
399 |
<PREF NAME="http_folder">/var/lib/dss/media/http</PREF> |
400 |
<!-- Either "true" or "false". This toggles http module --> |
400 |
<!-- Either "true" or "false". This toggles http module --> |
401 |
<!-- logging on and off. --> |
401 |
<!-- logging on and off. --> |
402 |
<PREF NAME="http_logging" TYPE="Bool16">true</PREF> |
402 |
<PREF NAME="http_logging" TYPE="Bool16">true</PREF> |
403 |
<!-- Name of the http module log file. --> |
403 |
<!-- Name of the http module log file. --> |
404 |
<PREF NAME="http_logfile_name">Http</PREF> |
404 |
<PREF NAME="http_logfile_name">Http</PREF> |
405 |
<!-- Path to directory where http module logs are stored. --> |
405 |
<!-- Path to directory where http module logs are stored. --> |
406 |
<PREF NAME="http_logfile_dir">/var/streaming/logs</PREF> |
406 |
<PREF NAME="http_logfile_dir">/var/log/dss</PREF> |
407 |
<!-- Maximum allowed size in bytes for the http module log. A --> |
407 |
<!-- Maximum allowed size in bytes for the http module log. A --> |
408 |
<!-- value of 0 means unlimited. --> |
408 |
<!-- value of 0 means unlimited. --> |
409 |
<PREF NAME="http_logfile_size" TYPE="UInt32">256000</PREF> |
409 |
<PREF NAME="http_logfile_size" TYPE="UInt32">256000</PREF> |
Lines 518-524
Link Here
|
518 |
<MODULE NAME="QTSSRelayModule"> |
518 |
<MODULE NAME="QTSSRelayModule"> |
519 |
<!-- Relay preferences file. This file should be in the documented .rcf (Relay config file) --> |
519 |
<!-- Relay preferences file. This file should be in the documented .rcf (Relay config file) --> |
520 |
<!-- format. The Relay will use this to load up all relay streams --> |
520 |
<!-- format. The Relay will use this to load up all relay streams --> |
521 |
<PREF NAME="relay_prefs_file">/etc/streaming/relayconfig.xml</PREF> |
521 |
<PREF NAME="relay_prefs_file">/etc/dss/relayconfig.xml</PREF> |
522 |
|
522 |
|
523 |
<!-- enter this URL into a web browser and get a web page with current stats on --> |
523 |
<!-- enter this URL into a web browser and get a web page with current stats on --> |
524 |
<!-- your active relays --> |
524 |
<!-- your active relays --> |
Lines 530-539
Link Here
|
530 |
<PREF NAME="modAccess_qtaccessfilename">qtaccess</PREF> |
530 |
<PREF NAME="modAccess_qtaccessfilename">qtaccess</PREF> |
531 |
|
531 |
|
532 |
<!-- The default path and file name for the AccessModule's groups list --> |
532 |
<!-- The default path and file name for the AccessModule's groups list --> |
533 |
<PREF NAME="modAccess_groupsfilepath">/etc/streaming/qtgroups</PREF> |
533 |
<PREF NAME="modAccess_groupsfilepath">/etc/dss/qtgroups</PREF> |
534 |
|
534 |
|
535 |
<!-- The default path and file name for the AccessModule's user list --> |
535 |
<!-- The default path and file name for the AccessModule's user list --> |
536 |
<PREF NAME="modAccess_usersfilepath">/etc/streaming/qtusers</PREF> |
536 |
<PREF NAME="modAccess_usersfilepath">/etc/dss/qtusers</PREF> |
537 |
</MODULE> |
537 |
</MODULE> |
538 |
|
538 |
|
539 |
<MODULE NAME="QTSSAdminModule"> |
539 |
<MODULE NAME="QTSSAdminModule"> |