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

Iñaki Baz Castillo <ibc@aliax.net> Wed, 07 November 2018 11:34 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 4741F129619 for <rtcweb@ietfa.amsl.com>; Wed, 7 Nov 2018 03:34: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 0fWviV3vWKvM for <rtcweb@ietfa.amsl.com>; Wed, 7 Nov 2018 03:34:48 -0800 (PST)
Received: from mail-ua1-x944.google.com (mail-ua1-x944.google.com [IPv6:2607:f8b0:4864:20::944]) (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 83B8612785F for <rtcweb@ietf.org>; Wed, 7 Nov 2018 03:34:48 -0800 (PST)
Received: by mail-ua1-x944.google.com with SMTP id k10so5704641ual.6 for <rtcweb@ietf.org>; Wed, 07 Nov 2018 03:34:48 -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=JRQadDBRNs/bxGaK0MxpEOEWtcVYzrKNHqgj7rQ7a+o=; b=uwkqLJBrampyi9AbYdRKr/wTCFT7JRBhPtgOeRZe7iNFfVe3X81NgRohGVike2VZza kN6UsDZp+5WSwuFTaerxeQmUoVQotXEpRlfqPSwua09OZYviLsG0kKPFPCC6ddYs3wJ5 SVTJlZQNLpi+bAsZGXopMk2iXO587i/WewE45xQ6mWICq0CmGy8f9aztXzHj751DPbXC 3zpbMr1LcsB2xyjxAiQfylTr3IIlEbnUmAYLwOKPNjQ68havKbPUVsTGg9xkxhYskyBf iheFV1J3Gkm+cZ2SVfEWrNKnQuEHOk3dwHg0uooGcqCZKX0yIcTI79Ep7QIgzYykZQO2 sQMQ==
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=JRQadDBRNs/bxGaK0MxpEOEWtcVYzrKNHqgj7rQ7a+o=; b=kizbvlYoGVGc2yMgZpfp0lJf3hOo0c9KoKjgkRvysQqGLbSVyhTfjNNX3VlGKTpGhq HQtgfxmgYqVjCnKcJVX0pA+Zu4Y34XJTvxMGjyVbgWg1tCXO6AykGF2SmayK7GGbtr5G ozfvlxHRXliuKVtU2RTSCIO9pMVfH5Y/1SjP0agWKFPgmoGLuSpx0BzRtX5z+LPnH9VD 6vQvK6BV4Bou8WREEapupzHsxkL7u0nyDnQK/cxtm4Mq3jcD/jSJQvoV0Gkjzi4zp4UD fudZ2+5vS5NDcdr2UAEnQ42kNGoveYz0V7nBxUE3ZUYIFljbu+exXsR7z+0qdCjQuJ2y vOKg==
X-Gm-Message-State: AGRZ1gI8YhAoCoRpbYZS50F/9+c0CmmF2oIN0jdks1b/c/elXQT2L7d8 7zmOvxMZUREjlbMhTYz302xjtehqSIs/lcOOzptySw==
X-Google-Smtp-Source: AJdET5eajX/x+HfE/AlecuXcL/N3sHpEMMJHr8AH19AlLCfaf5uOU2zu7d/gUiwR6GlVErXsFgKYfBMXCT6umRKfol0=
X-Received: by 2002:ab0:526:: with SMTP id 35mr602732uax.84.1541590487531; Wed, 07 Nov 2018 03:34:47 -0800 (PST)
MIME-Version: 1.0
References: <185c8d1d-3971-ad09-eee0-a26bed446a96@alvestrand.no> <A5687AE0-7D07-46C8-AF93-7B0D0DE0BC4B@mozilla.com> <CAOW+2dveTZ8jtAyNNftv=fMi_C8LifvE8RtUuszg0-eUYcgANg@mail.gmail.com> <CALiegfnChcJ9W52e0C-CyyCw+9jUnJg0Wszv7DTd_CtpvEC2Xg@mail.gmail.com> <5FB0A50F-DAF3-47C4-A5F5-8DA20586C9E2@iii.ca> <CALiegf=tFL1zagfp7qyPBWn6r+NQ8SKW=OBKc=6ZOVwgHzcHWg@mail.gmail.com> <C6D65A1E-F701-4E47-9B82-B4EA444BA7A0@iii.ca> <CAOW+2duUbcQ3OCa-vdw57Y7676KOOyCN8wY17Vjw1up_7HDpCQ@mail.gmail.com> <1541576399.5384.7.camel@ericsson.com>
In-Reply-To: <1541576399.5384.7.camel@ericsson.com>
From: Iñaki Baz Castillo <ibc@aliax.net>
Date: Wed, 07 Nov 2018 12:34:36 +0100
Message-ID: <CALiegfkS+o+qzTcQwp0oRd6O1qNTGWuoMMvUe8hyy9H2Cm9U2g@mail.gmail.com>
To: Stefan Håkansson LK <stefan.lk.hakansson@ericsson.com>
Cc: Bernard Aboba <bernard.aboba@gmail.com>, Cullen Jennings <fluffy@iii.ca>, rtcweb@ietf.org
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtcweb/2rU7djQxb5lrgpyLIROksTq46bI>
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: Wed, 07 Nov 2018 11:34:51 -0000

On Wed, 7 Nov 2018 at 08:40, Stefan Håkansson LK
<stefan.lk.hakansson@ericsson.com> wrote:
> If this now has changed, and we can have the simulcast receiver send an
> SDP offer that is applied in the browser and things work (perhaps with
> some web app intervention), and we have people interested in
> implementing this, I personally see no reason why that should not be
> pursued.

On of the problems in SDP O/A is the fact that the remote can decide
what the local side should send or stop sending by just sending a blob
to it (a SDP offer or answer), a blob that, due its nature, cannot be
"intercepted" by the JS in the local app to anticipate what it
involves (it's the other way around: first apply whichever unknown
blob you have received from the remote, then realize of what happened
via inspection or via contextless events).

This model is typically argued as a way to get interoperability in
codecs and RTP parameters. But this discussion is going further, since
here we are saying that the remote can send us a blob (that the app
does not know in advance what it means) and enable simulcast in local
side.

In ORTC the remote does NEVER decide what we can send or how we send
it. Assuming capabilities have been exchanged, it's up to the custom
app logic to decide what a peer sends and how it sends that. If you
want to stop receiving the remote video you send a custom JSON to the
server or remote app requesting that. That's friendly. Sending a
secret blob which cannot be managed via JS by the receiver is not
friendly.

So, I want to assume that WebRTC NG will drop SDP and, if so, IMHO it
does not make sense that efforts are spent now in a feature that makes
the dependency on SDP O/A even stronger.

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