X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/b0116b5c04b64e9352d1c63f0f667a1d9a5d5c11..af52ec8453e492e8a366c77cb63fba1989380c9f:/doc/disorder_config.5.in diff --git a/doc/disorder_config.5.in b/doc/disorder_config.5.in index 8f0c8f3..1d690b0 100644 --- a/doc/disorder_config.5.in +++ b/doc/disorder_config.5.in @@ -199,17 +199,42 @@ as it cannot start up without a valid config file.) Configuration files are read in the following order: .TP .I pkgconfdir/config +Or +.BR $DISORDER_CONFIG , +if that's set; overridden by +.B \-c +.RB ( \-\-config ) +command line option, except in +.BR disrder-playrtp (1), +which uses +.BR \-C . .TP .I pkgconfdir/config.private +Or +.BR $DISORDER_PRIVCONFIG , +if that's set, else +.BR $DISORDER_CONFIG.private . Should be readable only by the jukebox group. Not really useful any more and will be abolished in future. .TP .I ~\fRUSERNAME\fI/.disorder/passwd +Or +.BR $DISORDER_USERCONFIG , +if that's set; else +.BR $DISORDER_HOME/passwd ; +overridden by +.B \-u +.RB ( \-\-user-config ) +command-line option. Per-user client configuration. Optional but if it exists must be readable only by the relevant user. Would normally contain a \fBpassword\fR directive. .TP .I pkgconfdir/config.\fRUSERNAME +(Or +.BR $DISORDER_USERCONFIG_SYS , +if that's set; else +.BR $DISORDER_CONFIG.\fIUSERNAME .) Per-user system-controlled client configuration. Optional but if it exists must be readable only by the relevant user. Would normally contain a \fBpassword\fR directive. @@ -654,6 +679,66 @@ anything currently listed in the recently-played list. New values of this option may be picked up from the configuration file even without a reload. .TP +.B rtp_always_request yes\fR|\fBno +If +.B yes +then +.BR disorder-playrtp (1) +will always request a dedicated RTP stream, +rather than contacting the server to discover +a broadcast or multicast address. +(This behaviour can be overridden by +setting a suitable address on the command-line.) +The default is +.BR no . +.IP +This option is experimental, +and may change or be removed in a future release. +.TP +.B rtp_maxbuffer \fIFRAMES\fR +Set +.BR disorder-playrtp (1)'s +buffer size to the given number of +.IR FRAMES . +If this is zero, then +.B disorder-playrtp +will select a default buffer size. +(This setting can be overridden by passing +a suitable command-line option.) +The default value is +.BR 0 . +.IP +This option is experimental, +and may change or be removed in a future release. +.TP +.B rtp_max_payload \fBYTES\fR +Don't send RTP packets with a UDP payload larger than +.I BYTES +(including the 12-byte RTP header). If you know that you will be transmitting +RTP over networks with an unusually low MTU size, then it is probably useful to +set this option. +.IP +This option is experimental, +and may change or be removed in a future release. +.TP +.B rtp_minbuffer \fIFRAMES\fR +Set +.BR disorder-playrtp (1)'s +buffer low-water-mark to the given number of +.IR FRAMES . +If this is zero, then +.B disorder-playrtp +will select a default low-water-mark. +(This setting can be overridden by passing +a suitable command-line option.) +.IP +This option is experimental, +and may change or be removed in a future release. +The default value is +.BR 0 . +.IP +This option is experimental, and may change or be removed in a future release. +.TP .B rtp_mode \fIMODE\fR The network transmission mode for the \fBrtp\fR backend. Possible values are: @@ -676,6 +761,68 @@ Choose one of the above based on the destination address. This is the default, for backwards compatibility reasons. .RE .TP +.B rtp_mtu_discovery \fIOPTION\fR +Control whether the system attemps path-MTU discovery using RTP packets +transmitted over IPv4. (This is not configurable in IPv6.) Possible values +are: +.RS +.TP +.B default +Do whatever the kernel usually does with UDP packets. This is, err, the +default. +.TP +.B yes +Force path-MTU disocvery. The `don't fragment' bit is set on outgoing packets +and we assume that the kernel will handle ICMP `fragmentation needed' errors +coming back and fragment accordingly. +.TP +.B no +Disable path-MTU discovery. Packets will be sent without the `don't fragment' +bit, and routers will be expected to fragment packets as necessary. +.RE +.IP +This option is experimental, and may change or be removed in a future release. +.TP +.B rtp_rcvbuf \fISIZE\fR +Set +.BR disorder-playrtp (1)'s +socket receive buffer to at least +.IB SIZE . +(This setting can be overridden by passing +a suitable command-line option.) +The default value is +.BR 0 . +.IP +This option is experimental, +and may change or be removed in a future release. +.TP +.B rtp_request_address \fR[\fIFAMILY\fR] \fR[\fIHOST\fR] \fISERVICE\fR +If +.BR disorder-playrtp (1) +is to request a unicast RTP stream, +then it should establish its receiving socket +to listen on the given address. +The +.I FAMILY +and +.I HOST +may be omitted, in which case +.B disorder-playrtp +uses heuristics to determine suitable values. +The +.I PORT +may be omitted, in which case +.B disorder-playrtp +uses a kernel-allocated port. +(This setting can be overridden by passing +a suitable address on the command line.) +The default is +.RB ` "\- 0" ', +which uses a heuristically-chosen address and a kernel-allocated port. +.IP +This option is experimental, +and may change or be removed in a future release. +.TP .B sample_format \fIBITS\fB/\fIRATE\fB/\fICHANNELS Describes the sample format expected by the \fBspeaker_command\fR (below). The components of the format specification are as follows: