From 4bb14837dd09777e45793bda42512d900c6b500e Mon Sep 17 00:00:00 2001
From: Lennart Poettering
Date: Mon, 8 Nov 2004 23:48:19 +0000
Subject: implemented pax11publish.c
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@275 fefdeb5f-60dc-0310-8127-8f9354f1896f
---
doc/FAQ.html.in | 18 +++++++++++++++++-
1 file changed, 17 insertions(+), 1 deletion(-)
(limited to 'doc')
diff --git a/doc/FAQ.html.in b/doc/FAQ.html.in
index f1bf2414..751ef562 100644
--- a/doc/FAQ.html.in
+++ b/doc/FAQ.html.in
@@ -126,7 +126,23 @@ connect to a running polypaudio daemon try using the following commands:
killall -USR2 polypaudio
bidilink unix-client:/tmp/polypaudio/cli
-BTW: Someone should package that great tool for Debian!
+BTW: Someone should package that great tool for Debian!
+
+
+
+How do the polypaudio libraries decide where to connect to?
+The following rule applies:
+
+ - If the the application using the library specifies a server to connect to it is used. If the connection fails, the library fails too.
+ - If the environment variable POLYP_SERVER is defined the library connects to that server. If the connection fails, the library fails too.
+ - If $DISPLAY is set, the library tries to connect to that server and looks for the root window property POYLP_SERVER for the host to connect to. If POLYP_COOKIE is set it is used as authentication cookie.
+ - If the client configuration file (~/.polypaudio/client.conf or /etc/polypaudio/client.conf) sets the server address, the library connects to that server. If the connection fails, the library fails too.
+ - The library tries to connect to the default local UNIX socket for polypaudio servers. If the connection fails, it proceeds with the next item.
+ - The library tries to connect to the default local TCP socket for polypaudio servers. If the connection fails, it proceeds with the next item.
+ - If $DISPLAY is set, the library tries to connect to the default TCP port of that host. If the connection fails, it proceeds with the next item.
+ - The connection fails.
+
+
--
cgit