From 8439d8c9f2628e76b1725c14db0dd6f2d035c419 Mon Sep 17 00:00:00 2001 From: Azlux Date: Fri, 5 Jun 2020 01:02:31 +0200 Subject: [PATCH] update API for stereo --- API.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/API.md b/API.md index 3a5fa05..d754e50 100644 --- a/API.md +++ b/API.md @@ -1,7 +1,7 @@ API === ## main Mumble object -> `class Mumble(host, user, port=64738, password='', certfile=None, keyfile=None, reconnect=False, tokens=[], debug=False)` +> `class Mumble(host, user, port=64738, password='', certfile=None, keyfile=None, reconnect=False, tokens=[], stereo=False,debug=False)` It should be quite straightforward. `debug=True` will generate a LOT of stdout messages. Otherwise it should be silent in normal conditions. Reconnect should allow the library to reconnect automatically if the server disconnect it. @@ -14,6 +14,8 @@ The `certfile` parameter takes the path to a Mumble certificate in `.pem` format ```$ openssl pkcs12 -in PATH_TO_CERTFILE.p12 -out CERTFILE_NAME.pem -nocerts -nodes``` for the key file. +The `stereo` allow you to send stereo audio, only available with compatible mumble version (>1.3) + > `Mumble.start()` Start the library thread and the connection process