Re: [Mops] Low latency protocol comparision

Maxim Sharabayko <maxsharabayko@haivision.com> Sun, 14 June 2020 20:05 UTC

Return-Path: <maxsharabayko@haivision.com>
X-Original-To: mops@ietfa.amsl.com
Delivered-To: mops@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1AA093A11AF for <mops@ietfa.amsl.com>; Sun, 14 Jun 2020 13:05:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, 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=hai365.onmicrosoft.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 wv3dT43x5EtB for <mops@ietfa.amsl.com>; Sun, 14 Jun 2020 13:05:22 -0700 (PDT)
Received: from CAN01-QB1-obe.outbound.protection.outlook.com (mail-eopbgr660065.outbound.protection.outlook.com [40.107.66.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 749FA3A11AA for <mops@ietf.org>; Sun, 14 Jun 2020 13:05:22 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LErbctvMlzNq7Qu6g2ijLGWpQ5Hx7rzxTphOhIA1FaNwRbOF1hOUOk91NZ4c1BpbS+AHQomrbTUtGDqKby5kCNna3+sdC3U/6ASOgxTKVz9EGfyaXVbSUrDOaUPl5SU+7Mc/LDL82KQX9Y9c39rVHN2Ee8MpfLX1MONbGCiHsvNJF4zK/j7JxNtCh8yFEQpt1kYVg/uTjWB8T041jBv6Eb3Q1yEy0dgp04Sdn3UE3kk9Lm1MBF4CxejJCF6aNqRVL7L6PnWZ7hcyQQKTJRMkuP3xted89Y/iQx9ALqw186YM63j4v7SFdjaaOfyuG3cSVhbCRyJ2d5wY1k08wxICgQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2Ib0m+Ui93iNJWw3xr7g/L7ygiip7Vx80Vw8T48KV5I=; b=KaUH34BHwL0bjhXMQMt7E6GtKACxM7l2lZnOTAcncP+cR1FV1LVb71rIg1Hm5g0Q/9/YzURdGY+bYMKxu74P8VXjaOgSbjxnYgA41YX8NMaedr6xIXfVENMFnbXtDORiIXtCtBkBfnFRZh/0PcxJZwi0TNtElDeJRYWrEYeeeWTKXx8No7SJ2LO9hdqB7Fnu58WQKeZNVu6XDRCkabmeSMdjSWv70VunZqdQ67iBQERyS+87E88ASyoeyJ3dCxnCo8DVo15NCjRF3qmVCs+MEj5n8xFq60fxK9yy4SnvilZlqSiaTek6wWLo1PDBsUM7djlIAt96+NHZcsnGd4l35A==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=haivision.com; dmarc=pass action=none header.from=haivision.com; dkim=pass header.d=haivision.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Hai365.onmicrosoft.com; s=selector2-Hai365-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2Ib0m+Ui93iNJWw3xr7g/L7ygiip7Vx80Vw8T48KV5I=; b=NxbH07Q2PZYWhOtgxVQhEBFeyVAJGGDrfaTV4t/ptYhe3eEjUTWwgYQDWP9BmnuUlfxnWECPAJh+L7h2OTvOGSU8GZBqoZs7H35rYrMjZ6Tx3PLyVW6uOya5tRCO8kjVLQoylU9x8HdbC6e3f2y7x5H7zhYz49+V/FdxjV79luQ=
Received: from QB1PR01MB3826.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c00:3a::10) by QB1PR01MB3587.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c00:3e::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3088.26; Sun, 14 Jun 2020 20:05:14 +0000
Received: from QB1PR01MB3826.CANPRD01.PROD.OUTLOOK.COM ([fe80::80d9:d445:e88f:f931]) by QB1PR01MB3826.CANPRD01.PROD.OUTLOOK.COM ([fe80::80d9:d445:e88f:f931%6]) with mapi id 15.20.3088.028; Sun, 14 Jun 2020 20:05:14 +0000
From: Maxim Sharabayko <maxsharabayko@haivision.com>
To: Alexandre GOUAILLARD <agouaillard@gmail.com>, "Deen, Glenn (NBCUniversal)" <Glenn.Deen@nbcuni.com>
CC: Leslie Daigle <ldaigle@thinkingcat.com>, "mops@ietf.org" <mops@ietf.org>
Thread-Topic: [Mops] Low latency protocol comparision
Thread-Index: AQHWQaPph2USpf/JDk28uQNEPpwAU6jXIjKAgAAI2YCAAAYiAIABe0yA
Date: Sun, 14 Jun 2020 20:05:14 +0000
Message-ID: <7D14F27F-5914-46EC-9E27-9A61D3CEF820@haivision.com>
References: <CAHgZEq4iQx0Un2N_rSOPafDCqzWxO_y_dX3JzZ=nw3=hbhinRQ@mail.gmail.com> <17635DFD-B536-4B22-8A5D-314BCBEFF19C@nbcuni.com> <CAHgZEq738OMiXwsuDuz22zR2tsF+hX8gUNgFsq1262F9rYJcvg@mail.gmail.com>
In-Reply-To: <CAHgZEq738OMiXwsuDuz22zR2tsF+hX8gUNgFsq1262F9rYJcvg@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=haivision.com;
x-originating-ip: [2a01:c22:8877:8a00:9ddf:b94a:e2d0:9b97]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 9d7580a1-5587-41fc-67ae-08d8109e4084
x-ms-traffictypediagnostic: QB1PR01MB3587:
x-microsoft-antispam-prvs: <QB1PR01MB3587A637B80DBDB9E2863597B29F0@QB1PR01MB3587.CANPRD01.PROD.OUTLOOK.COM>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 04347F8039
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: xxrHVdrEt75yisrbYmhkimD1o1dDRs0iH6Pr3/uCwU50jLE8ffepoJNnx3FzMI9t3v33hAiE1N5WKhZIBz6NWnxpgaQlDmwB1VvP7fo3t0/oGhxVWSxnl37nBp6UO2WaP1b4x/MYcfuYcPIYHaDL8QASakZCisAEuEGDY5bXguZvR7pTFl1aJeJqJcxJ56PUQ61gwXOf0dfHShoc062NF2qGf3iagUYtD+TyRN5+OzAXCggkNHwIYH+dTNW6ReoJodt+QnkBBC7hmI9ROv85orSSNgJP1BlxplQxLI4QRurnpz/qbbSzLb2FzdzE3zn4lF1I1p37ZQj4wmNfTEWpVEOcB48CdiYNzJos2LFoOHdGG4tx4TTPdXlq4RoB03QN2LkRuXUrUQhPTdDxKgJbfQ==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:QB1PR01MB3826.CANPRD01.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(346002)(136003)(396003)(376002)(366004)(39830400003)(7066003)(83380400001)(66946007)(64756008)(91956017)(66556008)(6486002)(66446008)(76116006)(53546011)(66476007)(33656002)(5660300002)(66574014)(316002)(166002)(71200400001)(4326008)(110136005)(2906002)(54906003)(45080400002)(186003)(2616005)(8676002)(478600001)(6512007)(86362001)(16799955002)(8936002)(966005)(6506007)(36756003); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: verym/Eoxs7HdLMEfwDimAqV+iepZki/pjL6cgDCZWcQIHkWBKnBqu7owp5kks/R4KK/14pFMFRM06HRmLU45eVLuPo/E6JxrwudU3ZSWO0ZMPRYfLkbUTZINBJEkzw1jJIl4zDnMX4/QNU3fgE6qm5Plszne/SKH+N2kW+jYiWzw+sPIydluVW+YD+mLjbAf/MDRG4C/ar+Dik7ALNpLgR3UU8Bq8hJT0UqXg1CZ6RM8k/asFHHXMoA/k/RSWtCf2MJcXr7xgjHohst4iQnp1U4UHRxIwllDXNrawwG6zWnfZbsf/K87BjGxGpFN8A23V78f3LOwYwl36iONM9eh1bUOWw3poi+1kf/aJyeFTKEo5Idpr5xunEwbz1s33C9fakBgCgQaKKRbqvjlNGpE2xz1K8Fnmu+uS1tBwbthLdTOgO8OnuViC99l3YslqGQe5f6o/uCoggkxx1Ru1VYpPr9Pj/mqW0VsfOTlRUl9qVpQZoLOXLx7ZMBjonE3ZKrZOWbpVfxWaX1dis6PZ9lDL5T1AFR9DgbaAc8a/6spAUwoqPJnxPuefDYttVlvheq
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_7D14F27F591446EC9E279A61D3CEF820haivisioncom_"
MIME-Version: 1.0
X-OriginatorOrg: haivision.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 9d7580a1-5587-41fc-67ae-08d8109e4084
X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Jun 2020 20:05:14.5232 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: a88156c4-f3f7-4104-8fad-43b93f27493d
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: K14F1xcFj96MzYffJ8HZ2mauM82aouKWzOpXnbs7LjLtHpZWi3wv8p6vmCIJ3xQCUoWoSZqp4MekGPgGXd2P1cNWePU57PwiCt3JtrWEnW4=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: QB1PR01MB3587
Archived-At: <https://mailarchive.ietf.org/arch/msg/mops/EW2Fs6zQUencj_CyPIFJaZXbzo0>
Subject: Re: [Mops] Low latency protocol comparision
X-BeenThere: mops@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Media OPerationS <mops.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mops>, <mailto:mops-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mops/>
List-Post: <mailto:mops@ietf.org>
List-Help: <mailto:mops-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mops>, <mailto:mops-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 14 Jun 2020 20:05:25 -0000

Hi,

The idea of performing the comparison is very exciting! I would be glad to participate as a delegate from SRT.

@Glen
It would be great if any SRT folks on this list could do something similar,  to to mention those working with CMAF and LL HLS.

There are of course some inaccuracies in the description of SRT.
The receiver buffer latency of 120 ms is the default value, not the minimum. The minimum is 1 ms.
There is no limit of the number of packet retransmissions, although the configurable limit might be added soon.
HLS and DASH can be transmitted over SRT. And so on.

But in general even with these inaccuracies, the overview of the existing protocols on the market is quite good.

--
Regards,
Maxim Sharabayko
Senior Software Developer | Haivision

From: Mops <mops-bounces@ietf.org> on behalf of Alexandre GOUAILLARD <agouaillard@gmail.com>
Date: Sunday, 14. June 2020 at 01:28
To: "Deen, Glenn (NBCUniversal)" <Glenn.Deen@nbcuni.com>
Cc: Leslie Daigle <ldaigle@thinkingcat.com>, "mops@ietf.org" <mops@ietf.org>
Subject: Re: [Mops] Low latency protocol comparision

@Deen, agreed. I gave it a try though a couple of years back. Let me know if that would go in the right direction and I can update it with everything I learned in the mean time, and taking into account the updates to the different protocols (e.g. new HLS informational draft by pantos):
http://webrtcbydralex.com/index.php/2018/05/15/streaming-protocols-and-ultra-low-latency-including-webrtc/

@Leslie, I volunteer every year, every hackathon :-)
However, I am more knowledgeable about webrtc than other protocols, so in that regard, I am biased.
I think to be fair each protocol should have a reasonable representative/champion that at least validates that the testing protocol chosen is adequate, and garantees the accuracy and the fairness of the result.

For webrtc, it was problematic as well, as each browser vendor did not want someone else to benchmark their implementation, so we ended up with one representant of each browser vendor at 104 I believe (pragues), to validate its result, and did it again in montreal:
https://trac.ietf.org/trac/ietf/meeting/wiki/105hackathon/webrtc
if we manage to get the same setting, I think it could be very successful in getting fair and accurate results.

I think we could handle the webrtc testing (as in writing open source tests and providing results that would be deterministic and independently verifiable by any and all).
- Maybe Veriskope, which is trying to push an RTMP 2.0, could be interested in joining for RTMP.
- Magnus W for RTSP 2.0 ?
- Then we would need one volunteer for SRT,
- and another one for QUIC (maybe martin thompson can point us in the right direction). QUIC is always the biggest table so it should not be too difficult.
- Jonathan Lennox, chairman of AVTCORE is always around and could help, especially on the congestion control, Error concealment, and bandwidth adaptation part
- We could motivate EKR to comment on the security aspects.
- I'm not sure if we want to asses IPv6 and NAT traversal readiness (ICE)

What do you think?

Regards,

Dr. Alex






On Sun, Jun 14, 2020 at 1:05 AM Deen, Glenn (NBCUniversal) <Glenn.Deen@nbcuni.com<mailto:Glenn.Deen@nbcuni.com>> wrote:
Yes, it’s a bit marketing, but it’s also one of the few write ups that attempts to put the popular media transports side by side for people to understand their strengths and abilities.   The marketing blogs also give us, the IETF, insight into how the outside world of adopters and sellers of our work see things.

I really wish that all web documents and pages contained a posting date.   This one doesn’t gave it a date.  However, the page must be from at least mid 2019 as it mentions things that were released then.

I like your write up of the WebRTC inaccuracies.  It would be great if any SRT folks on this list could do something similar,  to to mention those working with CMAF and LL HLS.  There a lot of adopters out there who are working through what protocol best fits their particular needs - webRTC?   SRT?  Something that bright summer intern wrote while she was here last summer?

 Capturing something like this, and even better some sort of bake off as you suggest would be valuable to a lot of people.  Though it may have to wait to get critical mass of participants until next year.

Glenn

On Jun 13, 2020, at 3:34 PM, Alexandre GOUAILLARD <agouaillard@gmail.com<mailto:agouaillard@gmail.com>> wrote:
There are multiple inaccurate statements in the linked documents. Most of them that have been carried around for many years by other SRT vendors like Wowza and already called out (here<http://webrtcbydralex.com/index.php/2019/05/18/wowzas-marketing-at-work-again-webrtc/> for example).

I'm just going to point to three of the most egregious (read "verifiably wrong") statements, that by themselves undermine the credibility of the entire document.

- "Maximum supported resolution: 720p, 30 frames per second with a bit rate of up to 2 Mbps."
- There is no limit to the spatial and temporal resolution in webrtc/rtcweb protocol.
Stadia for example send up to 4K@30fps.

"WebRTC is inferior to its colleagues in terms of the coding quality and maximum amount of transmitted data.
- There is no limit to the bandwidth used in the webrtc/rtcweb protocol.
- There is a limit of 2Mbps per peer connection on the sending-side only in the google chrome implementation, only by default (web application can lift this limit), and only for webcams devices (screensharing has no bandwidth limit). This is a chrome implementation detail, and not a protocol limit.
-While VP8 and H264 are both mandatory to implement (original IETF discussion<https://mailarchive.ietf.org/arch/msg/rtcweb/juVsZKp-AmRpYLCgy-uwartuNrY/>) anybody can add any codec to webrtc as long as an RTP payload specification exists.
-- Google chrome, and firefox, both supports real-time VP9 mode 2 (4:4:4, 10 bits, HDR)
https://source.chromium.org/chromium/chromium/src/+/master:third_party/webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc;l=985
-- Chrome has a real-time AV1 implementation in webrtc, which goes up to high profile (4:4:4, 8~10bits, HDR).
https://source.chromium.org/chromium/chromium/src/+/master:third_party/webrtc/modules/video_coding/codecs/av1/
In terms of quality, only codecs at high profile (i.e. 12bits) can do better, and none of those have a "real-time" version today.
In terms of coding efficiency, AV1 is still the best codec available in production.

"WebRTC is not available in Safari and partially unavailable in Bowser and Edge."
- webrtc is fully available in Edge, and Safari.
https://caniuse.com/#search=webrtc
official daily W3C results: https://wpt.fyi/results/?label=master&label=experimental&aligned&q=webrtc
- Safari has added H.265 support in addition to the mandatory to implement VP8 and H..264 in the latest safari tech preview.

I'm not going into the Discussion about webrtc's underlying RTC/RTCP protocol and corresponding extension: NACK, RTX, FEC, RED, or Congestion Control (REMB, Google-cc, BBR, NADA), as IETF members I'm sure you re all aware of RFC3550 and all its derivatives. Many authors of those RFCs are part of this group.

Maybe more overlooked is the most recent Draft for end-to-end encryption on top of webrtc co-authored by google:
https://tools.ietf.org/html/draft-omara-sframe-00

I'm not saying that SRT is worse, or better than WebRTC.. I'm just saying, this comparison is not egregiously incorrect, and I'm a little bit surprised that we are discussing marketing blogs that go in the face of so many IETF specs.

If anybody is interested in going deep into a real  thorough comparison between all those protocols, why not doing it during the IETF hackathon in July, or in october (hopefully in BKK) just like we did group co-testing with IETF's AVTCORE/AVEXT/QUIC/RTCWEB/RMCAT during the previous IETF hackathons?

Regards,



On Sat, Jun 13, 2020 at 6:58 PM Leslie Daigle <ldaigle@thinkingcat.com<mailto:ldaigle@thinkingcat.com>> wrote:

I thought this was a pretty interesting analysis:

Low broadcast latency and protocols for implementation thereof:
https://www.elecard.com/page/low_broadcast_latency_and_protocols_for_implementation_thereof

Particularly telling is the chart at the end: WebRTC and SRT don’t look very similar, in this particular regard.

Leslie.

--

________________________________

Leslie Daigle
Principal, ThinkingCat Enterprises

ldaigle@thinkingcat.com<mailto:ldaigle@thinkingcat.com>
--
Mops mailing list
Mops@ietf.org<mailto:Mops@ietf.org>
https://www.ietf.org/mailman/listinfo/mops


--
Alex. Gouaillard, PhD, PhD, MBA
------------------------------------------------------------------------------------
President - CoSMo Software Consulting, Singapore
------------------------------------------------------------------------------------
sg.linkedin.com/agouaillard<http://sg.linkedin.com/agouaillard>
·
--
Mops mailing list
Mops@ietf.org<mailto:Mops@ietf.org>
https://www.ietf.org/mailman/listinfo/mops


--
Alex. Gouaillard, PhD, PhD, MBA
------------------------------------------------------------------------------------
President - CoSMo Software Consulting, Singapore
------------------------------------------------------------------------------------
sg.linkedin.com/agouaillard<http://sg.linkedin.com/agouaillard>
·