Re: [rtcweb] [Suspected Junk Mail] Endpoints that don't support RTCP

Magnus Westerlund <magnus.westerlund@ericsson.com> Mon, 04 May 2015 11:51 UTC

Return-Path: <magnus.westerlund@ericsson.com>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AE8751ACE48 for <rtcweb@ietfa.amsl.com>; Mon, 4 May 2015 04:51:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.201
X-Spam-Level:
X-Spam-Status: No, score=-4.201 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] autolearn=ham
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 mhph6vhVFVQ5 for <rtcweb@ietfa.amsl.com>; Mon, 4 May 2015 04:51:32 -0700 (PDT)
Received: from sessmg22.ericsson.net (sessmg22.ericsson.net [193.180.251.58]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 649771ACE3F for <rtcweb@ietf.org>; Mon, 4 May 2015 04:51:32 -0700 (PDT)
X-AuditID: c1b4fb3a-f79ec6d000006dc0-4c-55475d42fd03
Received: from ESESSHC022.ericsson.se (Unknown_Domain [153.88.253.124]) by sessmg22.ericsson.net (Symantec Mail Security) with SMTP id 97.BF.28096.24D57455; Mon, 4 May 2015 13:51:30 +0200 (CEST)
Received: from [127.0.0.1] (153.88.183.153) by smtp.internal.ericsson.com (153.88.183.86) with Microsoft SMTP Server id 14.3.210.2; Mon, 4 May 2015 13:51:30 +0200
Message-ID: <55475D41.6020708@ericsson.com>
Date: Mon, 04 May 2015 13:51:29 +0200
From: Magnus Westerlund <magnus.westerlund@ericsson.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: Emil Ivov <emcho@jitsi.org>, John Leslie <john@jlc.net>
References: <7978938E-B510-43E2-9F19-C4752F6D23FD@cisco.com> <CABkgnnWvU+aYT9zgwEXCUhaO98y9kPyKwHnT=KXSr8O=knfW8w@mail.gmail.com> <CAPvvaa+SNPY+Ait2c8w9GPT-QfP7LEiuU6ejrokba93k60DdVg@mail.gmail.com> <CABkgnnW6KFuJhswLK97LE6J=9vqkf-cmeRMZOuz516ZryeSRQw@mail.gmail.com> <CAPvvaa+wid8y2h0g2040V8bSr50+rQRzpg-tCTK9EUFmtJrZYw@mail.gmail.com> <55361B07.3010707@ericsson.com> <CAPvvaaK-OxXk4=igyqix-XdubRhq+OafYvaTsJhNsbi4KHXJpw@mail.gmail.com> <5537948F.6040007@ericsson.com> <20150422152908.GF63465@verdi> <5538EFE9.7040200@ericsson.com> <20150423134742.GI63465@verdi> <553A2BFE.4050904@ericsson.com> <553CF2E4.7000700@jitsi.org>
In-Reply-To: <553CF2E4.7000700@jitsi.org>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 8bit
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrHLMWRmVeSWpSXmKPExsUyM+Jvja5TrHuowYJduhZrdk5gsXh/4Tyj xdp/7ewOzB5Llvxk8vj/JtDj2NzDzAHMUVw2Kak5mWWpRfp2CVwZR272shTsV664fuQ/ewPj dJkuRk4OCQETie5ZG1ghbDGJC/fWs3UxcnEICRxllDj5ZgIzhLOMUWLOrr9gVbwC2hJNx04y g9gsAioS3SduM4LYbAIWEjd/NLKB2KICURITvx5igagXlDg58wmYLSJgLfG+ezfYHGYBUYlX D6eAzREW8JVo2PSFHWLZBxaJZxfmsoMkOAU0JVZsfwQ0lAOowV7iwdYyiF55ieats8F6hYDu aWjqYJ3AKDgLybpZCB2zkHQsYGRexShanFpcnJtuZKSXWpSZXFycn6eXl1qyiREYwAe3/Lba wXjwueMhRgEORiUe3gWX3EKFWBPLiitzDzFKc7AoifPaGR8KERJITyxJzU5NLUgtii8qzUkt PsTIxMEp1cCoFbnw9tc7MwutW/S2n1rBbpMeEhY9N3SLDvf+F7d6rh40Lb9eu+FEc3dv813O uEu8Gu0tX9JunUg+zpZau37aZqk7+8zPn2//8ZKH9cB93wWr/vv8WD/pW8+aBzmscqffGMZ/ dUnhnDJ9YeuTjornkhqSZQp1/2db3eEXDTvDUnbZvbuZY+MSJZbijERDLeai4kQAhbuXhkEC AAA=
Archived-At: <http://mailarchive.ietf.org/arch/msg/rtcweb/aylPFgThbahhaWJAkkX7ckrLApU>
Cc: rtcweb@ietf.org
Subject: Re: [rtcweb] [Suspected Junk Mail] Endpoints that don't support RTCP
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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, 04 May 2015 11:51:34 -0000

Emil Ivov skrev den 2015-04-26 16:15:
> On 24.04.15 14:41, Magnus Westerlund wrote:
>> John Leslie skrev den 2015-04-23 15:47:
>>> Magnus Westerlund <magnus.westerlund@ericsson.com> wrote:
>>>> But we do need mechanism to protect the network. Especially when the
>>>> network doesn't work as intended that do happens from time to time.

>
> You shouldn't consider FEC as something that is only used as a reaction
> to congestion. Audio codecs such as Opus and Silk allow for inband FEC
> and most apps that I am aware of do turn it on unconditionally prior to
> every call.

No, it is put in there in reaction to loss. Some networks produce almost 
no loss, some a bit-more. I think it is totally appropriate to use FEC 
to combat that loss, as long as the total bandwidth control is such that 
it doesn't increase the congestion level, and thus the loss rates.

 From that I draw the conclusion that you need to have bit-rate 
adaptation and in cases where FEC is enabled, then it is the total 
bandwidth usage that counts, i.e. Media + FEC. Thus, if one adds or 
retunes the FEC application to consume more bits, then the media-bits 
needs to be reduced to fit within the available bandwidth.

>
>> In my opinion a circuit breaker that triggers for a sustained packet
>> loss rate of 20% over a time period of seconds, is in fact doing its
>> jobb.
>
> This is where I disagree. In many cases sustained 20% packet loss is
> something that inband FEC would fix.

I am fine that you apply FEC to fix 20% loss, but really sustained 20% 
packet loss means that the network is congested, and the bandwidth 
consumed needs to be reduced, by all parties.

>
> How many users do you think would be happy in such situations when given
> the explanation that: we could have made your call work but it really
> makes us look bad to mess with such crappy networks.

Here I totally disagree with you. If you are self-congesting your 
application, then your own failure to reduce the bit-rate in response to 
the congestion, is what causing the issue. If you are competing with 
other flows, and several has your approach, then you all makes it 
impossible to adjust to a sensible working point. You are helping ensure 
a broken network usage.

As I see it, the browsers/ webRTC endpoints will need to be the 
guardians here. They can't let the JS applications do whatever they want 
to the network.

>
>> If there is a short duration, like 400 ms with that loss rate and
>> then it otherwise drops down below 5% for the next 5 seconds and this
>> flow is in the region of 30-50 kbps in total, then I think that is fine.
>> All based on my judgement. I haven't, but believe that if you run this
>> case through the circuit breaker, you might get away with it. It is the
>> TCP equation based breaker that is the one that will fire here if any.
>> So it depends on the RTT and how many loss events this corresponds with.
>>
>>
>>>
>>>     "Circuit-breaker" is not a terribly effective way to do that --
>>> especially when the WebRTC application can simply start another call.
>>
>> Well, to automatically restart/create a new PC when the circuit breakers
>> has triggered is not in the spirit of things. The spirit of things is to
>> adjust your parameter settings so that it consumes less bandwidth, then
>> start it again, or simply let the session be, unless the human user
>> insists.
>
> Your "spirit of things" does not necessarily coincide with that of the
> application/service providers and users.

But, this comes back to that the network is a shared resource, if you 
missuses it, then it becomes destroyed. This is a Tragedy of the commons 
case.

>
> Also, given that users will be allowed to insist, what exactly have we
> done to resolve congestion?

you are right, the use should not be allowed to insist, if the 
application can't adjust down its bandwidth consumption. If it can 
adjust it down with a significant factor, then I am fine with it 
restarting.

Cheers

Magnus Westerlund

----------------------------------------------------------------------
Services, Media and Network features, Ericsson Research EAB/TXM
----------------------------------------------------------------------
Ericsson AB                 | Phone  +46 10 7148287
Färögatan 6                 | Mobile +46 73 0949079
SE-164 80 Stockholm, Sweden | mailto: magnus.westerlund@ericsson.com
----------------------------------------------------------------------