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

Bernard Aboba <bernard.aboba@gmail.com> Mon, 05 November 2018 22:37 UTC

Return-Path: <bernard.aboba@gmail.com>
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 82CC3124D68 for <rtcweb@ietfa.amsl.com>; Mon, 5 Nov 2018 14:37:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, 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=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 Yv8aRD6WQukS for <rtcweb@ietfa.amsl.com>; Mon, 5 Nov 2018 14:37:14 -0800 (PST)
Received: from mail-vk1-xa2f.google.com (mail-vk1-xa2f.google.com [IPv6:2607:f8b0:4864:20::a2f]) (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 CCBD6124C04 for <rtcweb@ietf.org>; Mon, 5 Nov 2018 14:37:13 -0800 (PST)
Received: by mail-vk1-xa2f.google.com with SMTP id u62so2429585vkb.3 for <rtcweb@ietf.org>; Mon, 05 Nov 2018 14:37:13 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=p55rPfcJbbD86Wxz+jT2ru96a0zhCxQQq+gvyPesKSg=; b=uUwzXIiJugddSneUtxgl+qSOiBpHH+r7untGbc47ChKiUk4gAUuC+2LRbyGzh2Kurj ARNdHMpylmbCQWGoUhx6jSWD3hDRf3qDyGkCyH6aI2WWsJsYESgN+/pBTQ99tw8Y7NaE SbmOfAiUANfC6/Od2m+vhYN1eFf/ZCF9H/Omi47L9PI0ZaO3hCtbZhAPz3H0XSjBWaTG CFmGylWjvjfGbip5MRqH82NovWkdUxW1Pn9LuOjg+yYbHlrj1K+LNcxoqSEy8NhS14ph Y7QP69+psMsUs5aKf+CkhYv4B5glBmyZsXDvysCwN/aYZ004jyaVs8GkwQC2JaWSUWhE auww==
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; bh=p55rPfcJbbD86Wxz+jT2ru96a0zhCxQQq+gvyPesKSg=; b=UFoBWn/wfZaAh5RTAw/xBFddykfVcg7FBCyLlcMtGzlvzv6QuF/Vt3MIj7VfPTT5EA WVVTdTjUVBXb0wjE0hJI59QxMhCilJjzqJlIia5TI3NQU8db57X7hwp32achE71P4Kjo OMkCgUphn0MwM9Gt0V1beKwnZ2CXhUumB6RztF5fCw0TbBYJ1oRLeTgFQlxvkZrtomBI wRDbiCp8TfAphDlVpY4ETheqSBwNk16czGMHJE4F6Wpa02GOzhjO1yxximyVESpOQyE2 jlFxwEOyD1jVf/lZ1X60fqXPRRfsa3++ASwwScHMMpg61bREIWH5xTlM0cZsnGNmldxb hRGg==
X-Gm-Message-State: AGRZ1gKt6ueVaacvKW+eO+DBMo1IP77aKhYx1mV6IX5nt/JSyHv2h75e 3PAfnfqQrsO+LB10zykKfQI25bBB7lhAfpk9Rjes3g==
X-Google-Smtp-Source: AJdET5eOtBC0lvBMFX+PVxjXSRczgt1rOrI80c5lNy49cH3xw/NuHHkP54hwCO37wfsQvNlEHDTM/4+ruqX8vunTIlc=
X-Received: by 2002:a1f:346:: with SMTP id 67mr4104615vkd.10.1541457432578; Mon, 05 Nov 2018 14:37:12 -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> <db90e287-145b-5ffe-18c0-f38faed76c07@gmail.com> <150c76b7-64eb-2e75-c9e0-2f503e705e4b@alvestrand.no> <CAOW+2duSN5u7u+JrSpvE509k47j7Uuu4=gKy5eMFeAnw5p=kiA@mail.gmail.com> <CALiegf=b=ToNsoOqaEpeqreXrYSru0BT6cB9ZonDHNwS-XfzVA@mail.gmail.com>
In-Reply-To: <CALiegf=b=ToNsoOqaEpeqreXrYSru0BT6cB9ZonDHNwS-XfzVA@mail.gmail.com>
From: Bernard Aboba <bernard.aboba@gmail.com>
Date: Mon, 05 Nov 2018 17:37:01 -0500
Message-ID: <CAOW+2dua_8C3HnOmRiXsHgDDOJqqqDRki1XJ7PRk+O+tExXcMw@mail.gmail.com>
To: Iñaki Baz Castillo <ibc@aliax.net>
Cc: Harald Alvestrand <harald@alvestrand.no>, rtcweb@ietf.org
Content-Type: multipart/alternative; boundary="000000000000b490210579f286db"
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtcweb/bNi0nFRJVjfEkBw4b24v9rU5x_I>
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 22:37:16 -0000

On Mon, Nov 5, 2018 at 5:20 PM Iñaki Baz Castillo <ibc@aliax.net> wrote:

> On Mon, 5 Nov 2018 at 23:16, Bernard Aboba <bernard.aboba@gmail.com>
> wrote:
>
> I'm lost. I've enabled simulcast in Firefox using
> sender.setParameters() after both pc.addTrack() and
> pc.addTransceiver(), and before pc.createOffer().
>
> So I'm not aware of such a limitation in addTrack that "produces just
> 1 encoding that cannot be increased". Why not? Why should it work with
> addTransceiver() and not with addTrack()


[BA] It works today. But currently the specification implies that
setParameters() should fail to set multiple encodings after addTrack. IMHO,
the spec is wrong - it should be allowed at least once before
createOffer(). Should not be too hard to fix.

>
>