Re: [rtcweb] SDP and ssrc-group,

"Mo Zanaty (mzanaty)" <mzanaty@cisco.com> Wed, 29 October 2014 05:51 UTC

Return-Path: <mzanaty@cisco.com>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6102E1A014C for <rtcweb@ietfa.amsl.com>; Tue, 28 Oct 2014 22:51:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -11.51
X-Spam-Level:
X-Spam-Status: No, score=-11.51 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, J_CHICKENPOX_12=0.6, J_CHICKENPOX_14=0.6, J_CHICKENPOX_15=0.6, J_CHICKENPOX_36=0.6, J_CHICKENPOX_41=0.6, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham
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 mBd9Zrk0HRUJ for <rtcweb@ietfa.amsl.com>; Tue, 28 Oct 2014 22:51:09 -0700 (PDT)
Received: from rcdn-iport-3.cisco.com (rcdn-iport-3.cisco.com [173.37.86.74]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D32AA1A016D for <rtcweb@ietf.org>; Tue, 28 Oct 2014 22:51:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=10143; q=dns/txt; s=iport; t=1414561869; x=1415771469; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=tjVWzlsmm8oeFyjuI1kVqTiKYAri7l4IGFSVkVGBmyE=; b=htYjPku3jx4GBIiTaTEhrbE5IAszgolHoLYjCtOT+jSU+PQkK13kdQPT Yz3xORB0g/f+CD+M4aRQQicb3R8mGOLJDzLrQbUkpHUUj8igIaPQY7wll y85qgCh4NYU+UOHQglYvWOXLz+a+UpfpovSQ3RGWDS9D8jbmn75yk0CoI U=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AhoFANd/UFStJV2b/2dsb2JhbABcgkhGVFgEzkUBCYZ5VAKBFxYBAQEBAX2EAgEBAQMBAQEBZAcLEAIBCBgnByEGCxQRAgQBDQUbiBEDCQkNvkMNhjgBAQEBAQEBAQEBAQEBAQEBAQEBAQETBI5PgWkBAUsEB4RLBYUVAox0hw2CP4IRj1WGY4N4bAGBDjmBAwEBAQ
X-IronPort-AV: E=Sophos;i="5.04,808,1406592000"; d="scan'208,217";a="367383340"
Received: from rcdn-core-4.cisco.com ([173.37.93.155]) by rcdn-iport-3.cisco.com with ESMTP; 29 Oct 2014 05:51:05 +0000
Received: from xhc-aln-x12.cisco.com (xhc-aln-x12.cisco.com [173.36.12.86]) by rcdn-core-4.cisco.com (8.14.5/8.14.5) with ESMTP id s9T5p5Aj024535 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Wed, 29 Oct 2014 05:51:05 GMT
Received: from xmb-rcd-x14.cisco.com ([169.254.4.159]) by xhc-aln-x12.cisco.com ([173.36.12.86]) with mapi id 14.03.0195.001; Wed, 29 Oct 2014 00:51:05 -0500
From: "Mo Zanaty (mzanaty)" <mzanaty@cisco.com>
To: Martin Thomson <martin.thomson@gmail.com>, Justin Uberti <juberti@google.com>
Thread-Topic: [rtcweb] SDP and ssrc-group,
Thread-Index: AQHP8zxUqi1i1wqR+EyDmy+Vgek/aA==
Date: Wed, 29 Oct 2014 05:51:05 +0000
Message-ID: <D075F3CB.3D2D6%mzanaty@cisco.com>
References: <CALiegfmH8rRyEDbJjQ=kzMv0nGC=S9gNsE7roE=kqJyVcfgy8g@mail.gmail.com> <CAJrXDUHekuQCLeCYzsnm8AuTUgiVppQHUqR7MKdQ9Q=eFFAy0w@mail.gmail.com> <CALiegfm_B5KfD5SBPzsH4YYuzD2OXdu47TtatPVmd6ihrMCh1A@mail.gmail.com> <CAJrXDUF-AXcDuQmYhH91vbgPAxLkYkB==GY9opoRk7zrEP8A7A@mail.gmail.com> <CALiegfmxnzZ6_3rKX0paNhHas6Emvu1Mekgb9caj9NLVSf_u+g@mail.gmail.com> <5F93BF20-03B2-4D2D-BEFC-ED91250993BD@gmail.com> <54480864.4050106@gmail.com> <5448583B.5090109@mozilla.com> <E1FE4C082A89A246A11D7F32A95A17828E5EE05D@US70UWXCHMBA02.zam.alcatel-lucent.com> <544936E5.2040909@mozilla.com> <E1FE4C082A89A246A11D7F32A95A17828E5EE2D3@US70UWXCHMBA02.zam.alcatel-lucent.com> <CAOJ7v-0Z+eGPNM0JVTWq1Q90eU4pc49+O4rEOkzwTJmBiyoz0Q@mail.gmail.com> <CABkgnnUaVGDVns6ztRNRhn80HBOBWG-s8poibCRefnH8onYDdQ@mail.gmail.com>
In-Reply-To: <CABkgnnUaVGDVns6ztRNRhn80HBOBWG-s8poibCRefnH8onYDdQ@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/14.4.5.141003
x-originating-ip: [10.82.211.189]
Content-Type: multipart/alternative; boundary="_000_D075F3CB3D2D6mzanatyciscocom_"
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/rtcweb/d1aTtg3HogfKU-jrBoLfYw_qDgM
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>
Subject: Re: [rtcweb] SDP and ssrc-group,
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Real-Time Communication in WEB-browsers working group list <rtcweb.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/rtcweb/>
List-Post: <mailto:rtcweb@ietf.org>
List-Help: <mailto:rtcweb-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 Oct 2014 05:51:11 -0000

I think Justin meant the “initial SSRC” in the a=ssrc-group lines carries significance (as the source), not the order of a=ssrc lines.

What if new FEC schemes defined for bundle / unified plan (such as those below) followed the example of RTX by including apt=100 in their fmtp parameters? So PT can be used to associate source and FEC flows without declaring any SSRCs or groups.

We can also improve on RTX by allowing apt=100,101 for FEC.

When we consider more complex cases like RTX/FEC with simulcast and scalable streams in unified plan, using PT association may be better than declaring many SSRCs (which is also problematic in cases of collisions, dynamic sources, switching mixers, etc.).

Mo


On 10/29/14, 1:22 AM, Martin Thomson <martin.thomson@gmail.com<mailto:martin.thomson@gmail.com>> wrote:
Sounds like a reasonable idea to me, but don't you have to specify a strict pecking order? RTX before FEC doesn't sound right to me, but that's pure prejudice/bias (FEC is always present, and optional stuff his last)

So how would you decide that order? A hat? PT value? Order of PT on the m line? Order of the fmtp attributes? Something else? Or can we simply fix the order, since there are only a small number of variations to consider?

On Oct 28, 2014 9:24 PM, "Justin Uberti" <juberti@google.com<mailto:juberti@google.com>> wrote:
So it's not clear to me that a=ssrc:X fmtp:Y is actually legal, without any fmtp parameters, or that it clearly indicates that only PT Y is to be sent on that SSRC. As such, I consider this solution to be wishful thinking.

I think it would be easier if we defined FEC/FID semantics such that the initial SSRC was to be used for the primary encoding, and any subsequent SSRCs were used for the secondary/tertiary streams. (e.g. RTX or FEC)

e.g. for a stream with 2 video codecs, RTX and 1d/2d FEC:

     m=video 30000 RTP/AVP 100 101 108 109 110 111
     c=IN IP4 233.252.0.1
     a=rtpmap:100 VP8/90000
     a=rtpmap:101 VP9/90000
     a=rtpmap:108 rtx/90000
     a=rtpmap:109 rtx/90000
     a=fmtp:108 apt=100
     a=fmtp:109 apt=101
     a=rtpmap:110 interleaved-parityfec/90000
     a=fmtp:110 L:5; D:10; ToP:2; repair-window:200000
     a=rtpmap:111 non-interleaved-parityfec/90000
     a=fmtp:111 L:5; D:10; ToP:2; repair-window:200000
     a=ssrc:1234
     a=ssrc:2345
     a=ssrc:3456
     a=ssrc:4567
     a=ssrc-group:FID 1234 2345
     a=ssrc-group:FEC-FR 1234 3456 4567

SSRC 1234 is the primary encoding (VP8 or VP9)
SSRC 2345 is RTX (either PT 108 or 109, as needed)
SSRC 3456 is FEC (either PT 110 or 111, depending on impl)
SSRC 4567 is FEC (either PT 110 or 111, depending on impl)


On Thu, Oct 23, 2014 at 12:29 PM, Makaraju, Maridi Raju (Raju) <Raju.Makaraju@alcatel-lucent.com<mailto:Raju.Makaraju@alcatel-lucent.com>> wrote:
>
> Makaraju, Maridi Raju (Raju) wrote:
> > OPUS does have a built-in FEC so no need for red+ulpfec.
>
> As discussed previously on this list [1] the built-in FEC only covers
> the SILK layer. Existing codec-agnostic mechanisms were perfectly
> adequate for protecting CELT-mode packets, so we didn't invent something
> new.
>
> [1] https://www.ietf.org/mail-archive/web/rtcweb/current/msg12353.html
[Raju] Thanks and appreciate the reference.

_______________________________________________
rtcweb mailing list
rtcweb@ietf.org<mailto:rtcweb@ietf.org>
https://www.ietf.org/mailman/listinfo/rtcweb


_______________________________________________
rtcweb mailing list
rtcweb@ietf.org<mailto:rtcweb@ietf.org>
https://www.ietf.org/mailman/listinfo/rtcweb