Re: [Mops] Low latency protocol comparision

Alexandre GOUAILLARD <agouaillard@gmail.com> Sat, 13 June 2020 23:27 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 36DB73A07D8 for <mops@ietfa.amsl.com>; Sat, 13 Jun 2020 16:27:55 -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 fGF6oCxyp7LJ for <mops@ietfa.amsl.com>; Sat, 13 Jun 2020 16:27:52 -0700 (PDT)
Received: from mail-il1-x136.google.com (mail-il1-x136.google.com [IPv6:2607:f8b0:4864:20::136]) (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 B73973A07C5 for <mops@ietf.org>; Sat, 13 Jun 2020 16:27:52 -0700 (PDT)
Received: by mail-il1-x136.google.com with SMTP id a13so12127870ilh.3 for <mops@ietf.org>; Sat, 13 Jun 2020 16:27:52 -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=mxNYGu4+sA+A+9kaM0goPi9HL6IQZxittahDQJh/Crc=; b=WpVWy49jbp8DH+Zw8PLWLN78U3spgwpCn8bszdLP7RSp+E1UcF83xsASM0qadp1u0E tEJFpTHkUu5NFrPCqbzXjGEvD5M108MP1Cxxk5w+OUgfUFTURbJJhfOaRsGHt3acXW6K AlmhHJOATrClFtNE4//2KpAWddIoeCNkI7syVOVWvwyiAn0RX2tSdXmNW20p1L3HIMA7 Ixf5w37oLuVq5I2ObgwZoaD7GfE64sq9IengGTqfJ+dl0GE7jNVM+ptZ2rH9XrcGJWYk DWuWXxXOS0OC0ebR811Mhx1xR+SGIpDFqfmmm3dZnQ/SnyOlnDtvE4INbGtl38vjjSbV NrCw==
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=mxNYGu4+sA+A+9kaM0goPi9HL6IQZxittahDQJh/Crc=; b=mIxavs4bt6s2PzBdgIDad1e5hrGiOUbIXhkG2miT5KjirQOWt+YmCGiZ6YcXEzz1+l QcgJtCIxaSBm+2VWU62QGyjG1TWj0nZcNAumPYrKqVJ8xcHmRf/8WvQEg26znmryzw/x Zfv0ohxNqcPAdSqQqEGh9iAszF6KVszZWEZx0iBgf6Ry/DgdwlueQffEQHO2QfYGRZ7w 6nODwW8mmTl9jzXJ0bHj2qaGcrC0MM94+S9b0vvuWqCtL+avIgUVKqlIWbq2yeAhty53 LJiDgaU7gRtJ5NtINR2CC5yQw8/NsjNq6faXMuCEK0LMfki5OW3MTJiObPX9dFpDqwO1 gMTg==
X-Gm-Message-State: AOAM533BpvRxF75bfQ0Kud1ZSPTaFD51OPY3R2DwdtxDAtiO6zMV9gov t6z4uFnUsXVDbxAkydO6Esd3gOFElteCwrRxBck=
X-Google-Smtp-Source: ABdhPJxsxRPt+cVTPJeIS+guHKGjKU1Jyhu7ExluXy0RBA98Rrz1YADLyCy1GX+miLmLZEDwpFe6GmTGChXegobqmRc=
X-Received: by 2002:a92:d151:: with SMTP id t17mr20929974ilg.197.1592090871927; Sat, 13 Jun 2020 16:27:51 -0700 (PDT)
MIME-Version: 1.0
References: <CAHgZEq4iQx0Un2N_rSOPafDCqzWxO_y_dX3JzZ=nw3=hbhinRQ@mail.gmail.com> <17635DFD-B536-4B22-8A5D-314BCBEFF19C@nbcuni.com>
In-Reply-To: <17635DFD-B536-4B22-8A5D-314BCBEFF19C@nbcuni.com>
From: Alexandre GOUAILLARD <agouaillard@gmail.com>
Date: Sun, 14 Jun 2020 01:27:40 +0200
Message-ID: <CAHgZEq738OMiXwsuDuz22zR2tsF+hX8gUNgFsq1262F9rYJcvg@mail.gmail.com>
To: "Deen, Glenn (NBCUniversal)" <Glenn.Deen@nbcuni.com>
Cc: Leslie Daigle <ldaigle@thinkingcat.com>, "mops@ietf.org" <mops@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000df186305a7ff8ad7"
Archived-At: <https://mailarchive.ietf.org/arch/msg/mops/RjSuzwlpBVa59IpqF-4CItTNQeU>
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: Sat, 13 Jun 2020 23:27:55 -0000

@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

   -