Re: [Mops] Low latency protocol comparision

Alexandre GOUAILLARD <agouaillard@gmail.com> Wed, 24 June 2020 13:41 UTC

Return-Path: <agouaillard@gmail.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 51C2D3A0DDD for <mops@ietfa.amsl.com>; Wed, 24 Jun 2020 06:41:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 u8_Vq8UBWE6V for <mops@ietfa.amsl.com>; Wed, 24 Jun 2020 06:41:33 -0700 (PDT)
Received: from mail-io1-xd36.google.com (mail-io1-xd36.google.com [IPv6:2607:f8b0:4864:20::d36]) (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 588343A0DC3 for <mops@ietf.org>; Wed, 24 Jun 2020 06:41:33 -0700 (PDT)
Received: by mail-io1-xd36.google.com with SMTP id i4so2130801iov.11 for <mops@ietf.org>; Wed, 24 Jun 2020 06:41:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=FF2QqVbOM8kDpAQUaLYNGAwNgSyUXybVeY5kK9fyzjg=; b=NTNBgT9Qv+fV0JB6sUdKEVB1u4EQ2ubn6Z0E1MwgqThjvK7fZbkrkD7xYFXcT4DwGK nu1ZAcGsZpG6OGoj1xnmJjCX80t1rQM3SYW7akk+d42OdwXkd6wRdf6TgysxWsmthl7h FEQ27JblndSktvy8YmX7dPPKsyBWZA0+gml8g6UBk9xHc91elm3bY9Mbowl91ALRyNs1 rVc3vt/Wmm2q5s4Nk99vFkoJ6CGAlUG1+IwA5yCd/viJcTCFc2z+8vlRDMGeKUxiuggv r3fXyH2L26SX+KSZmk6ZbqIvyMhW5/u5I7t2jM5+og+C/E0iWqxu9wDDIJKgtId/M9H8 a8Iw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=FF2QqVbOM8kDpAQUaLYNGAwNgSyUXybVeY5kK9fyzjg=; b=XQLsMnFLBQ2EZsPOO4li5711LUtLIbaBkO7PyS20MOa8GdD9WGQocqmiQrstb0C8Ev IYXmUKxNaZ6fXDX3U020n2q3r3WVhmVVRxvmTLRTjBr5B+8slt++wBNmnCOdyRcAgfqx AiANXAsCSQochCWGbFbfvoGK4NYglOk+tDo3h6fsOiQp5yuDjXjmkX3aA7+wD5wDxDa0 QQgeG9gTU/XVp/K2CaLvpZqa80fu985nhDYicbKvZZV+VjsR0LnMtjJJyIui4Ta+BnMs T8PZPRI+iELkIjyMkypV2u0QqYJiiaxJ7yq0sV9sk6wnQ8pA0vf5a2jZ56pvftBkd9eG 00ZA==
X-Gm-Message-State: AOAM533dRKra/mA0ZSPO+3UuWdQ16wPsB3yWYu8i6HhEl7fuMm/osa6U EIEr8dic+60HJioSkrof9fA9VGfEpWgxpmEJZVyVlwRAmHg=
X-Google-Smtp-Source: ABdhPJyqDJtXnOs9iaGAIdKyaVWwAVlIgb+r+SWbzHn/q2PT3qO1WIJqM34AnFXO2HkDC4Znm+j1fasjnKHuBCV20mU=
X-Received: by 2002:a02:10c1:: with SMTP id 184mr22401569jay.135.1593006092344; Wed, 24 Jun 2020 06:41:32 -0700 (PDT)
MIME-Version: 1.0
References: <CAHgZEq4iQx0Un2N_rSOPafDCqzWxO_y_dX3JzZ=nw3=hbhinRQ@mail.gmail.com> <17635DFD-B536-4B22-8A5D-314BCBEFF19C@nbcuni.com> <CAHgZEq738OMiXwsuDuz22zR2tsF+hX8gUNgFsq1262F9rYJcvg@mail.gmail.com> <7D14F27F-5914-46EC-9E27-9A61D3CEF820@haivision.com>
In-Reply-To: <7D14F27F-5914-46EC-9E27-9A61D3CEF820@haivision.com>
From: Alexandre GOUAILLARD <agouaillard@gmail.com>
Date: Wed, 24 Jun 2020 15:41:20 +0200
Message-ID: <CAHgZEq7W6eXNvD246veeDZVODh123o+q=rghXtPauXWOf+jzLw@mail.gmail.com>
To: Maxim Sharabayko <maxsharabayko@haivision.com>
Cc: "Deen, Glenn (NBCUniversal)" <Glenn.Deen@nbcuni.com>, Leslie Daigle <ldaigle@thinkingcat.com>, "mops@ietf.org" <mops@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000042620a05a8d4a29c"
Archived-At: <https://mailarchive.ietf.org/arch/msg/mops/rubxHqV2wut9EJnVMgJwT9UF4-k>
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: Wed, 24 Jun 2020 13:41:36 -0000

Dear all,

I went around to the long time Hackathon attending IETF media guys and it
looks like it's going to be too short notice to prepare something for
Madrid.
Between AV1 RTP payload and implementation, the SVC extensions, the
QuicTransport / WebTransport , and the End-To-End encryption for real-time
media, everybody that would be otherwise interested and capable to
contribute is real busy.

However, I gathered sufficient interest for BKK (whether it will be virtual
or not), given the usual rules those people abide by are followed. Since
IETF does not have a set of proper rules nor a formal test suite, those
follow the rules that were used at IMTC superop events, previous IETF
Hackathon, W3C 's web-platform tests and/or AOMedia 's testing working
group. The usual IETF rules about the usage of MUST or SHOULD apply.
- Test cases must be discussed and defined early on, to make sure the
"everything else being equal" statement applies. The definition of starting
point and end point of latency measurement for example varies a lot
depending on the study.
- Test content (if any) must be defined and made publicly available to be
able to independently reproduce results.
- Test suite should be written in advance. The same test suite should be
used by all. The test code must be made publicly available to be able to
independently reproduce results.
- If the need for specific test bed appears, e.g. controlled network,
programmatic packet loss / jitter / bandwidth variation, we should speak
with the IETF network guys, and/or Charles E. to have that set up (in the
case of a real meeting), or for a common open source test infrastructure
like e.g. KITE to be set up and made available.

We usually consider it fair to provide 3 months to everyone after the first
comparative results are out, to try to optimize their implementations or
address bugs found in the process, so that the results are representative
of the capacity of a protocol, and not the deficiency of a given
implementation. I don't know if it makes sense to do this here, e.g. to
have temporary results in BKK, but give untill IETF 110 in Pragues to
freeze the data, since SRT is not an IETF protocol with fixed versions and
revisions at this stage.

If this sounds reasonable to at least one of the chair, and from maxim or
another SRT representative, I'm happy to facilitate for IETF 109 the set
up, bring enough IETF people and open source media server people to the
table to have critical mass of data and review, and to facilitate the
writing of a subsequent ID, in the same spirit we published a comparative
study of open-source media webrtc media servers:
https://www.semanticscholar.org/paper/Comparative-Study-of-WebRTC-Open-Source-SFUs-for-Andre-Breton/10b877cc13ffc9a1cabbf415cba73b22a1dd5442

Best regards,

Dr. Alex.

On Sun, Jun 14, 2020 at 10:05 PM Maxim Sharabayko <
maxsharabayko@haivision.com> wrote:

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


-- 
Alex. Gouaillard, PhD, PhD, MBA
------------------------------------------------------------------------------------
President - CoSMo Software Consulting, Singapore
------------------------------------------------------------------------------------
sg.linkedin.com/agouaillard

   -