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

Iñaki Baz Castillo <ibc@aliax.net> Mon, 05 November 2018 21:35 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 D4D371252B7 for <rtcweb@ietfa.amsl.com>; Mon, 5 Nov 2018 13:35:20 -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 U4nd8JP2di0K for <rtcweb@ietfa.amsl.com>; Mon, 5 Nov 2018 13:35:18 -0800 (PST)
Received: from mail-ua1-x92f.google.com (mail-ua1-x92f.google.com [IPv6:2607:f8b0:4864:20::92f]) (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 28BB2124D68 for <rtcweb@ietf.org>; Mon, 5 Nov 2018 13:35:18 -0800 (PST)
Received: by mail-ua1-x92f.google.com with SMTP id v24so3753636uap.13 for <rtcweb@ietf.org>; Mon, 05 Nov 2018 13:35:18 -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=OWzl9L/Z9Y2HkMngfA0x4uKAwrUkvJ8cDgCttHIIy3E=; b=lhGTa/MQCRK69O1eBTm9dzVXjWYKWVFd9BIDI7jPnxJ3a00nJxNf4NPsvEqP8Qk6/R QmcMkXCIAUN27J0E43WgIjcm8/F2Mb9/jXD+EQyjlS77RbfMO78/EIx+gYtwg6+ZYi+C 3Zm8PqcEwP/jCY6+tGy9UJXsXPuJxBSzTtVIay9i+lDg7ekyC6/2txKUP2EV17DK/5EK cb7pxrYCEhA2FxN+0vXlyI4VS3bOEz/jbn630rZKbamqrtLuykY3pYNH90C/9f0+Nu3i LH4jtp0yEv+tuHpZUoE4G5SzMEEQTZJ0SZQfK9ij7KAh3Qt3vK5yNnfSEiskMkldc4Ny vHXg==
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=OWzl9L/Z9Y2HkMngfA0x4uKAwrUkvJ8cDgCttHIIy3E=; b=ncw6sUAXlF6WNeppUl7in2g3Pblhd3TtZHaLq6Vo3zTpHV/zny0jdg+tKXkzzCfrCB jKAaxq57AqgEPTzUSlLuzugLCXr26p+x8F1xWGDn7JdcTTFfdYJ9H+s+aNPlz7TAZNfn op8Ekh8irNFhEzU91y01jFdllmTD02u2nM6LB9/6B8StzSMi+sLFMwc7BQJVM//MzwDV MzhvmVk8LdqxFkdtZI3Twfb1tfh0q9qF/qzGWV+N40U5RDjs5FKTBGZZfg1qnUNya1kk uDL4W4UOm4fIToz9TVUhzU6kdIKo30ayACU4LzsWlr6e5mXtRXyeQNvZ8g3c352A5SWC lcZA==
X-Gm-Message-State: AGRZ1gJsHJ2VsYmMDFJct0TL/yfIn72vjP5zpWSTmDWmz7vVv9SjVPHd TSJsrxhM9UkM2e+l4V68d58JCsXSOIcNzODC/8QGzg==
X-Google-Smtp-Source: AJdET5eIGk5ZaZXL0oSE9tZhTUwZTojPTx+UTvqzD1lC/NmDm0m4IiORzL8z/9jyLz3e1NiUgGEeDiXckpcJ++FpQsc=
X-Received: by 2002:ab0:3392:: with SMTP id y18mr10918783uap.117.1541453717134; Mon, 05 Nov 2018 13:35:17 -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>
In-Reply-To: <150c76b7-64eb-2e75-c9e0-2f503e705e4b@alvestrand.no>
From: Iñaki Baz Castillo <ibc@aliax.net>
Date: Mon, 05 Nov 2018 22:35:05 +0100
Message-ID: <CALiegfk0Nr-8xuenK24yW9M7ZErGNO4k=OGrcqwFj3SYTXz+ig@mail.gmail.com>
To: Harald Alvestrand <harald@alvestrand.no>
Cc: Sergio Garcia Murillo <sergio.garcia.murillo@gmail.com>, rtcweb@ietf.org
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtcweb/BhS56RweWf9L020T1dEuFD6BQ1U>
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 21:35:21 -0000

On Mon, 5 Nov 2018 at 22:30, Harald Alvestrand <harald@alvestrand.no> wrote:

> Yes, I believe so. This is also precisely what I was proposing, except
> for the requirement to call addTrack.
>
> Note that our current spec text says that when addTrack is called, a
> transceiver is created with the max number of simulcast encodings set to
> 1, and that this number cannot be increased. This would have to change.

Is it not possible to call sender.setParameters(N encodings) after
calling pc.addTrack(track)? why?

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