mirror of
https://github.com/morgan9e/UxPlay
synced 2026-04-14 16:24:29 +09:00
README edits
This commit is contained in:
@@ -62,8 +62,8 @@
|
||||
<p><strong>-n server_name</strong> (Default: UxPlay); server_name@_hostname_ will be the name that appears offering AirPlay services to your iPad, iPhone etc, where <em>hostname</em> is the name of the server running uxplay. This will also now be the name shown above the mirror display (X11) window.</p>
|
||||
<p><strong>-nh</strong> Do not append “<span class="citation" data-cites="_hostname_">@_hostname_</span>” at the end of the AirPlay server name.</p>
|
||||
<p><strong>-s wxh</strong> (e.g. -s 1920x1080 , which is the default ) sets the display resolution (width and height, in pixels). (This may be a request made to the AirPlay client, and perhaps will not be the final resolution you get.) w and h are whole numbers with four digits or less. Note that the <strong>height</strong> pixel size is the controlling one used by the client for determining the streaming format; the width is dynamically adjusted to the shape of the image (portrait or landscape format, depending on how an iPad is held, for example).</p>
|
||||
<p><strong>-s wxh@r</strong> As above, but also informs the AirPlay client about the screen refresh rate of the display. Default is r=60 (60 Hz); r is a whole number with three digits or less. Values greater than 255 are invalid.</p>
|
||||
<p><strong>-fps n</strong> sets a maximum frame rate (in frames per second) for the AirPlay client to stream video; n must be a whole number with 3 digits or less. (The client may choose to serve video at any frame rate lower than this; default is 30 fps.) A setting below 30 fps might be useful to reduce latency if you are running more than one instance of uxplay at the same time. Values greater than 255 are ignored. This setting is only an advisory to the client device, so setting a high value will not force a high framerate. (You can test using “-vs fpsdisplaysink” to see what framerate is being received.)</p>
|
||||
<p><strong>-s wxh@r</strong> As above, but also informs the AirPlay client about the screen refresh rate of the display. Default is r=60 (60 Hz); r must be a whole number less than 256.</p>
|
||||
<p><strong>-fps n</strong> sets a maximum frame rate (in frames per second) for the AirPlay client to stream video; n must be a whole number less than 256. (The client may choose to serve video at any frame rate lower than this; default is 30 fps.) A setting below 30 fps might be useful to reduce latency if you are running more than one instance of uxplay at the same time. <em>This setting is only an advisory to the client device, so setting a high value will not force a high framerate.</em> (You can test using “-vs fpsdisplaysink” to see what framerate is being received.)</p>
|
||||
<p><strong>-o</strong> turns on an “overscanned” option for the display window. This reduces the image resolution by using some of the pixels requested by option -s wxh (or their default values 1920x1080) by adding an empty boundary frame of unused pixels (which would be lost in a full-screen display that overscans, and is not displayed by gstreamer). Recommendation: <strong>don’t use this option</strong> unless there is some special reason to use it.</p>
|
||||
<p><strong>-p</strong> allows you to select the network ports used by UxPlay (these need to be opened if the server is behind a firewall). By itself, -p sets “legacy” ports TCP 7100, 7000, 7001, UDP 6000, 6001, 7011. -p n (e.g. -p 35000) sets TCP and UDP ports n, n+1, n+2. -p n1,n2,n3 (comma-separated values) sets each port separately; -p n1,n2 sets ports n1,n2,n2+1. -p tcp n or -p udp n sets just the TCP or UDP ports. Ports must be in the range [1024-65535].</p>
|
||||
<p>If the -p option is not used, the ports are chosen dynamically (randomly), which will not work if a firewall is running.</p>
|
||||
@@ -75,8 +75,7 @@
|
||||
<p><strong>-vs 0</strong> suppresses display of streamed video, but plays streamed audio. (The client’s screen is still mirrored at a reduced rate of 1 frame per second, but is not rendered or displayed.) This feature (which streams audio in AAC audio format) is now probably unneeded, as UxPlay can now stream superior-quality Apple Lossless audio without video in Airplay non-mirror mode.</p>
|
||||
<p><strong>-as <em>audiosink</em></strong> chooses the GStreamer audiosink, instead of letting autoaudiosink pick it for you. Some audiosink choices are: pulsesink, alsasink, osssink, oss4sink, and osxaudiosink (for macOS). Using quotes “…” might allow some parameters to be included with the audiosink name. (Some choices of audiosink might not work on your system.)</p>
|
||||
<p><strong>-as 0</strong> (or just <strong>-a</strong>) suppresses playing of streamed audio, but displays streamed video.</p>
|
||||
<p><strong>-t <em>timeout</em></strong> will cause the server to relaunch (without stopping uxplay) if no connections have been present during the previous <em>timeout</em> seconds. You may wish to use this if the Server is not visible to new Clients that were inactive when the Server was launched, and an idle Bonjour registration eventually becomes unavailable for new connections (this is a workaround for what may be due to a problem with your DNS-SD or Avahi setup).<br />
|
||||
<em>This option should <strong>not</strong> be used on macOS, as a window created by GStreamer does not terminate correctly (it causes a segfault) if it is still open when the GStreamer pipeline is closed.</em></p>
|
||||
<p><strong>-t <em>timeout</em></strong> will cause the server to relaunch (without stopping uxplay) if no connections have been present during the previous <em>timeout</em> seconds. You may wish to use this if the Server is not visible to new Clients that were inactive when the Server was launched, and an idle Bonjour registration eventually becomes unavailable for new connections (this is a workaround for what may be due to a problem with your DNS-SD or Avahi setup). <em>This option should <strong>not</strong> be used on macOS, as a window created by GStreamer does not terminate correctly (it causes a segfault) if it is still open when the GStreamer pipeline is closed.</em></p>
|
||||
<h1 id="troubleshooting"><strong>Troubleshooting:</strong></h1>
|
||||
<p>Note: <code>uxplay</code> is run from a terminal command line, and informational messages are written to the terminal.</p>
|
||||
<h3 id="uxplay-starts-but-stalls-after-initialized-server-sockets-appears-without-any-server-name-showing-on-the-client.">1. uxplay starts, but stalls after “Initialized server socket(s)” appears, <em>without any server name showing on the client</em>.</h3>
|
||||
|
||||
19
README.md
19
README.md
@@ -260,17 +260,16 @@ Options:
|
||||
format, depending on how an iPad is held, for example).
|
||||
|
||||
**-s wxh@r** As above, but also informs the AirPlay client about the screen
|
||||
refresh rate of the display. Default is r=60 (60 Hz); r is a whole number
|
||||
with three digits or less. Values greater than 255 are invalid.
|
||||
refresh rate of the display. Default is r=60 (60 Hz); r must be a whole number
|
||||
less than 256.
|
||||
|
||||
**-fps n** sets a maximum frame rate (in frames per second) for the AirPlay
|
||||
client to stream video; n must be a whole number with 3 digits or less.
|
||||
client to stream video; n must be a whole number less than 256.
|
||||
(The client may choose to serve video at any frame rate lower
|
||||
than this; default is 30 fps.) A setting
|
||||
below 30 fps might be useful to reduce latency if you are running more than
|
||||
one instance of uxplay at the same time. Values greater than 255 are
|
||||
ignored. This setting is only an advisory to the client device, so setting
|
||||
a high value will not force a high framerate.
|
||||
than this; default is 30 fps.) A setting below 30 fps might be useful to
|
||||
reduce latency if you are running more than one instance of uxplay at the same time.
|
||||
_This setting is only an advisory to
|
||||
the client device, so setting a high value will not force a high framerate._
|
||||
(You can test using "-vs fpsdisplaysink" to see what framerate is being
|
||||
received.)
|
||||
|
||||
@@ -336,8 +335,8 @@ Also: image transforms that had been added to RPiPlay have been ported to UxPlay
|
||||
have been present during the previous _timeout_ seconds. You may wish to use this if the Server
|
||||
is not visible to new Clients that were inactive when the Server was launched, and an idle Bonjour
|
||||
registration eventually becomes unavailable for new connections (this is a workaround for what
|
||||
may be due to a problem with your DNS-SD or Avahi setup).
|
||||
_This option should **not** be used on macOS, as a window created
|
||||
may be due to a problem with your DNS-SD or Avahi setup). _This option should **not** be used on
|
||||
macOS, as a window created
|
||||
by GStreamer does not terminate correctly (it causes a segfault)
|
||||
if it is still open when the GStreamer pipeline is closed._
|
||||
|
||||
|
||||
28
README.txt
28
README.txt
@@ -328,19 +328,17 @@ the shape of the image (portrait or landscape format, depending on how
|
||||
an iPad is held, for example).
|
||||
|
||||
**-s wxh\@r** As above, but also informs the AirPlay client about the
|
||||
screen refresh rate of the display. Default is r=60 (60 Hz); r is a
|
||||
whole number with three digits or less. Values greater than 255 are
|
||||
invalid.
|
||||
screen refresh rate of the display. Default is r=60 (60 Hz); r must be a
|
||||
whole number less than 256.
|
||||
|
||||
**-fps n** sets a maximum frame rate (in frames per second) for the
|
||||
AirPlay client to stream video; n must be a whole number with 3 digits
|
||||
or less. (The client may choose to serve video at any frame rate lower
|
||||
than this; default is 30 fps.) A setting below 30 fps might be useful to
|
||||
reduce latency if you are running more than one instance of uxplay at
|
||||
the same time. Values greater than 255 are ignored. This setting is only
|
||||
an advisory to the client device, so setting a high value will not force
|
||||
a high framerate. (You can test using "-vs fpsdisplaysink" to see what
|
||||
framerate is being received.)
|
||||
AirPlay client to stream video; n must be a whole number less than 256.
|
||||
(The client may choose to serve video at any frame rate lower than this;
|
||||
default is 30 fps.) A setting below 30 fps might be useful to reduce
|
||||
latency if you are running more than one instance of uxplay at the same
|
||||
time. *This setting is only an advisory to the client device, so setting
|
||||
a high value will not force a high framerate.* (You can test using "-vs
|
||||
fpsdisplaysink" to see what framerate is being received.)
|
||||
|
||||
**-o** turns on an "overscanned" option for the display window. This
|
||||
reduces the image resolution by using some of the pixels requested by
|
||||
@@ -411,10 +409,10 @@ uxplay) if no connections have been present during the previous
|
||||
to new Clients that were inactive when the Server was launched, and an
|
||||
idle Bonjour registration eventually becomes unavailable for new
|
||||
connections (this is a workaround for what may be due to a problem with
|
||||
your DNS-SD or Avahi setup).\
|
||||
*This option should **not** be used on macOS, as a window created by
|
||||
GStreamer does not terminate correctly (it causes a segfault) if it is
|
||||
still open when the GStreamer pipeline is closed.*
|
||||
your DNS-SD or Avahi setup). *This option should **not** be used on
|
||||
macOS, as a window created by GStreamer does not terminate correctly (it
|
||||
causes a segfault) if it is still open when the GStreamer pipeline is
|
||||
closed.*
|
||||
|
||||
**Troubleshooting:**
|
||||
====================
|
||||
|
||||
Reference in New Issue
Block a user