From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mail.toke.dk; spf=pass (mailfrom) smtp.mailfrom=protonmail.com (client-ip=185.70.43.16; helo=mail-4316.protonmail.ch; envelope-from=jvanveen@protonmail.com; receiver=) Authentication-Results: mail.toke.dk; dkim=pass (2048-bit key; unprotected) header.d=protonmail.com header.i=@protonmail.com header.a=rsa-sha256 header.s=protonmail2 header.b=uG9JsXiR Received: from mail-4316.protonmail.ch (mail-4316.protonmail.ch [185.70.43.16]) by mail.toke.dk (Postfix) with ESMTPS id 367B291E797 for ; Tue, 25 Jan 2022 09:23:49 +0100 (CET) Date: Tue, 25 Jan 2022 08:23:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail2; t=1643099027; bh=FUBr40qZYdBLkRYOzqyyd9Cjq5bciiydwZ9qWFGYDpQ=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:From:To:Cc; b=uG9JsXiR6zEDbApAWtAOU+JR3iIx3gAEXPhodMZGWaoOl1aUAheTg4BInVe22QoVi 6zRH+GZCW8OhZ3iArA/cT7S0j3Oqr78/3Jo5vfsIBFEn9F3PtGJheyUzdgGPjwpPqU XFd7F6IHlFrPBoNYCt4skcJaHINB32YiG1Wcej55dkyXhSUsCj9ZnHoDbtnmh2ufAw 9xLjtXhggbwqa2lvOTDUxjUD9/cQ3WYJENX/NuQSGHce4LmBnZgwg8gEfsvRWZRdvS 4a08sAac6mWLDBjyVEFwr8z5VmOM0NNu/F/WauBzjiMGgqhQvbQ8cHuoHGokhbeMC/ 6+vkWt4dcQ+Wg== To: Juliusz Chroboczek From: Jeroen van Veen Message-ID: In-Reply-To: <87o841c6jv.wl-jch@irif.fr> References: <87h79vzi0f.wl-jch@irif.fr> <87o841c6jv.wl-jch@irif.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch Message-ID-Hash: J6OOFARPRNHT2YTGDO45R7JJMRKLSJE3 X-Message-ID-Hash: J6OOFARPRNHT2YTGDO45R7JJMRKLSJE3 X-MailFrom: jvanveen@protonmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: "galene@lists.galene.org" X-Mailman-Version: 3.3.5 Precedence: list Reply-To: Jeroen van Veen Subject: [Galene] Re: Pyrite update List-Id: =?utf-8?q?Gal=C3=A8ne_videoconferencing_server_discussion_list?= Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Thanks for the detailed info, this one is on the top of my list to fix. I still have to fix anonymous login too. Somewhat out-of-scope for now, but= I also would like to see a way where a user can reuse it's session and doesn't hav= e to go through the login screen every time. I'll probably try to combine tha= t with the new authorization method that Galene offers. Jeroen =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Original Me= ssage =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Op maandag 24 januari 2022 om 7:49 PM schreef Juliusz Chroboczek : > > The login messages are still a bit off, when a login error occurs. > > You should make sure that you don't attempt to join before the onconnecte= d > > callback has triggered. When the user clicks the join button, you should > > render it inactive (grayed out, or whatever), and invoke the > > ServerConnection.join method. > > In the onjoined callback, you check the "kind" field. If it is "joined", > > you update your user interface to the connected state, and send > > a "request" message to receive streams (use the "permissions" field to > > decide whether to enable the present button). If, on the other hand, kind > > is "fail", then you display a suitable error message and go back to the > > initial setup. > > (Afterwards, you keep listening on the onjoined callback -- kind "change" > > indicates that your permissions have changed, which might require you to > > update your UI. Kind "leave" indicates that you've left the group, for > > example because the administrator has kicked you out.) > > -- Juliusz > > Galene mailing list -- galene@lists.galene.org > > To unsubscribe send an email to galene-leave@lists.galene.org