Re: [Wish] Prototype WHIP endpoint in Galene

Lorenzo Miniero <lorenzo@meetecho.com> Thu, 09 September 2021 14:47 UTC

Return-Path: <lorenzo@meetecho.com>
X-Original-To: wish@ietfa.amsl.com
Delivered-To: wish@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8AE273A155B for <wish@ietfa.amsl.com>; Thu, 9 Sep 2021 07:47:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.399
X-Spam-Level:
X-Spam-Status: No, score=-2.399 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.499, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=aruba.it
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2oizDRR1BhLc for <wish@ietfa.amsl.com>; Thu, 9 Sep 2021 07:47:21 -0700 (PDT)
Received: from smtpcmd0757.aruba.it (smtpcmd0757.aruba.it [62.149.156.57]) by ietfa.amsl.com (Postfix) with ESMTP id F40B73A156B for <wish@ietf.org>; Thu, 9 Sep 2021 07:47:17 -0700 (PDT)
Received: from lminiero ([2.232.93.8]) by Aruba Outgoing Smtp with ESMTPSA id OLKZmY1J7ic47OLKZmRB4l; Thu, 09 Sep 2021 16:47:13 +0200
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aruba.it; s=a1; t=1631198833; bh=SPriEA93AE2l8+7c1GWwwLEZWE2fIfLgodUeVobaBNA=; h=Date:From:To:Subject:MIME-Version:Content-Type; b=i0pdDasrIPUZfgxwPwEDeaPRJv+sJzmaL2UDY2kbuuijL12kOm5h/p0BmrrTpQ087 9aAtclNi4iJXmkdzj2xxuv0kGRO0mwf9Ck7yOBvmeKPAuz0yudxVj/dIMU4UaDsVlJ Vpd9wSlWqIyvdkvHmNzsA2jAWkLjuVwpZQoIorCSVIQvTxDyeblGeNu52de2o8muAe /CJ6r6vapmSvetnL9LpaLMFHS1y2sVrfdCBbOCMvvT6LGNEwAtnt1IfkjuHQesYh+h IY2Gy9N3HEEJ6HsarIEn/GgjijhBp7AZFO40f4MwhPrKmEPkcyA3WKO8dlAcfgKkBh GN6lTW9KNp6yw==
Date: Thu, 9 Sep 2021 16:47:11 +0200
From: Lorenzo Miniero <lorenzo@meetecho.com>
To: Juliusz Chroboczek <jch@irif.fr>
Cc: wish@ietf.org
Message-ID: <20210909164711.0bb68871@lminiero>
In-Reply-To: <87bl51hl6w.wl-jch@irif.fr>
References: <87bl51hl6w.wl-jch@irif.fr>
Organization: Meetecho
X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.33; x86_64-redhat-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-CMAE-Envelope: MS4wfE8Gq3b6AE7rXmio421EX05Qo/ZdnSDhIy4WlkkfUoEAmYU68lBAOXwyg7sDxOy8J6L/l/wT9SuehxHB+y+IOfXp/r7rE9VFgf4QWN7lIT54SiqfJwG0 hw6VbhAoj8yx6UxKi6zxuJlIBFdPeQru0bOcvVAnyb50yoTQ1bIETxsd
Archived-At: <https://mailarchive.ietf.org/arch/msg/wish/b4UCKVjz7hKpKg0zy43C-qFXhZE>
Subject: Re: [Wish] Prototype WHIP endpoint in Galene
X-BeenThere: wish@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: WebRTC Ingest Signaling over HTTPS <wish.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/wish>, <mailto:wish-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/wish/>
List-Post: <mailto:wish@ietf.org>
List-Help: <mailto:wish-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/wish>, <mailto:wish-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 09 Sep 2021 14:47:27 -0000

On Thu, 09 Sep 2021 16:34:31 +0200
Juliusz Chroboczek <jch@irif.fr> wrote:

> I've just hacked together a WHIP endpoint in Galene.  It has been
> shown to interoperate with Lorenzo's client (for which thanks) when
> authentication is disabled in Galene.  I haven't spent any time
> trying to work out why authentication fails.
> 
> To test:
> 
>   git clone -b whip https://github.com/jech/galene
>   cd galene
>   mkdir groups
>   echo '{"presenter":[{}], "allow-anonymous":true}' > groups/test.json
>   go run galene.go
> 
> Then point your browser at
> 
>   https://localhost:8443/group/test
> 
> and log-in (empty username, empty password).  Finally, point your
> favourite WHIP client at the same URL, for example
> 
>   whip-client -l 6 -u https://localhost:8443/group/test -A
> "audiotestsrc is-live=true wave=red-noise ! audioconvert !
> audioresample ! queue ! opusenc ! rtpopuspay pt=100 ssrc=1 ! queue !
> application/x-rtp,media=audio,encoding-name=OPUS,payload=100" -V
> "videotestsrc is-live=true pattern=ball ! videoconvert ! queue !
> vp8enc deadline=1 ! rtpvp8pay pt=96 ssrc=2 ! queue !
> application/x-rtp,media=video,encoding-name=VP8,payload=96"
> 
> and rejoice!
> 
> -- Juliusz


Hi Juliusz,

I can confirm it works from here, thanks for taking the time to test
this, and more importantly giving me feedback to improve the code!

Lorenzo

-- 
I'm getting older but, unlike whisky, I'm not getting any better
https://twitter.com/elminiero