Galène videoconferencing server discussion list archives
 help / color / mirror / Atom feed
From: Juliusz Chroboczek <jch@irif.fr>
To: Goffi <goffi@goffi.org>
Cc: galene@lists.galene.org
Subject: [Galene] Re: Need explanation on protocol
Date: Mon, 22 Jul 2024 20:26:58 +0200	[thread overview]
Message-ID: <87wmldcmfh.wl-jch@irif.fr> (raw)
In-Reply-To: <172167246572.994.11732831478625410475@gauss.local>

> https://repos.goffi.org/libervia-backend/file/tip/libervia/backend/plugins/plugin_comp_conferences/__init__.py#l130

Ah, I think I see the problem.

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.

So you should be doing something like:

   def send_offer(self, session: dict, sdp: str) -> None:
       ...
                "id": str(uuid()),
       ...

instead of self["id"].

-- Juliusz



  parent reply	other threads:[~2024-07-22 18:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <172167026848.994.7816686770190093792@gauss.local>
2024-07-22 17:52 ` Juliusz Chroboczek
2024-07-22 18:02   ` Goffi
     [not found]   ` <172167246572.994.11732831478625410475@gauss.local>
2024-07-22 18:26     ` Juliusz Chroboczek [this message]
2024-07-22 20:44       ` Goffi
     [not found]       ` <172168132829.994.3096417796511056404@gauss.local>
2024-07-22 20:50         ` Juliusz Chroboczek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.galene.org/postorius/lists/galene.lists.galene.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wmldcmfh.wl-jch@irif.fr \
    --to=jch@irif.fr \
    --cc=galene@lists.galene.org \
    --cc=goffi@goffi.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox