Re: [rtcweb] SDP and ssrc-group,

Sergio Garcia Murillo <sergio.garcia.murillo@gmail.com> Wed, 29 October 2014 12:09 UTC

Return-Path: <sergio.garcia.murillo@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 E859B1A0078 for <rtcweb@ietfa.amsl.com>; Wed, 29 Oct 2014 05:09:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.001
X-Spam-Level: *
X-Spam-Status: No, score=1.001 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_111=0.6, J_CHICKENPOX_12=0.6, J_CHICKENPOX_15=0.6, J_CHICKENPOX_36=0.6, J_CHICKENPOX_41=0.6, 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 20-_bGiFHTL2 for <rtcweb@ietfa.amsl.com>; Wed, 29 Oct 2014 05:09:55 -0700 (PDT)
Received: from mail-wi0-x231.google.com (mail-wi0-x231.google.com [IPv6:2a00:1450:400c:c05::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 734221A0070 for <rtcweb@ietf.org>; Wed, 29 Oct 2014 05:09:55 -0700 (PDT)
Received: by mail-wi0-f177.google.com with SMTP id ex7so4371141wid.4 for <rtcweb@ietf.org>; Wed, 29 Oct 2014 05:09:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=/Awp2kR3z/qQBmj6os2avosdsr+MOqVJOoqXl/KiYgs=; b=ODRLQ7Ja/JTRZHVBntGebOHL8uNQRZOG/jWwg1nwLIYVteLgxkLzq9lWpgHTOu1RPD CmmqMnXnaCLbaSscOw+C5AUxxXkaL3aAVP5Go9q2DcGUL7gPfWZV6UEFmGSCP4aH5Rfn 3LUkWg8J3ZUSw684JfhslJVfbzhaWa6VLqnpwPWtmeKsLQN1ZCZ4dQvs1MNClWqVDsGm +EcxOnt1wc20Sq3aHh1XgOVrEO67Xa4dSlpUsRRZ5+ng7tVNhcspfZ+03jWs3ywYWu8j /A/DKMrhd1hngO96jtQO81C6vJapQ9CNUdxl/dC8SPuHw90vM+mICLQ6p4g2qVEe9Ci8 +5zg==
X-Received: by 10.180.106.104 with SMTP id gt8mr20953004wib.51.1414584593981; Wed, 29 Oct 2014 05:09:53 -0700 (PDT)
Received: from [192.168.1.37] (144.Red-83-43-188.dynamicIP.rima-tde.net. [83.43.188.144]) by mx.google.com with ESMTPSA id q10sm4972154wjq.35.2014.10.29.05.09.52 for <rtcweb@ietf.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 29 Oct 2014 05:09:53 -0700 (PDT)
Message-ID: <5450D91D.9030507@gmail.com>
Date: Wed, 29 Oct 2014 13:10:05 +0100
From: Sergio Garcia Murillo <sergio.garcia.murillo@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
MIME-Version: 1.0
To: rtcweb@ietf.org
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>
In-Reply-To: <CAOJ7v-0Z+eGPNM0JVTWq1Q90eU4pc49+O4rEOkzwTJmBiyoz0Q@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------090102050609030408020309"
Archived-At: http://mailarchive.ietf.org/arch/msg/rtcweb/FRXGlRlGKMWxnZiUw8JnWBwiZzY
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 12:10:00 -0000

Indeed, that was my original concern also.

Using the order of ssrc-ids on the ssrc-group may be the simplest way to 
solve it, but not sure if it would allow more complex FEC scenarios, 
like one FEC stream protecting two media flows (maybe not relevant at all).

I have been surfing at the ietf rfcs, and found and interesting one 
rfc6364 which defines  fec-source-flow and fec-repair-flow media 
attributes that can be used with a=group:FEC-FR, hat would allow exactly 
what we need:

         v=0
         o=ali 1122334455 1122334466 IN IP4 fec.example.com
         s=FEC Framework Examples
         t=0 0
         a=group:FEC-FR S1 R1
         m=video 30000 RTP/AVP 100
         c=IN IP4 233.252.0.1/127
         a=rtpmap:100 MP2T/90000
         a=fec-source-flow: id=0
         a=mid:S1
         m=application 30000 UDP/FEC
         c=IN IP4 233.252.0.2/127
         a=fec-repair-flow: encoding-id=0; ss-fssi=n:7,k:5
         a=repair-window:150ms
         a=mid:R1


We would need to port thatould neerc-group semantics, like for example

      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 fec-source-flow: id=0
      a=ssrc:2345
      a=ssrc:3456 fec-repair-flow: encoding-id=0;
      a=ssrc:4567 fec-repair-flow: encoding-id=0;
      a=ssrc-group:FID 1234 2345
      a=ssrc-group:FEC-FR 1234 3456 4567

Best regards
Sergio
On 29/10/2014 5:23, Justin Uberti 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
> https://www.ietf.org/mailman/listinfo/rtcweb