[payload] Review of draft-ietf-payload-flexible-fec-scheme-08

Magnus Westerlund <magnus.westerlund@ericsson.com> Tue, 17 July 2018 18:22 UTC

Return-Path: <magnus.westerlund@ericsson.com>
X-Original-To: payload@ietfa.amsl.com
Delivered-To: payload@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A5292130EA7 for <payload@ietfa.amsl.com>; Tue, 17 Jul 2018 11:22:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.311
X-Spam-Level:
X-Spam-Status: No, score=-4.311 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_DKIMWL_WL_HIGH=-0.01] autolearn=unavailable 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 5zLT7zCofTIl for <payload@ietfa.amsl.com>; Tue, 17 Jul 2018 11:22:33 -0700 (PDT)
Received: from sessmg22.ericsson.net (sessmg22.ericsson.net [193.180.251.58]) (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 4ED94130F20 for <payload@ietf.org>; Tue, 17 Jul 2018 11:22:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; d=ericsson.com; s=mailgw201801; c=relaxed/simple; q=dns/txt; i=@ericsson.com; t=1531851748; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=rYm+v8kc1SKm0/tjApFPp3vVHbvT+uoJIIEm2S4uzw0=; b=GiALFQPSRBAy+MRDwBbeMvwir0BBOSjJ+qe2lbUHpAbPaP5NSsucbaDLxAE3mRKA K+CJFNkGrfRHo0SnafEc5KeLq/txExeu2ehAQ9HVYxmpeZMZ0p6TPkUlHqIxSRaa r3QT8oFOsgtcETAch6LlRdOnt9jwijJ1EnF6duSW7ns=;
X-AuditID: c1b4fb3a-9e9ff700000079c1-97-5b4e33e4e5f4
Received: from ESESSMB502.ericsson.se (Unknown_Domain [153.88.183.120]) by sessmg22.ericsson.net (Symantec Mail Security) with SMTP id 71.96.31169.4E33E4B5; Tue, 17 Jul 2018 20:22:28 +0200 (CEST)
Received: from [100.94.35.38] (153.88.183.153) by ESESSMB502.ericsson.se (153.88.183.163) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Tue, 17 Jul 2018 20:22:27 +0200
To: "payload@ietf.org" <payload@ietf.org>, draft-ietf-payload-flexible-fec-scheme@ietf.org
From: Magnus Westerlund <magnus.westerlund@ericsson.com>
Message-ID: <633bb439-9c53-2cd7-b34a-1071ad0dbaa8@ericsson.com>
Date: Tue, 17 Jul 2018 14:22:26 -0400
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1
MIME-Version: 1.0
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 8bit
Content-Language: en-GB
X-Originating-IP: [153.88.183.153]
X-ClientProxiedBy: ESESSMB501.ericsson.se (153.88.183.162) To ESESSMB502.ericsson.se (153.88.183.163)
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrOLMWRmVeSWpSXmKPExsUyM2J7he4TY79og1XrzS3+3i6yuHTxLJMD k8eSJT+ZAhijuGxSUnMyy1KL9O0SuDKmv+xnL3jlVtF48z1TA2OLRRcjJ4eEgIlE97dlTF2M XBxCAkcZJa7du80C4bxjlPh3pJkFpEpEIE7i1e9ZjCA2m4CFxM0fjWxdjBwcwgI2Ek2fTUDC vAL2Er0bnrOB2CwCqhKfvh5kBbFFBWIkjk5uYYOoEZQ4OfMJC0grM1D9g61lIGFmAXmJ5q2z mSFscYmmLyvBWoUEtCUamjpYIe5Ukrg+7zpYq4RAusTr03wTGAVmIRk6C2HoLCRDZyEZuoCR ZRWjaHFqcXFuupGRXmpRZnJxcX6eXl5qySZGYHAe3PLbagfjweeOhxgFOBiVeHi/q/pFC7Em lhVX5h5ilOBgVhLhPfrBN1qINyWxsiq1KD++qDQntfgQozQHi5I4r1OaRZSQQHpiSWp2ampB ahFMlomDU6qBsdo1THeB2J4i9+dTH/uXtW1uUVkfuPuvgdK6fC/WfIeQRZwOYt/WfzE9WnHh We5hnwbpuz/XvQlnXlIdy7RRlvVwW9n7122ad6asW6TTvkaz6THL1qbpR+6nLSgqOLZi42sH B8P7znyv9XJT275d2+MZ6xS99U7GSalZk2e9l3ivl+/7uTxXX4mlOCPRUIu5qDgRAOzYdbdK AgAA
Archived-At: <https://mailarchive.ietf.org/arch/msg/payload/AIHw5DSABEJLa6lSOLryLdI0eBk>
Subject: [payload] Review of draft-ietf-payload-flexible-fec-scheme-08
X-BeenThere: payload@ietf.org
X-Mailman-Version: 2.1.27
Precedence: list
List-Id: Audio/Video Transport Payloads working group discussion list <payload.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/payload>, <mailto:payload-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/payload/>
List-Post: <mailto:payload@ietf.org>
List-Help: <mailto:payload-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/payload>, <mailto:payload-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 17 Jul 2018 18:22:36 -0000

Hi,

I have reviewed the updated draft -08. So now I finally done a complete 
review from front to end. Sorry about the delay to get these comments in.


A. Section 4.2.1:

       Synchronization Source (SSRC): The SSRC value for each repair
       stream SHALL be randomly assigned as suggested by [RFC3550].  This
       allows the sender to multiplex the source and repair RTP streams
       on the same port, or multiplex multiple repair streams on a single
       port.  The repair streams SHOULD use the RTCP CNAME field to
       associate themselves with the source stream.

Instead of port in this text, I think what you want to refer to RTP 
sessions. Maybe:

       Synchronization Source (SSRC): The SSRC value for each repair
       stream SHALL be randomly assigned as suggested by [RFC3550].  This
       allows the sender to multiplex the source and repair RTP streams
       in the same RTP session, or multiplex multiple repair streams in 
an RTP session.


B. Section 4.2.1:

       The repair streams SHOULD use the RTCP CNAME field to
       associate themselves with the source stream.

So in cases when the host sends multiple source RTP streams, the CNAME 
only results in the repair stream being associated with a set of source 
RTP Streams through common CNAME. After all the actual source RTP stream 
is identified explicitly. There will also occur none-resolvable cases 
when a inline FEC producer includes source packets from multiple 
different hosts, and thus likely different CNAMEs.

I think the right way forward here is to say that the repair RTP streams 
SSRC's CNAME value SHOULD be identical to the CNAME of the source RTP 
stream(s) that this repair stream protects. In cases when the repair 
stream covers packets from multiple source RTP streams with different 
CNAME, any CNAME value MAY be used.

Also maybe the text following on inline FEC protectors should be 
changed, so that they would use its own CNAME so that one can determine 
if the transmission timestamp clock really is the same as the one used 
for the source RTP Streams?

C. Section 4.2.2.1:

   o  The Length recovery (16 bits) field is used to determine the
       length of the recovered packets.  This length includes all octets
       following the fixed 12-byte RTP header of source packets,
       including CSRC list and options if present.  It excludes the fixed
       12-byte RTP header of source packets.

"Options" in the above, is that intended to be header extensions?

D. Section 4.2.2.2:

There is no formal definition here for how the source block is created 
when there are multiple SSRCs in the CSRC list.

E. Section 4.2.2.2:
      |    ... next SN base and M/N for CSRC_i in CSRC list ... |

What is M/N is it supposed to be L and D?

F. Section 4.2.2.2:

    If L>0, D=1, indicates Row FEC, and column FEC will follow.
                 Hence, FEC = SN, SN+1, SN+2, ... , SN+(L-1), SN+L.
                 And more FEC to come.

What does "more FEC to come means here?" Without explicit definition I 
don't see what difference this has to L>0, D=0?


G. Section 4.2.2.3:

Are there any assumptions about the relation between repair RTP stream 
SSRC and the source RTP stream SSRC? The text here appears to indicate 
that it can be 1 (repair stream) sending retransmission packets for many 
source RTP streams? Can you please clarify this.

Are there a point of doing this type of retransmission in a 1 to 1 
fashion instead?

H. Section 5.1:

   o  ToP: indicates the type of protection applied by the sender: 0 for
       1-D interleaved FEC protection, 1 for 1-D non-interleaved FEC
       protection, and 2 for 2-D parity FEC protection.  The ToP value of
       3 is reserved for future uses.

What about retransmission only uses? And what about combinations with 
retransmission and other types?

I. Section 5.1:

    o  L: indicates the number of columns of the source block that are
       protected by this FEC block and it applies to all the source
       SSRCs.  L is a positive integer.

    o  D: indicates the number of rows of the source block that are
       protected by this FEC block and it applies to all the source
       SSRCs.  D is a positive integer.

    o  ToP: indicates the type of protection applied by the sender: 0 for
       1-D interleaved FEC protection, 1 for 1-D non-interleaved FEC
       protection, and 2 for 2-D parity FEC protection.  The ToP value of
       3 is reserved for future uses.--

Section 4.2.2.2:
    If L=0, D=0, use the optional payload format parameters for L and D.

I don't quite understand how a receiver will be able to determine which 
packets where part of the source block to generate this FEC packet. L 
and D will only specify the size of the block, but there is no 
information if this is a row or column packet for the 2-D ones. Or is 
the intention that these will only be 1-D codes, and the row or column 
mode will be based on the value of the Media Type parameters of L and D? 
Section 6.3.1.3 implies that only a 1-D code is supported in this use 
case. Please document that restriction with the signalling parameters.

J. Section 5.2.1

    o  There are no optional format parameters defined for this payload.

Isn't L, D and ToP optional parameters.

K. Section 6.2:
    o  The lowest Sequence Number of the source packets protected by this
       repair packet is written into the Sequence Number Base field in
       the FEC header.

    o  Depending on the chosen FEC header variant, the mask(s) are set
       when F=0, or the L and D values are set when F=1.

These steps needs to be repeated for each SSRC that has packets included 
in the source block.

L. Section 6.3.1:

I think this text is missing the really first step of the receiver 
knowing in which RTP sessions the source and repair RTP streams that are 
related are being sent in. This may be different or the same session as 
indicated by signalling or other out-of-bands means.

M. Section 6.3.2:

    14.  Set the SSRC of the new packet to the SSRC of the source RTP
         stream.

Maybe to be even more explicit to say, the SSRC of the missing source 
RTP stream, to avoid confusion in multiple SSRC source blocks.

N. Section 7:

I think this section is missing the discussion of the need to signal the 
RTP session relation between source and repair RTP Streams. There is 
basically two choices here, either the repair RTP stream(s) are in the 
same RTP Session as the source packets, or they are in a different one.

When they are in the same, it is clear that the packets carry the 
SSRC(s) of the source RTP packets. However, one thing is a bit unclear 
and could vary with implementation and that is the number of repair RTP 
streams in use when there are multiple source RTP streams. Are there 
only one repair stream, or one per source RTP stream or some other 
relation? So example 7.1 could be one or more source RTP stream but 
nothing in the signalling reveals this. Signalling context can make it 
clear if there is a single media source or could be more. For 7.2 there 
is an explicit binding between the repair and source SSRCs.

I think the need and not need to explicitly indicate the source to 
repair stream relations.


For different RTP sessions there need to be some type of RTP/RTCP out of 
band mechanism to indicate the relation.  The use of grouping of media 
lines FEC semantics is very reasonable and should be made clear and 
probably include an example.

I would prefer if the signalling requirements where discussed first, 
followed by SDP related mechanisms then followed by the examples of the 
realization.


O. Section 7:
The use of draft-ietf-avtext-rid RepairedRtpStreamId is not at all 
needed, even if it could be used in a sub-set of applications of 
flexfec. It would work in same RTP Session, with a single repair RTP 
stream only protects a singe source RTP stream. But, considering the 
possibility of repair of multiple source streams and different RTP 
Sessions, I think an explicit statement that this SHOULD NOT be used for 
the payload format would be good to include.

P. Section 9.

Is there a need to discuss in the security consideration the risk that 
additional source RTP streams can result in creation of buffers that may 
or may not be used. Also the FEC has a non uniform processing 
requirement that may affect the higher layer application.

Cheers---

Magnus Westerlund

----------------------------------------------------------------------
Network Architecture & Protocols, Ericsson Research
----------------------------------------------------------------------
Ericsson AB                 | Phone  +46 10 7148287
Torshamnsgatan 23           | Mobile +46 73 0949079
SE-164 80 Stockholm, Sweden | mailto: magnus.westerlund@ericsson.com
----------------------------------------------------------------------