Re: [rtcweb] JSEP: Issues with a=ssrc and RTP payload type switching
Roman Shpount <roman@telurix.com> Thu, 04 June 2015 21:02 UTC
Return-Path: <roman@telurix.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 73FF21AC3B2 for <rtcweb@ietfa.amsl.com>; Thu, 4 Jun 2015 14:02:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.378
X-Spam-Level:
X-Spam-Status: No, score=-1.378 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, J_CHICKENPOX_14=0.6, RCVD_IN_DNSWL_LOW=-0.7, 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 uZNz70TNFcg0 for <rtcweb@ietfa.amsl.com>; Thu, 4 Jun 2015 14:02:47 -0700 (PDT)
Received: from mail-ig0-f178.google.com (mail-ig0-f178.google.com [209.85.213.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3A66C1AC3B0 for <rtcweb@ietf.org>; Thu, 4 Jun 2015 14:02:47 -0700 (PDT)
Received: by igbpi8 with SMTP id pi8so1346889igb.0 for <rtcweb@ietf.org>; Thu, 04 Jun 2015 14:02:46 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=Ii6GtkWTLWVscoLzovrfunXTK4N2fm2jLyLIzS2u270=; b=KjDO87PBFmHuIrB2TEuERq4n+A6z130hNUj+gy+xRHSQVUwWXutDP0ya6/S7cBuQaO Q3XoKd+go0NHQ49MgegIE1jUvbh429wt6AuOG77llLuuAwBtdybEFmtSp7lodSkDXDXq o6EtOAdoGo5ZqMRFF/HLZuhnDk2mpJCIUVdwuV812zMLwbLj1aacFxlr9ihx1ndKM+fb fIdVkIs6wxB1mxwPsw2au86tlDuvN3ll0Zh4k5SpJwORximpiwQqRfmjDBwI9oFoVkJY RIre2lknATxpKiZVNr0KEjyBr18Lg+dcT8CTxY+AQsrAR8XhcybmRXjGXw5JAKdZTJhX UrFw==
X-Gm-Message-State: ALoCoQkczHRMpws7Rz0eggwZorrs2pL/U9hmcGBXUa6j9OLHan/6ahWjEggA9zF+g46J2CCyT5gd
X-Received: by 10.107.163.146 with SMTP id m140mr5945137ioe.85.1433451766526; Thu, 04 Jun 2015 14:02:46 -0700 (PDT)
Received: from mail-ig0-f177.google.com (mail-ig0-f177.google.com. [209.85.213.177]) by mx.google.com with ESMTPSA id j5sm1924344ioo.8.2015.06.04.14.02.44 for <rtcweb@ietf.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 Jun 2015 14:02:45 -0700 (PDT)
Received: by igbhj9 with SMTP id hj9so1324358igb.1 for <rtcweb@ietf.org>; Thu, 04 Jun 2015 14:02:44 -0700 (PDT)
MIME-Version: 1.0
X-Received: by 10.107.155.74 with SMTP id d71mr30363294ioe.29.1433451764219; Thu, 04 Jun 2015 14:02:44 -0700 (PDT)
Received: by 10.36.89.70 with HTTP; Thu, 4 Jun 2015 14:02:44 -0700 (PDT)
In-Reply-To: <556F5E5C.5080600@alvestrand.no>
References: <556EF4F9.1060700@ericsson.com> <556F5E5C.5080600@alvestrand.no>
Date: Thu, 04 Jun 2015 17:02:44 -0400
Message-ID: <CAD5OKxs4_hVc-7haF7vik7+PNU33Ox9Jin35tzrPhiaekENLvQ@mail.gmail.com>
From: Roman Shpount <roman@telurix.com>
To: Harald Alvestrand <harald@alvestrand.no>
Content-Type: multipart/alternative; boundary="001a1140eada359a950517b77f3a"
Archived-At: <http://mailarchive.ietf.org/arch/msg/rtcweb/eKTtjmCUWYlbH_AO_P7DuQ_MI8s>
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>
Subject: Re: [rtcweb] JSEP: Issues with a=ssrc and RTP payload type switching
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: Thu, 04 Jun 2015 21:02:48 -0000
On Wed, Jun 3, 2015 at 4:06 PM, Harald Alvestrand <harald@alvestrand.no> wrote: > > If we want to have a mechanism that: > > a) allows PT switching > b) uses different clock rates (and therefore different SSRCs) > c) doesn't need renegotiation on SSRC change > > I would think that the initial SDP would have to contain a=ssrc fields for > *all* the possible SSRCs - that is, one "a=ssrc:<nnnn> cname:<cname>" line > per payload type. > > Section 5.2.1 already specifies that there will be multiple a=ssrc lines > (and a=ssrc-group lines) in the case of RTX data. So it's not exactly a > novel solution. > > I agree with one small correction -- it is not a separate SSRC per payload type, but separate SSRC per clock rate. For instance, if you have G.711 audio, RFC 4733 tones and CN at 8KHz, there is going to be a payload type for each of them, but all this media should use the same SSRC. Opus, RFC 4733 tones and CN at 48Khz (and you will need to specify to different payloads for tones and CN for different clock rates), will use second SSRC. The reason for separate SSRCs is to have RTCP reports to work correctly, which requires to use the same time units for all the media under particular SSRC. Multiple payloads running with the same clock rate can re-use the same SSRC without any issues. It actually is beneficial to use the same SSRC since they can be synchronized based on the RTP time stamps which would be more precise then ntp time. _____________ Roman Shpount
- [rtcweb] JSEP: Issues with a=ssrc and RTP payload… Magnus Westerlund
- Re: [rtcweb] JSEP: Issues with a=ssrc and RTP pay… Bernard Aboba
- Re: [rtcweb] JSEP: Issues with a=ssrc and RTP pay… Harald Alvestrand
- Re: [rtcweb] JSEP: Issues with a=ssrc and RTP pay… Roman Shpount
- Re: [rtcweb] JSEP: Issues with a=ssrc and RTP pay… Magnus Westerlund
- Re: [rtcweb] JSEP: Issues with a=ssrc and RTP pay… Harald Alvestrand
- Re: [rtcweb] JSEP: Issues with a=ssrc and RTP pay… Magnus Westerlund
- Re: [rtcweb] JSEP: Issues with a=ssrc and RTP pay… Simon Perreault
- Re: [rtcweb] JSEP: Issues with a=ssrc and RTP pay… Magnus Westerlund
- Re: [rtcweb] JSEP: Issues with a=ssrc and RTP pay… Simon Perreault
- Re: [rtcweb] JSEP: Issues with a=ssrc and RTP pay… Harald Alvestrand
- Re: [rtcweb] JSEP: Issues with a=ssrc and RTP pay… Simon Perreault
- Re: [rtcweb] JSEP: Issues with a=ssrc and RTP pay… Harald Alvestrand
- Re: [rtcweb] JSEP: Issues with a=ssrc and RTP pay… Magnus Westerlund
- Re: [rtcweb] JSEP: Issues with a=ssrc and RTP pay… Christer Holmberg