Re: [AVTCORE] Notes on RTP CC Feedback from the Hackathon

Ingemar Johansson S <ingemar.s.johansson@ericsson.com> Tue, 26 March 2019 09:15 UTC

Return-Path: <ingemar.s.johansson@ericsson.com>
X-Original-To: avt@ietfa.amsl.com
Delivered-To: avt@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 71B8A1202A1; Tue, 26 Mar 2019 02:15:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level:
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.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 hUKqVoM3eMTm; Tue, 26 Mar 2019 02:15:06 -0700 (PDT)
Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-am5eur02on062e.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe07::62e]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7F60A12029B; Tue, 26 Mar 2019 02:15:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=5tXgmIViNnzCT/QQYkdVxsMIS0FxupYwNOxgFFjj9A4=; b=QaAe4HU/UPzNBUWLKTfW3uJ9UO98kvaKye6tCae1Q2Zsj6aL8x2wShgpdpGtVjvKQs+rHosWa7snNYvxW37ScAK/T8WwCgMSSytg82ijyEslQm68StWAN/0tLaVjA3QANVICl1ohXY3N3N0yH4SaBouA1sZsf5ObZgrIVkDFwwY=
Received: from HE1PR07MB4425.eurprd07.prod.outlook.com (20.176.167.142) by HE1PR07MB4155.eurprd07.prod.outlook.com (20.176.166.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1750.13; Tue, 26 Mar 2019 09:15:03 +0000
Received: from HE1PR07MB4425.eurprd07.prod.outlook.com ([fe80::f01e:542a:63b7:9cf]) by HE1PR07MB4425.eurprd07.prod.outlook.com ([fe80::f01e:542a:63b7:9cf%3]) with mapi id 15.20.1750.014; Tue, 26 Mar 2019 09:15:03 +0000
From: Ingemar Johansson S <ingemar.s.johansson@ericsson.com>
To: Jonathan Lennox <jonathan@vidyo.com>
CC: IETF AVTCore WG <avt@ietf.org>, "rmcat@ietf.org" <rmcat@ietf.org>, Ingemar Johansson S <ingemar.s.johansson@ericsson.com>
Thread-Topic: [AVTCORE] Notes on RTP CC Feedback from the Hackathon
Thread-Index: AdTjp0rSnNk7Pic4TRWzBzw6uHzbVgACwtaAAABUE/A=
Date: Tue, 26 Mar 2019 09:15:02 +0000
Message-ID: <HE1PR07MB44253506E786772E52E15B72C25F0@HE1PR07MB4425.eurprd07.prod.outlook.com>
References: <HE1PR07MB4425E3068736C3547A932F66C25F0@HE1PR07MB4425.eurprd07.prod.outlook.com> <3CA36BE0-5A55-4CA0-A6A4-82ABA4102B6E@vidyo.com>
In-Reply-To: <3CA36BE0-5A55-4CA0-A6A4-82ABA4102B6E@vidyo.com>
Accept-Language: sv-SE, en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=ingemar.s.johansson@ericsson.com;
x-originating-ip: [192.176.1.92]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: de7d4e4c-0fc3-44c8-37ba-08d6b1cb879f
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(2017052603328)(7153060)(49563074)(7193020); SRVR:HE1PR07MB4155;
x-ms-traffictypediagnostic: HE1PR07MB4155:
x-microsoft-antispam-prvs: <HE1PR07MB4155A495694541823D38B6B5C25F0@HE1PR07MB4155.eurprd07.prod.outlook.com>
x-forefront-prvs: 09888BC01D
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(346002)(39860400002)(136003)(366004)(376002)(189003)(199004)(51914003)(13464003)(486006)(33656002)(71200400001)(6436002)(476003)(11346002)(71190400001)(99286004)(229853002)(86362001)(54906003)(3846002)(6916009)(6116002)(25786009)(2906002)(7696005)(53546011)(26005)(966005)(52536014)(6506007)(5660300002)(478600001)(316002)(446003)(76176011)(102836004)(68736007)(106356001)(74316002)(305945005)(97736004)(14454004)(186003)(6246003)(7736002)(4326008)(55016002)(66066001)(53936002)(81166006)(6306002)(8676002)(8936002)(9686003)(99936001)(81156014)(105586002)(14444005)(107886003)(256004); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR07MB4155; H:HE1PR07MB4425.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: ericsson.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: NRFCNXta/SjiOL3MGU+UJaI5EKeQDtq75FFSjX6pVi3bG/5+gjl842BanWwg83oLDs4UUQPT8B/QMZxeucVnRnnzK9viIBFKXDK1S+lqStr8lP76oOz5AMzH/xjH7/XPov1YifVNDKz6pX/2KmeKQ3y2CpZn65AJ8TNGaEN2gbLWofJwT0zFH3NPx50k2y+PKuMEolI99LfrwQJteKrzgrZUkJk0428U6Zg4qWzEFGJBpiyv5X7xv03rI9UwpHBjnq1xormvOT/LO/gcr5xTAJSceyElI8YjXSZqVN6yyO4rS+KbM6aasXcYZc2h7oPVSFD0RDvLlsrQ61uzsHjS0laefjMgcFFa40JlaHoJ+RDC7o2byQKH7zI56OsC9UUmN0eJSkj2S1VrFBVpJpynHo7XaXoAKqCGrmi8GzLYuvQ=
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg="SHA1"; boundary="----=_NextPart_000_0529_01D4E3BC.C5C84420"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-Network-Message-Id: de7d4e4c-0fc3-44c8-37ba-08d6b1cb879f
X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Mar 2019 09:15:02.9368 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR07MB4155
Archived-At: <https://mailarchive.ietf.org/arch/msg/avt/TzEC5SbU2ba660XKQrKxzhVrPRI>
Subject: Re: [AVTCORE] Notes on RTP CC Feedback from the Hackathon
X-BeenThere: avt@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Audio/Video Transport Core Maintenance <avt.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/avt>, <mailto:avt-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/avt/>
List-Post: <mailto:avt@ietf.org>
List-Help: <mailto:avt-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/avt>, <mailto:avt-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 26 Mar 2019 09:15:14 -0000

Hi

Please see inline
/Ingemar

> -----Original Message-----
> From: Jonathan Lennox <jonathan@vidyo.com>
> Sent: den 26 mars 2019 10:00
> To: Ingemar Johansson S <ingemar.s.johansson@ericsson.com>
> Cc: IETF AVTCore WG <avt@ietf.org>; rmcat@ietf.org
> Subject: Re: [AVTCORE] Notes on RTP CC Feedback from the Hackathon
> 
> 
> 
> > On Mar 26, 2019, at 8:59 AM, Ingemar Johansson S
> <ingemar.s.johansson@ericsson.com> wrote:
> >
> > The SCReAM implementation relies _only_ on the RTP CC feedback
> >
> > Quote : "There should be guidance on how CCFB?s SSRC-and-RTP sequence
> > feedback format can be mapped into a single sequence number space, of
> > the sort that many congestion control algorithms will want as input."
> > I don't understand this. Do you mean that if you have two encoders
> > that produce RTP packets then they should get RTP sequence numbers
> > from a single monotonically increasing sequence number function ?
> > I don't see that this is necessary. At least in SCReAM, each stream
> > (source) have its own list of transmitted packets with their
> > respective RTP sequence numbers, this list is matched against the RTCP
> feedback.
> > But perhaps I misunderstood ?
> 
> No, that’s not what I’m saying.  RTP sequence numbers should behave as
> normal.
[IJ] OK, thanks for the clarification

> 
> The question here is about maintaining *local* data (internal to the sender’s
> data structures) remembering the a total order of the packets sent across all
> SSRCs, for congestion control algorithms that want to treat data sent as a single
> aggregate, rather than treating SSRCs independently.
[IJ] Ok, I guess that should be doable if you keep a list of transmitted packets and the time when they have been transmitted, already available in the SCReAM code but it would take some sorting to get the transmission order, not sure though what one can use this piece of information for ?

> 
> The suggestion would be to provide some non-normative implementation
> guidance on how best to maintain this, efficiently.
> 
> >
> > /Ingemar
> >
> >
> >> Date: Mon, 25 Mar 2019 12:19:56 +0100
> >> From: Jonathan Lennox <jonathan@vidyo.com>
> >> To: "rmcat@ietf.org WG" <rmcat@ietf.org>, avtcore@ietf.org
> >> Subject: [AVTCORE] Notes on RTP CC Feedback from the Hackathon
> >> Message-ID: <91FCCD42-F4DB-45B2-9673-828F327743F8@vidyo.com>
> >> Content-Type: text/plain;	charset=utf-8
> >>
> >> Sergio Mena, Nils Olhmeier, and I got RTP CC Feedback interoperating
> >> at
> > the
> >> IETF Hackathon this weekend.
> >>
> >> Sergio (with help from Nils) got it working in Firefox, driving
> > libwebrtc?s GCC; I
> >> had it working in our proprietary codebase with our proprietary
> >> congestion control algorithm.  We had media flow between my computer
> >> at the Hackathon and Sergio?s in Switzerland, with both sides
> >> achieving what seemed to be reasonable bitrates for the network. (We
> >> didn?t do careful study of the
> > results in
> >> the time we had available, though.)
> >>
> >> Some issues we noticed:
> >>
> >> * In BUNDLE, it?s not clear whether it should be legitimate to
> >> negotiate
> > CCFB on
> >> some but not all of a group of bundled media descriptions.  I.e.,
> >> what
> > should the
> >> bundle category of a=rtcp-fb:* ack ccfb be?
> >>
> >> * SDP ABNF syntax is fairly arcane, so it wasn?t immediately obvious
> >> to everyone that the signaling was indeed supposed to be ?a=rtcp-fb:*
> >> ack
> > ccfb?.
> >> An example would probably be helpful.
> >>
> >> * Offerers will often want to offer a variety of congestion control
> > feedback
> >> mechanisms for maximum interoperability, but bad things can happen if
> >> you
> > try
> >> to use more than one at once.  Thus, answerers should answer with
> >> only one option, and if that doesn?t happen (i.e. if an answer
> >> contains more than
> > one
> >> option) an endpoint should either pick just one it likes best, or
> > complain/fail.
> >>
> >> * CCFB, unlike most RTCP messages, isn?t intrinsically bounded in size.
> > When
> >> bandwidths are very asymmetric, you can end up with more feedback
> >> reports than will fit in an MTU.  Implementations should make sure to
> >> generate
> > multiple
> >> feedback packets in this case.
> >>
> >> * There should be guidance on how CCFB?s SSRC-and-RTP sequence
> >> feedback format can be mapped into a single sequence number space, of
> >> the sort that many congestion control algorithms will want as input.
> >>
> >> * Congestion algorithms need to understand what to do in response to
> >> lost feedback messages.  It?s generally a bad thing to treat them as
> >> media
> > packet
> >> losses, but it?s also bad to treat them as though the packets were
> > received
> >> perfectly.
> >>
> >>
> >> ------------------------------
> >>
> >> Subject: Digest Footer
> >>
> >> _______________________________________________
> >> Audio/Video Transport Core Maintenance avt@ietf.org
> >> https://www.ietf.org/mailman/listinfo/avt
> >>
> >>
> >> ------------------------------
> >>
> >> End of avt Digest, Vol 178, Issue 4
> >> ***********************************