Re: [rtcweb] SDP and ssrc-group,

Bernard Aboba <bernard.aboba@gmail.com> Wed, 29 October 2014 06:02 UTC

Return-Path: <bernard.aboba@gmail.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 5EDFA1A0262 for <rtcweb@ietfa.amsl.com>; Tue, 28 Oct 2014 23:02:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.002
X-Spam-Level: *
X-Spam-Status: No, score=1.002 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, 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, MIME_QP_LONG_LINE=0.001, SPF_PASS=-0.001] autolearn=no
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 ozaZFX7wjFbE for <rtcweb@ietfa.amsl.com>; Tue, 28 Oct 2014 23:02:13 -0700 (PDT)
Received: from mail-pd0-x233.google.com (mail-pd0-x233.google.com [IPv6:2607:f8b0:400e:c02::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 28DD31A0242 for <rtcweb@ietf.org>; Tue, 28 Oct 2014 23:02:13 -0700 (PDT)
Received: by mail-pd0-f179.google.com with SMTP id g10so2326102pdj.10 for <rtcweb@ietf.org>; Tue, 28 Oct 2014 23:02:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:mime-version:in-reply-to:content-type :content-transfer-encoding:message-id:cc:from:subject:date:to; bh=4dINoz0ryNrWQxChV0cqUrEW0ikBhvlHtg4kv9TsH7w=; b=jxgsh5vXRKBy6h2IRPrEM/OJ0pOclROVbgFy0ZUcVhaKngCRV3CRvPeMI6oNn5+9mp AfccFk9h5RKX0KQcsKrnOeog4nFKh/B1v2xYVyPasW8XJOQ2rof15WNUnOJc0b+0uxb/ NHohmTo5M3vUtultPgTdHxWX21gq+kb2hCxf+1X9xcSwFDwPWon/eOmVjronlda9tbMz twLBTfj/BLs5qWCRvc79uae2YRnEmkaroTB1eOGTYH8uoESnFMGtmFGEoG07aQTjugin J9kDVok3FamKijew/wiCxQlWcV5ALBswOLdiNTVVUQRPbUtn/An1Zi2MVXJesMS84FD2 gDFQ==
X-Received: by 10.66.119.70 with SMTP id ks6mr8429869pab.74.1414562532604; Tue, 28 Oct 2014 23:02:12 -0700 (PDT)
Received: from [192.168.1.129] (c-71-227-237-49.hsd1.wa.comcast.net. [71.227.237.49]) by mx.google.com with ESMTPSA id cl1sm3203029pbb.92.2014.10.28.23.02.10 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 28 Oct 2014 23:02:11 -0700 (PDT)
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> <D075F3CB.3D2D6%mzanaty@cisco.com>
Mime-Version: 1.0 (1.0)
In-Reply-To: <D075F3CB.3D2D6%mzanaty@cisco.com>
Content-Type: multipart/alternative; boundary="Apple-Mail-11DC9C59-791F-486A-A422-09DFC5A3F510"
Content-Transfer-Encoding: 7bit
Message-Id: <2442DC48-D91D-4802-A140-251FC15E4CD9@gmail.com>
X-Mailer: iPhone Mail (12B411)
From: Bernard Aboba <bernard.aboba@gmail.com>
Date: Tue, 28 Oct 2014 23:02:09 -0700
To: "Mo Zanaty (mzanaty)" <mzanaty@cisco.com>
Archived-At: http://mailarchive.ietf.org/arch/msg/rtcweb/YE0J66YdjPZoYInsVoCQQxsx4i8
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 06:02:15 -0000

Am not against allowing 'apt' with FEC, but forcing a PT to be consumed for each FEC stream could get out of hand, particularly for combined simulcast/SVC cases. 



> On Oct 28, 2014, at 10:51 PM, Mo Zanaty (mzanaty) <mzanaty@cisco.com> wrote:
> 
> 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> 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> 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> 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
>>> https://www.ietf.org/mailman/listinfo/rtcweb
>> 
>> 
>> _______________________________________________
>> rtcweb mailing list
>> rtcweb@ietf.org
>> https://www.ietf.org/mailman/listinfo/rtcweb
> _______________________________________________
> rtcweb mailing list
> rtcweb@ietf.org
> https://www.ietf.org/mailman/listinfo/rtcweb