From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mail.toke.dk; spf=pass (mailfrom) smtp.mailfrom=goffi.org (client-ip=51.15.21.97; helo=cete.goffi.org; envelope-from=goffi@goffi.org; receiver=) Authentication-Results: mail.toke.dk; dkim=pass (1024-bit key; unprotected) header.d=goffi.org header.i=@goffi.org header.a=rsa-sha256 header.s=cete-goffi-org header.b=KTUIJNyw Received: from cete.goffi.org (cete.goffi.org [51.15.21.97]) by mail.toke.dk (Postfix) with ESMTPS id E9595A7B16C for ; Mon, 22 Jul 2024 22:44:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=goffi.org; s=cete-goffi-org; h=Subject:Content-Type:MIME-Version:References:In-Reply-To: Message-ID:Date:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=YuohGnThnyt95kEJf2I14igGJ2QaqJUQv1puNVccEJc=; b=KTUIJNywFqMlh4/eUlBrfakxoG a30OUPamP2e6YADuUDwxequc6PftyD6d004OJ6kI7qL+ioNr475GWjWmo7nTX9iljW7NU5YnyQdCo vWqHvmEYpa9XS72cySx2raxUk7qdHAdzJ4h8qUKmHoA7q6QN8wTbC9jYuPBtHnLzYaDg=; From: Goffi To: galene@lists.galene.org Date: Mon, 22 Jul 2024 22:44:18 +0200 Message-ID: <5972516.MhkbZ0Pkbq@tazar3> In-Reply-To: <87wmldcmfh.wl-jch@irif.fr> References: <172167026848.994.7816686770190093792@gauss.local> <172167246572.994.11732831478625410475@gauss.local> <87wmldcmfh.wl-jch@irif.fr> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1810430.VLH7GnMWUR"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-SA-Exim-Mail-From: goffi@goffi.org X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on goffi.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_ALL,URIBL_BLOCKED autolearn=no autolearn_force=no version=4.0.0 X-SA-Exim-Version: 4.2.1 (built Wed, 06 Jul 2022 17:57:39 +0000) X-MailFrom: goffi@goffi.org X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation Message-ID-Hash: QKJSMMLSIHY7GB4RC4PXW4DMBO6H5Y65 X-Message-ID-Hash: QKJSMMLSIHY7GB4RC4PXW4DMBO6H5Y65 X-Mailman-Approved-At: Mon, 22 Jul 2024 22:48:47 +0200 X-Mailman-Version: 3.3.9 Precedence: list Subject: [Galene] Re: Need explanation on protocol 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: --nextPart1810430.VLH7GnMWUR Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8"; protected-headers="v1" From: Goffi To: galene@lists.galene.org Subject: Re: [Galene] Re: Need explanation on protocol Date: Mon, 22 Jul 2024 22:44:18 +0200 Message-ID: <5972516.MhkbZ0Pkbq@tazar3> In-Reply-To: <87wmldcmfh.wl-jch@irif.fr> MIME-Version: 1.0 Le lundi 22 juillet 2024, 20:26:58 UTC+2 Juliusz Chroboczek a =C3=A9crit : > > https://repos.goffi.org/libervia-backend/file/tip/libervia/backend/plug= ins/ plugin_comp_conferences/__init__.py#l130 >=20 > Ah, I think I see the problem. >=20 > There's the client id, and there's the stream id. You're reusing the > client id as the stream id, and that's not correct: if a client publishes > multiple streams, they must choose different ids. >=20 > So you should be doing something like: >=20 > def send_offer(self, session: dict, sdp: str) -> None: > ... > "id": str(uuid()), > ... >=20 > instead of self["id"]. >=20 > -- Juliusz >=20 >=20 > _______________________________________________ > Galene mailing list -- galene@lists.galene.org > To unsubscribe send an email to galene-leave@lists.galene.org >=20 Alright, I think that I've got it. I was somehow thinking that Gal=C3=A8ne created a whole new ID when forward= ing a=20 stream, so when I received the identical ID as my offer, I thought it was=20 Louise's stream sent to me. But actually, it was my stream sent to Louise=20 using the other client (both are handled by the same instance, hence my=20 confusion). By logging the client ID, I see now what is happening, and I should be able= to=20 fix my code. Thanks a lot for your help and work on Gal=C3=A8ne! Best, Goffi --nextPart1810430.VLH7GnMWUR Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEsNZvWyEnjW9SVudbKqmcu6xuKwwFAmaexKIACgkQKqmcu6xu KwyzRggAzyjA6+6llBhU69W2fo0H7uDZTUdyQDAe+ysvQW8syEvspe3Z3HxcToHF 1hcukGehrAv/NhQ8YRGw7Hxu04/mTpIefvfZqICsrBtN2cYXknfzcyqtNl3xncLU JyabcOh9nBfDEU/XE8Ia9mbdhIpdGPvYUjkPwt7xuu5wWoUPKo0QSr4J5ZyW1PuE 4K1wkGc5x11RKAPavUKXD7apWIOEpSu6Qolw54oElsZzDUQkO3uwY9KyMpWy1Atf 9wRPRGcKv7bjmc32OHyKC/I3b3HVN933tBzT3iFW5Ub+DbH1rcA8CxJDJzwD3Cmq 0HQqeh/s9i2h14DMErx7z6qxOAr1xA== =4TF/ -----END PGP SIGNATURE----- --nextPart1810430.VLH7GnMWUR--