Re: [Wish] Implementation report for draft-ietf-wish-whip-00

Sergio Garcia Murillo <sergio.garcia.murillo@gmail.com> Fri, 10 September 2021 14:04 UTC

Return-Path: <sergio.garcia.murillo@gmail.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 179BD3A0D0B for <wish@ietfa.amsl.com>; Fri, 10 Sep 2021 07:04:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=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=gmail.com
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 JMoKHxdOtPrX for <wish@ietfa.amsl.com>; Fri, 10 Sep 2021 07:04:45 -0700 (PDT)
Received: from mail-pj1-x102d.google.com (mail-pj1-x102d.google.com [IPv6:2607:f8b0:4864:20::102d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id ED7AB3A0CB9 for <wish@ietf.org>; Fri, 10 Sep 2021 07:04:44 -0700 (PDT)
Received: by mail-pj1-x102d.google.com with SMTP id f11-20020a17090aa78b00b0018e98a7cddaso1522892pjq.4 for <wish@ietf.org>; Fri, 10 Sep 2021 07:04:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=RQ0Jl+10AZzxbkxfDo5dOYs71yXhwLOWOPZvD5vGUe0=; b=oNU64kEzcsKyF0usEpOorcjm1QWNLCIXUmwgzyPIHe3nMd/bb5vYIt4f2y8uAps10+ wtRjrqqIiqdDgyNgn5Lah2S1OtYFMMl2Vs0QVP+YlIzzB60CmP3Q/gJbYhyVFRF8fYO3 9lemxeuNKCnynJlVxIXkP6zolxj/kqyrzysx+vAnLH07fIGUHeZnzOu5CjQPd1mmCOZy erp96ABzmc6L99tI+cdERB/XEvSPvrv4UGhT9c91SH8R0bXGMufJ+Gcrj1Iio8+GYPDN NHrnE2T6bXbEejJwLtWcmEBZLyQ6lA41UIwlI+5wcqh3vnVze7pvqo0gzxNrnJ3bQWmn TPrw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=RQ0Jl+10AZzxbkxfDo5dOYs71yXhwLOWOPZvD5vGUe0=; b=C5ZOfhwpiyjpuhKhpBl1A+2FVQqJ5MH/cdnjjRwpdxj10fKeKuqidr/DzUGS6Fdphh vXH7e1mycVfRquLS+euBE4GtQu8O0kzSFZD2aI4ilQIDICBbbS349g76yN8bPiR66LGI MHpr+D7S9c5sSwMP2SusGjYScYCFJIfPz0/Lz6bMSxZyUgy3aOTtuqVVdImxhJlXYTar a5DX7arsnhCUB1wjrsi9bugv5krzI9O5Mp1g4O+ypEItCizWs2d9Jqppi1jDmqpcBngI v6UN56a+MEGt1XC5WWT/b/L7LXLbWebWHm3mop/g8pW8PpPVqfvw5Xp+uK6nPakkrEm6 i0xg==
X-Gm-Message-State: AOAM53284x/ueKILNHF/GfsYhwrVJEU1zLITi3+Olb16ZlRGM5FdjsTR uik50K3Z1BJrdXvDWxms5HaW25NCy3dDMDsXyvWnd+e3
X-Google-Smtp-Source: ABdhPJxxo6ghBQOgjrFheu9SezYe53YYdg3rebXaPrLKeJnr8jFjiR5yC+BLuOqsdAUoVolPxpHdMlPiwkUH1iiEluw=
X-Received: by 2002:a17:90b:1488:: with SMTP id js8mr9843045pjb.41.1631282683343; Fri, 10 Sep 2021 07:04:43 -0700 (PDT)
MIME-Version: 1.0
References: <874kathgcl.wl-jch@irif.fr> <87wnnpg0un.wl-jch@irif.fr> <20210909185217.63e966c2@lminiero> <87czpgby87.wl-jch@irif.fr> <20210910110922.3e9afce0@lminiero> <878s04blj6.wl-jch@irif.fr> <20210910153918.4a626d78@lminiero>
In-Reply-To: <20210910153918.4a626d78@lminiero>
From: Sergio Garcia Murillo <sergio.garcia.murillo@gmail.com>
Date: Fri, 10 Sep 2021 16:04:31 +0200
Message-ID: <CA+ag07ZTzZst-GSQRTXSy8qVePXGRnKkP2iqbTVyw7uBKb0HDg@mail.gmail.com>
To: Lorenzo Miniero <lorenzo@meetecho.com>
Cc: Juliusz Chroboczek <jch@irif.fr>, WISH List <wish@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000de772805cba49840"
Archived-At: <https://mailarchive.ietf.org/arch/msg/wish/FrDcRR9yD8D2YsLHLqHRWUmxKP0>
Subject: Re: [Wish] Implementation report for draft-ietf-wish-whip-00
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: Fri, 10 Sep 2021 14:04:53 -0000

El vie, 10 sept 2021 a las 15:39, Lorenzo Miniero (<lorenzo@meetecho.com>)
escribió:

> On Fri, 10 Sep 2021 15:35:57 +0200
> Juliusz Chroboczek <jch@irif.fr> wrote:
>
> > > Yes, I checked RFC 8840 (my fault for missing it initially) and
> > > ice-ugrag, ice-pwd and the "fake" m-line are all required. I'm
> > > updating the code of both client and server right now to adhere to
> > > the spec.
> >
> > I can easily parse this information in Galene, but won't that preclude
> > writing WHIP clients in Javascript?  Neither the m-line nor the
> > ice-pwd are readily available in the onicecandidate callback, so I
> > don't see how a Javascript client could possibly avoid parsing the
> > local description in order to get that information.
> >
> > -- Juliusz
>
>
> That is a bit awkward, yes. That's indeed how I've implemented it in my
> client as well, as I'm not aware of a (simpler) way to retrieve the
> information from GStreamer's webrtcbin either.
>
>
I am implementing this in a js client as we speak. It should be possible to
retrieve the local  ice username/pwd from the ice transport object,
although not sure how widely implemented that API is on browsers. A simple
sdp parsing operation shouldn't be so difficult anyway compared to the
amount of ugly things we have to do to mungle it.. 😂

Best regards
Sergio