[rtcweb] Support for RFC7728 pause indication

Sergio Garcia Murillo <sergio.garcia.murillo@gmail.com> Thu, 19 October 2017 18:48 UTC

Return-Path: <sergio.garcia.murillo@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 BA295133079 for <rtcweb@ietfa.amsl.com>; Thu, 19 Oct 2017 11:48:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.101
X-Spam-Level:
X-Spam-Status: No, score=-0.101 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=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 OHC-nQAl6g5S for <rtcweb@ietfa.amsl.com>; Thu, 19 Oct 2017 11:48:28 -0700 (PDT)
Received: from mail-wr0-x22e.google.com (mail-wr0-x22e.google.com [IPv6:2a00:1450:400c:c0c::22e]) (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 04227134219 for <rtcweb@ietf.org>; Thu, 19 Oct 2017 11:48:27 -0700 (PDT)
Received: by mail-wr0-x22e.google.com with SMTP id o44so9287457wrf.11 for <rtcweb@ietf.org>; Thu, 19 Oct 2017 11:48:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=Z5iOw+K/0xx+gdC8l3zsvJXP7FwpPqU7KQgIf7ZJMO4=; b=gg9Exk8xGWz1OKYYE8QmsYVva3hR5qBcq+bhk5uYnefasDlPejizwqtZvGjK802MRv aKpbT4m7zm+EVX1qev+ZH2mNtKP/8JxMxTDXyKzly84C2hzJr3BQomAVXqOYlYvcNoVI 8eX1da94zCp8gfEz/9YYIzn1FNQx7j1zsBILRcuCSNyxldTEaoqq+KMopyy+mXPVzhDF guFfrOd1CsHpdcW/ttjjc1aDGkJ8ou76zjMbAUos8QLWN3NTut0c5uMXIRnO+7TVcAOK OOc5S2nm5ZoMKJ4+DU0MzTDf1O+fAg44jHsr8ZaLy1hNDZpcM11+mnnhAoU19wvEGuVt buzA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=Z5iOw+K/0xx+gdC8l3zsvJXP7FwpPqU7KQgIf7ZJMO4=; b=VlZminl1Z0nUgUwOb2mOmMK7GVdxlvv65C2Vw9KTnWpl8Dv3swrCBVxW7a0PGIYby3 xaN+ZuXhJvIzSBX4bCLg3PrEzcA8807YmVpdl7Tz9/Ef47HG2JbgY/A8Q+UCogpWlBZU 2KLa08U5LDlQimtgzMzm1N+BiRxrBh4pXKDlkOP3F5Vbq9iRXygFXA04MUyjhXCdtjJJ Vezodlfax079wOz9zDNgNVdTVKKTMWiJsgYmMIiwbI/rqs8vzFkyZ8158a5bomBl7Xgo 0rOJU1XMVaEuZ0fJ9BjVe4nPHZL/m2OMKCXnhDGYCgN1l7YYO762RsVX8FyqCFvk9+Jo agFw==
X-Gm-Message-State: AMCzsaUX3Wga3lxmwwNoqj5k3x/JH4+aOtBMDMNXjiTKe390FHl64YeX EIeNM1RQjeX1V1Sy6mTc/vPaYTy3
X-Google-Smtp-Source: ABhQp+T2zb//2xAuYls+RhMXEsqHZWDah1WURjNLuSRn7yCh2nwOXPC8T2Y0IpIyM2NeqpBE1XaSJQ==
X-Received: by 10.223.179.84 with SMTP id k20mr2397064wrd.129.1508438906288; Thu, 19 Oct 2017 11:48:26 -0700 (PDT)
Received: from [192.168.1.35] (177.red-79-152-171.dynamicip.rima-tde.net. [79.152.171.177]) by smtp.googlemail.com with ESMTPSA id w4sm19033689wrc.17.2017.10.19.11.48.25 for <rtcweb@ietf.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Oct 2017 11:48:25 -0700 (PDT)
To: "rtcweb@ietf.org" <rtcweb@ietf.org>
From: Sergio Garcia Murillo <sergio.garcia.murillo@gmail.com>
Message-ID: <91ddc524-6ef9-c3e1-7db5-eb4c4080bc91@gmail.com>
Date: Thu, 19 Oct 2017 20:48:26 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtcweb/rwFtL0yVuPMrP8jHi9TlO9kG4_w>
Subject: [rtcweb] Support for RFC7728 pause indication
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.22
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, 19 Oct 2017 18:48:29 -0000

Hi all,

According to the rtp usage draft, it is allowed to pause and resume 
transmissions at any time. There are several scenarios in which it would 
make sense to signal when a webrtc sender decides to pause one stream to 
the receiving side.

One of them, (as described in detail in 
https://monorail-prod.appspot.com/p/webrtc/issues/detail?id=5207) is be 
when the webrtc endpoints decides to stop sending one simulcast stream 
in order to adapt the sent bandwidth to the bandwidth estimation. In 
that case the SFU would benefit from having that indication before 
having to wait for a timeout on media reception before switching to a 
different simulcast stream. Note that in this case, the stream is paused 
from inside the webrtc stack, so there is no event triggered to be able 
to signal this to the js app so it could notify it off band to the 
receiving side.

 From the solutions discussed, IMHO, the cleanest one would be to 
support the PAUSE indication from RFC7728. Do you think it could be 
considered to support it in webrtc?

Best regards

Sergio