xpra icon
Bug tracker and wiki

Changes between Version 38 and Version 39 of Sound


Ignore:
Timestamp:
02/21/18 10:12:08 (7 months ago)
Author:
Antoine Martin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Sound

    v38 v39  
    33= Sound =
    44
    5 Unless you disable sound forwarding, you can start or stop it from the system tray at any time.
    6 If you are having issues with sound forwarding, please see [/wiki/Sound/Debugging].
     5Unless you disable audio forwarding, you can start or stop it from the system tray at any time.
     6If you are having issues with audio forwarding, please see [/wiki/Sound/Debugging].
    77
    88The client and server will negotiate which codec to use. The most widely tested and supported codecs are [http://opus-codec.org/ opus], [http://www.vorbis.com/ vorbis], [https://xiph.org/flac/ flac] and mp3.
     
    2323* {{{speaker-codec=CODEC}}} / {{{microphone-codec=CODEC}}}: Specify the codec(s) to use for sound output (speaker) or input (microphone). This parameter can be specified multiple times and the order in which the codecs are specified defines the preferred codec order. Use the special value ’help’ to get a list of options. When unspecified, all the available codecs are allowed and the first one is used.
    2424* {{{sound-source=PLUGIN[:OPTIONS]}}}: Specifies the GStreamer sound plugin used for capturing the sound stream. This affects "speaker forwarding" on the server, and "microphone" forwarding on the client. To get a list of options use the special value ''help''. It is also possible to specify plugin options using the form {{{ "−−sound−source=SOURCE:name1=value1,name2=value2,etc"}}}, ie: {{{"−−sound−source=pulse:device=device.alsa_input.pci−0000_00_14.2.analog−stereo"}}}
    25 
    26 ----
    27 
    28 Other controls only available through environment variables for fine tuning - which should rarely be needed:
    29 * {{{XPRA_GSTREAMER1}}} (defaults to {{{1}}}) set to {{{0}}} to try to use GStreamer 0.10 instead of 0.10
    30 * {{{XPRA_ALLOW_SOUND_LOOP}}} (defaults to {{{0}}}) can be set to {{{1}}} to forward sound to / from the same pulseaudio server, potentially creating a loop (not recommended)
    31 * {{{XPRA_PULSEAUDIO_DEVICE_NAME}}} to use a specific device if there is more than one device to choose from (can happen when using an existing pulseaudio server with more than one output device attached)
    32 * {{{XPRA_SOUND_CODEC_ENABLE_xxxx}}} (replace xxxx with a codec name): can be used to force enable a specific codec (not recommended)
    33 * {{{XPRA_SOUND_QUEUE_TIME}}} can be used to control the default amount of buffering on the receiver.
    34 * {{{XPRA_SOUND_GRACE_PERIOD}}} (defaults to {{{2000}}}, in milliseconds) errors will be ignored during this grace period after starting sound forwarding, to allow the sound forwarding to settle down
    35 * {{{XPRA_SOUND_SINK}}}: the default sink to use (auto-detected)
    36 * {{{XPRA_SOURCE_APPSINK}}}: the "appsink" to use for capturing sound
    37 * {{{XPRA_SOUND_SOURCE_JITTER}}} (defaults to {{{0}}}) fault injection which can be used to simulate jitter
    3825}}}
    3926
    4027{{{#!div class="box"
    4128== Screenshots ==
    42 * Sound information displayed on session info (with speaker enabled and running and microphone disabled):
     29* Audio information displayed on session info (with speaker enabled and running and microphone disabled):
    4330[[BR]]
    4431[[Image(/raw-attachment/wiki/Sound/session-info-sound.png)]]
     
    5239[[Image(/raw-attachment/wiki/Sound/pavucontrol-server.png)]]
    5340}}}
     41
     42{{{#!div class="box"
     43== Advanced Control ==
     44Other controls only available through environment variables for fine tuning - which should rarely be needed:
     45* {{{XPRA_PULSEAUDIO_DEVICE_NAME}}} to use a specific device if there is more than one device to choose from (can happen when using an existing pulseaudio server with more than one output device attached)
     46* {{{XPRA_SOUND_CODEC_ENABLE_xxxx}}} (replace xxxx with a codec name): can be used to force enable a specific codec (not recommended)
     47* {{{XPRA_SOUND_QUEUE_TIME}}} can be used to control the default amount of buffering on the receiver.
     48* {{{XPRA_SOUND_GRACE_PERIOD}}} (defaults to {{{2000}}}, in milliseconds) errors will be ignored during this grace period after starting sound forwarding, to allow the sound forwarding to settle down
     49* {{{XPRA_SOUND_SINK}}}: the default sink to use (auto-detected)
     50* {{{XPRA_SOURCE_APPSINK}}}: the "appsink" to use for capturing sound
     51* {{{XPRA_SOUND_SOURCE_JITTER}}} (defaults to {{{0}}}) fault injection which can be used to simulate jitter
     52}}}