[rtcweb] JSEP Section 3.7:Simulcast

Bernard Aboba <bernard.aboba@gmail.com> Thu, 27 October 2016 16:48 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 CC542129629 for <rtcweb@ietfa.amsl.com>; Thu, 27 Oct 2016 09:48:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.439
X-Spam-Level:
X-Spam-Status: No, score=-2.439 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, HTML_OBFUSCATE_05_10=0.26, RCVD_IN_DNSWL_LOW=-0.7, 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 3rSV50B45xTG for <rtcweb@ietfa.amsl.com>; Thu, 27 Oct 2016 09:48:55 -0700 (PDT)
Received: from mail-vk0-x234.google.com (mail-vk0-x234.google.com [IPv6:2607:f8b0:400c:c05::234]) (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 0B9531294C9 for <rtcweb@ietf.org>; Thu, 27 Oct 2016 09:48:55 -0700 (PDT)
Received: by mail-vk0-x234.google.com with SMTP id c126so20297708vkd.1 for <rtcweb@ietf.org>; Thu, 27 Oct 2016 09:48:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=Iyp3FJxj5IE2yofH1Po8DOGe7qCb0yv9md6YaNYlkd4=; b=oB9loNCOfNEO62qbFWJZPBlrYxe3v2zjAFDVhhvC7SX4RQXrD0M/17+xO0/UtNdhlH RYcN02rGVL7oTHpziqXAgJnS2Kc2gfU8kKS4+B4NXYrKSwgayDy8lDKajIDJVWCd3MKb jkZ5vXnaELMehMgRO7ztr8oxAgviwWIEjME55WU7/B0DQlp1eA3V2bDuW9hKVoOqmSdo PC6Wx3EUZnPy7XospW65CF4g6Kkd00P+7VFYdcZgGneVymg1RrAxsn9zDroZC8A9a4Pc MIUCMYYQgLj8cwf8EZUcTAJYvuHQC9EvzpWwkxpxbTKyOZ/YM22MljMHv5HzgqtayIkf R6eg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Iyp3FJxj5IE2yofH1Po8DOGe7qCb0yv9md6YaNYlkd4=; b=luxektlfodvBP6n1W4cjpGLhHaVBhLm8CEdKULKWnzbg2JGz0aoVzC8baV+aVHp6F+ kptpno8qty6QPYHRVCDxeEtxnPzSNOgN9dJPGVEmVI2MAAP042ICLo7S5nYq10dYOwZ0 p+HpP2Wx4wzmVCe7wi6O7IUVZyFwv1+KYQ0kdzSs5ulsVD/NI/CsUwoFoglNlJTBeXuL gYeXpnib5oW5rhRwWEezLkfX7JoEdpFblz7PaBzJb25YGf/Q/2n++Cx754tD3PAx5WL3 qlVWG+To36nK7XbNuNocYFikTGrj5QtnHT/C94xxXkQ5T3pk4JhP4iI24RRxFdXFoJ9f +GQw==
X-Gm-Message-State: ABUngveDhkIYvbHOc8Ny6HdrZDJHWjSUa/5MF7kTE95CEZOjbdVXJJz7LGBcf73ENV4YSKq1f2mRl8cvAT1Ybg==
X-Received: by 10.31.224.71 with SMTP id x68mr6751251vkg.63.1477586933903; Thu, 27 Oct 2016 09:48:53 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.176.16.88 with HTTP; Thu, 27 Oct 2016 09:48:33 -0700 (PDT)
From: Bernard Aboba <bernard.aboba@gmail.com>
Date: Thu, 27 Oct 2016 09:48:33 -0700
Message-ID: <CAOW+2dvAz0DRSBz4HzyWOYzX=_8mdCcA741DQ-tiYVn+-6UwqQ@mail.gmail.com>
To: "rtcweb@ietf.org" <rtcweb@ietf.org>
Content-Type: multipart/alternative; boundary="94eb2c07bb88520f9a053fdb84f8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtcweb/Y5EMkw7qUOwp1NFqG27HJvqny8Q>
Subject: [rtcweb] JSEP Section 3.7:Simulcast
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.17
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: Thu, 27 Oct 2016 16:48:57 -0000

   JSEP currently does not provide an API to configure receipt of
   simulcast.  This means that if simulcast is offered by the remote
   endpoint, the answer generated by a JSEP endpoint will not indicate
   support for receipt of simulcast, and as such the remote endpoint
   will only send a single encoding per m= section.

[BA] In the description of addTransceiver, WebRTC 1.0 Section 5.1 states:

However whensetRemoteDescription is called with a corresponding remote
description that is able to send multiple RTP encodings as defined in
[JSEP <https://www.w3.org/TR/webrtc/#bib-JSEP>], the RTCRtpReceiver
<https://www.w3.org/TR/webrtc/#idl-def-rtcrtpreceiver> may receive
multiple RTP encodings and the parameters retrieved via the
transceiver's receiver.getParameters() will reflect the encodings
negotiated.

This appears to indicate that a JSEP endpoint may indicate support for
receipt of simulcast in an answer.

   In addition, when
   the JSEP endpoint is the answerer, the permitted encodings for the
   RTPSender must be consistent with the offer, but this information is
   currently not surfaced through any API.

[BA] Not sure what this is trying to say. Once setRemoteDescription is

called on the JSEP endpoint, won't it be possible to retrieve the sender

settings via sender.getParameters() and the receiver settings via

receiver.getParameters()?

   This means that established
   simulcast streams will continue to work through a received re-offer,
   but setting up initial simulcast by way of a received offer requires
   out-of-band signaling or SDP inspection.  Future versions of this
   specification may add additional APIs to provide this control.

[BA] Does this mean that a JSEP endpoint cannot respond to an offer to receive

simulcast with an Answer indicating that it will send simulcast? Note sure why

this would be the case, particularly if addTransceiver was called prior to

setRemoteDescription indicating the ability to send simulcast.