Re: [rtcweb] JSEP question: How to set up simulcast for server-originated calls?

Iñaki Baz Castillo <ibc@aliax.net> Mon, 05 November 2018 12:28 UTC

Return-Path: <ibc@aliax.net>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 86A19128CFD for <rtcweb@ietfa.amsl.com>; Mon, 5 Nov 2018 04:28:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level:
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=aliax-net.20150623.gappssmtp.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 FLNJzr0YefCH for <rtcweb@ietfa.amsl.com>; Mon, 5 Nov 2018 04:28:49 -0800 (PST)
Received: from mail-ua1-x934.google.com (mail-ua1-x934.google.com [IPv6:2607:f8b0:4864:20::934]) (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 A8AE9127133 for <rtcweb@ietf.org>; Mon, 5 Nov 2018 04:28:49 -0800 (PST)
Received: by mail-ua1-x934.google.com with SMTP id d8so3093212ual.2 for <rtcweb@ietf.org>; Mon, 05 Nov 2018 04:28:49 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aliax-net.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=2IzskHWnASkK6Y5ubLtMLXu8gCQ6Bfml0nSL5mTSMI8=; b=up3qMSdjnSPQv/H7oPEdExygfF1jtjsWoBnLOxBJw2XwplBpOO2+z7G9uL9wVO/g8O yv6KwOZiKthE/QoRQ3DFVMDcgLOZXgqCPdbOeofHGYfEP5LznKMHlv79BVsEeHJa9pgz A6vEBbmQnA6FA55FNMQSqTAPbvOOG2zREhH7x/wsaQXRf1+nx6uSuq7DZUbcW8UDi3W4 ZyblWA/IXgeD7gtXxoA7Asrkx2NHg+HgD0r5/orIFBbjuUQAmLl1LbIOBoCgOblwDPfQ JjCsdq+qpTACcu3FzR24veZ55aKoisTUr9YWUx3X1ivoWi3Zt5Tg7SjYVXUMdik/ddMJ e1mQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=2IzskHWnASkK6Y5ubLtMLXu8gCQ6Bfml0nSL5mTSMI8=; b=JSPWt+40fCYCKtAUeM+C0ir5oFefeJS5y95i+wR4l2yNCug18cYV3luCEogxc3FDHm t1yBhk/vBB+ZvDMnTxwMFL0GdRH8mEPFoA+tLMd7LCh6+luts1Ji1WonSGrmtIBEgm2C c+4d+UUDURP8/rYTZFXE5TbUFN1TyyQeovN1t7e7quPUg/vAUnYPnjW0Qala+2dA9vnH hJa6f7f4u/VasK6jSSRokhZNjhWR9vK2hF8IFTAheZhpBRcoo3TgEJIRfu3Dauhfrvv9 zsdukIWvpkAVuFRTfJI4xEIKf9HhLWJNREVescSCENzAXh7pSWIe6LsEl+4jsXQNbknb Gedg==
X-Gm-Message-State: AGRZ1gJiPKQoK+dc7e8nsX+yzc3IawXpnXJ6PIo3c+1lD4HfzQiOOYVa 8mWj4aoj8Pw1bUtbUs4f8SEvW1sCI83rmnpvbH9j6w==
X-Google-Smtp-Source: AJdET5dG3KM7F/9mSFnNnkwlZbjhqUEvE931K4vWzf/TtNtufhbDaY1XJgVTvURjRBkN1f/E7W+J+Mi4QDkiDedc4T0=
X-Received: by 2002:ab0:2519:: with SMTP id j25mr7559434uan.68.1541420928599; Mon, 05 Nov 2018 04:28:48 -0800 (PST)
MIME-Version: 1.0
References: <185c8d1d-3971-ad09-eee0-a26bed446a96@alvestrand.no> <CALiegfmbghnBtDt=wfCAbOWi5SDFTi2qPgDOuXHRazKSvvCKNQ@mail.gmail.com> <CA+ag07YD3oSuL=R=h-28waha4b7xf7haU+-oWuNbzO_sBY4MQw@mail.gmail.com> <e567832e-1918-d51c-6f00-a732547c0a8e@alvestrand.no> <CA+ag07byo1vReeo2uMKxmF1tnzW+4CJSMPLaJO79H0s9j0PO0g@mail.gmail.com> <31fb92c1-2934-c33f-a3cf-552f027eacda@alvestrand.no> <bb7f863b-510c-f460-c9b0-843d500784b8@gmail.com> <5db76ada-b896-7eba-b42e-85b2e239dc42@alvestrand.no> <CALiegfmdxHVqndRYRP-gmTGKFweTdpPPGVOFBCPM7CpvLvVeYw@mail.gmail.com> <7b85f46f-782b-de88-3598-70d9613f9981@gmail.com>
In-Reply-To: <7b85f46f-782b-de88-3598-70d9613f9981@gmail.com>
From: Iñaki Baz Castillo <ibc@aliax.net>
Date: Mon, 05 Nov 2018 13:28:30 +0100
Message-ID: <CALiegfkmTmwm8BuP7fZ5TtACh2rMUU2Ziv8Tk66iMBSA+gtLjw@mail.gmail.com>
To: sergio.garcia.murillo@gmail.com
Cc: Harald Alvestrand <harald@alvestrand.no>, rtcweb@ietf.org
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtcweb/bVZByw28uJbezwiRW9P5A62qEek>
Subject: Re: [rtcweb] JSEP question: How to set up simulcast for server-originated calls?
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Real-Time Communication in WEB-browsers working group list <rtcweb.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rtcweb/>
List-Post: <mailto:rtcweb@ietf.org>
List-Help: <mailto:rtcweb-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 05 Nov 2018 12:28:52 -0000

On Mon, 5 Nov 2018 at 13:22, Sergio Garcia Murillo
<sergio.garcia.murillo@gmail.com> wrote:
> Not sure if you are responding to  Harald or to me.  If it is to me, my
> "do nothing" proposal to enable simulcast when the offer is sent by the
> SFU (just in case anyone wants to do it):
>
> -SFU sends an offer with all the available streams/tracks (no simulcast
> m-line)
> -Browser reply with recvonly on all m-lines
> -Browsers reoffer with an additional m-line (sendonly?) with simulcast
> -SFU answers
>
> No change to the spec at the cost of an additional round trip. Note that
> this is almost the same case than if the browser sends and initial offer
> with simulcast, sfu answers with recvonly, and then re-offers with all
> the available streams/track.
>
> Also, note that many of SFU devs (at minimum Iñaki and me)  are not even
> sending SDP on the wire but doing renegotiations locally.

Ok, let me clarify:

Of course your approach would work, and also mine (signal server
desired recv simulcast by other means but SDP before the client
joins), but I strongly believe that people wishing to enable simulcast
in clients by just receiving an offer from the server is because they
have a fixed architecture in which the server sends the offer, expect
a "full featured" answer and that's all. Probably their servers do not
allow receiving reoffers from clients (you know the pain of managing
both send and recv streams within a single m= section when you want to
control sending/receiving codecs, etc).

-- 
Iñaki Baz Castillo
<ibc@aliax.net>