Re: [rtcweb] SDP and ssrc-group,

Sergio Garcia Murillo <sergio.garcia.murillo@gmail.com> Tue, 21 October 2014 20:49 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 8BB231A6F65 for <rtcweb@ietfa.amsl.com>; Tue, 21 Oct 2014 13:49:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.799
X-Spam-Level:
X-Spam-Status: No, score=-0.799 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_14=0.6, J_CHICKENPOX_15=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 hl0FfsLVKCJq for <rtcweb@ietfa.amsl.com>; Tue, 21 Oct 2014 13:49:23 -0700 (PDT)
Received: from mail-wi0-x232.google.com (mail-wi0-x232.google.com [IPv6:2a00:1450:400c:c05::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C04D41A1A9F for <rtcweb@ietf.org>; Tue, 21 Oct 2014 13:49:22 -0700 (PDT)
Received: by mail-wi0-f178.google.com with SMTP id r20so3008748wiv.5 for <rtcweb@ietf.org>; Tue, 21 Oct 2014 13:49:21 -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=6Ktflflc54BXEJQbLCXhOCizQkSfgETKYeG5QfeRick=; b=irbedsXtqHEvXrUJHab45PyL0Wn5mYN6naGL6mKe7SssSOCiTWPJs36FwtdLzCmOtT oqkynXrPt8CwKes6ZE0pFzGtZUajZvjtBV22LCcHGpwewpGyX2rgICowugo6j82gh9PW bGn47w+pCLdDeM8KVm9iYlSeyQj2vokw8QtfBcyjin/MVh51mjF9lNf6R3wDUKvl4wmF r0iIng9ZqxxhkIopi8ZyXm7tEki+KqKfBNUyhNwDNPEha4uiToEeLn8ZIs2Sli1shpgX CPeQR4m4GDmRy2gR/7PtLglhpwOFk+FRK0L2Bil0w5tD7EX+b5TxwYYmjrdV/ZWeIGSX GNsw==
X-Received: by 10.194.185.115 with SMTP id fb19mr16592506wjc.121.1413924561453; Tue, 21 Oct 2014 13:49:21 -0700 (PDT)
Received: from [192.168.0.194] ([95.61.111.78]) by mx.google.com with ESMTPSA id bq8sm16573747wjb.6.2014.10.21.13.49.19 for <rtcweb@ietf.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 21 Oct 2014 13:49:20 -0700 (PDT)
Message-ID: <5446C6D5.5090804@gmail.com>
Date: Tue, 21 Oct 2014 22:49:25 +0200
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> <E1FE4C082A89A246A11D7F32A95A17828E5EAE2A@US70UWXCHMBA02.zam.alcatel-lucent.com>
In-Reply-To: <E1FE4C082A89A246A11D7F32A95A17828E5EAE2A@US70UWXCHMBA02.zam.alcatel-lucent.com>
Content-Type: multipart/alternative; boundary="------------020009030004050604010503"
Archived-At: http://mailarchive.ietf.org/arch/msg/rtcweb/i1sJpc0hUJpkWYWe17zkRraVYrg
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: Tue, 21 Oct 2014 20:49:25 -0000

On 21/10/2014 22:14, Makaraju, Maridi Raju (Raju) wrote:
>
> I hope I can rule my SDP logic based on standards rather than on how 
> Chrome implements some features.
>
> My question was generic: if I receive the above SDP, how do I know 
> which payloads each ssrc is supposed to transport?
>
> */<Raju >/*
>
> */Right. Firefox may have a different interpretation./*
>
> */If a=ssrc-group and retransmissions are negotiated at SDP answer, 
> then the order of ssrcs probably does not matter as the RTP payload 
> values can determine the retransmission vs. original payloads./*
>
> */If answerer wants to know the original ssrc for rejecting 
> a=ssrc-group and retransmission payload then it need to know the 
> original ssrc./*
>
> *//*
>
> */http://tools.ietf.org/html/rfc5576#section-6.3 defines a=ssrc with 
> format. In the example below,/*
>
> */won't having the following SDP line be sufficient to assign 
> 2693756249 <tel:2693756249> for retransmission and, indirectly, assign 
>  345259865 for original ./*
>
> */a=ssrc:2693756249 <tel:2693756249> fmtp:96 /*
>
> --------------------------
> m=video 62164 RTP/SAVPF 100 116 117 96
> a=mid:video
> a=rtpmap:100 VP8/90000
> a=rtpmap:116 red/90000
> a=rtpmap:117 ulpfec/90000
> a=rtpmap:96 rtx/90000
> a=fmtp:96 apt=100
> a=ssrc-group:FID 345259865 2693756249 <tel:2693756249>
> a=ssrc:345259865 cname:erS7E/KHLYKTejNs
> a=ssrc:345259865 msid:DWpWct9bWKzTMNYZn5bKVgwZ8Mfy2EtfqBY5
> c0134f05-e7c2-4afd-a979-4e224de5eb91
> a=ssrc:345259865 mslabel:DWpWct9bWKzTMNYZn5bKVgwZ8Mfy2EtfqBY5
> a=ssrc:345259865 label:c0134f05-e7c2-4afd-a979-4e224de5eb91
> a=ssrc:2693756249 <tel:2693756249> cname:erS7E/KHLYKTejNs
> a=ssrc:2693756249 <tel:2693756249> 
> msid:DWpWct9bWKzTMNYZn5bKVgwZ8Mfy2EtfqBY5
> c0134f05-e7c2-4afd-a979-4e224de5eb91
> a=ssrc:2693756249 <tel:2693756249> 
> mslabel:DWpWct9bWKzTMNYZn5bKVgwZ8Mfy2EtfqBY5
> a=ssrc:2693756249 <tel:2693756249> 
> label:c0134f05-e7c2-4afd-a979-4e224de5eb91
> -------------------------------
>
> */On the question of what if there are 3 ssrcs?/*
>
> */Per my understanding, there is only one ssrc for original payload 
> and another for retransmission. So, a=ssrc-group containing 3 ssrcs is 
> probably invalid./*
>
> *//*
>
> */</Raju>/*
>
>
Hi Raju

I foresee that when we start working on FEC we will end up using a 
different ssrc to avoid asking retransmissions of FEC redundant data. So 
3 ssrcs will be needed for each media stream.

Regarding the ftmp ssrc attribute, syntactically it solves perfectly the 
problem (even if we have fec in its own ssrc), but I am not sure if 
semantically it is the intended usage, as it seems more to define format 
attributes for an specific ssrc an not to restrict the usage of the 
payload type to that ssrc.

Also, I am not sure how that would play together with plan c/plan b/plan 
c/no plan (I have not followed that thread actively).

Best regards
Sergio