Re: [rtcweb] Plan A, respun

Emil Ivov <emcho@jitsi.org> Sun, 12 May 2013 13:00 UTC

Return-Path: <emil@sip-communicator.org>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9E6BA21F859A for <rtcweb@ietfa.amsl.com>; Sun, 12 May 2013 06:00:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.942
X-Spam-Level:
X-Spam-Status: No, score=-1.942 tagged_above=-999 required=5 tests=[AWL=-0.543, BAYES_00=-2.599, J_CHICKENPOX_14=0.6, J_CHICKENPOX_17=0.6]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Bem9xDdQNcUa for <rtcweb@ietfa.amsl.com>; Sun, 12 May 2013 06:00:54 -0700 (PDT)
Received: from mail-wg0-x231.google.com (mail-wg0-x231.google.com [IPv6:2a00:1450:400c:c00::231]) by ietfa.amsl.com (Postfix) with ESMTP id A6FAA21F84F5 for <rtcweb@ietf.org>; Sun, 12 May 2013 06:00:53 -0700 (PDT)
Received: by mail-wg0-f49.google.com with SMTP id j13so5650536wgh.16 for <rtcweb@ietf.org>; Sun, 12 May 2013 06:00:52 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:message-id:date:from:organization:user-agent :mime-version:to:cc:subject:references:in-reply-to:content-type :content-transfer-encoding:x-gm-message-state; bh=lzHWtr2Gg0o/z2gha/RGtWgy4aszdsDA8dEOIERPbro=; b=lnkD5EKZlsdWfJgzboLp+iQ6NaK9Tt2Cpsn76uoGt+BuToH4mg8NBcaWcdAhEhJtJM KB99LPW0w+0naxBb1LtAyeNBxG+xFqs/aN8ErsGqKk8Fh9FzhC+4db6AJNqQKSlniWYU dtIO6gmNqy5b6En/ftcfKFvhBuZ5PdVwUGTSfajYUBxlCMrAFGAr4aePKNs9zaL8jMS3 IhJn1+Q+18CT2M6d7/l327CtBSgy9J6vqmqPolQ78WvuZ0YAikC3YFYNG8sdB91z5eue Z+3gmEa2sG483HZzycKrs6CdWgBZ1WAQ5x+KMCVlud84djXmHey3n3lU4cvi5Vej22Js g59g==
X-Received: by 10.180.76.103 with SMTP id j7mr13264028wiw.21.1368363652633; Sun, 12 May 2013 06:00:52 -0700 (PDT)
Received: from camionet.local ([83.228.76.175]) by mx.google.com with ESMTPSA id q13sm10098903wie.8.2013.05.12.06.00.50 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 12 May 2013 06:00:51 -0700 (PDT)
Message-ID: <518F9280.6070803@jitsi.org>
Date: Sun, 12 May 2013 16:00:48 +0300
From: Emil Ivov <emcho@jitsi.org>
Organization: Jitsi
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130328 Thunderbird/17.0.5
MIME-Version: 1.0
To: Harald Alvestrand <harald@alvestrand.no>
References: <51894846.3090102@nostrum.com> <518A304A.1030609@alvestrand.no> <518F6338.8070903@jitsi.org> <518F83E5.4060209@alvestrand.no>
In-Reply-To: <518F83E5.4060209@alvestrand.no>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
X-Gm-Message-State: ALoCoQlUlj6irxoPBmkWyV+4NGiR1HYEhJREyWAloznbuLnst6OZBOT5VsVpjjKGhTh2fyS+cbsi
Cc: rtcweb@ietf.org
Subject: Re: [rtcweb] Plan A, respun
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.12
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: Sun, 12 May 2013 13:00:54 -0000

On 12.05.13, 14:58, Harald Alvestrand wrote:
> On 05/12/2013 11:39 AM, Emil Ivov wrote:
>> Coming back to this for a sec:
>>
>> On 08.05.13, 14:00, Harald Alvestrand wrote:
>>> To put a blunt point on it: Either send less than ~32 streams, or give
>>> a=ssrc attributes.
>> Wouldn't it make more sense to either send ~32 streams or you don't use
>> bundle? If you run out of PTs for a single m-line then you may also
>> reconsider use of rtcp-mux.
> So you're saying that when using 1-31 streams, we use a single port 
> pair, but when we use 32 streams, we use 32 port pairs?

Most certainly not! I am suggesting that if you fill up your PT space
you could stop using bundle for your (presumably two, audio and video)
m= lines. So rather than using a single port for RTP, you'll fall back
to using two ports for audio and video.

If you start lacking numbers again, you could consider turning off
rtcp-mux which would again almost double your choices (presuming that
you limited yourself to using the 96-127 range because you wanted to
make rtcp demuxing easier).

Just to clarify, I consider Plan B's use of m= lines (i.e. 1 m=line for
many SSRCs) very natural and in-line with RTP design. I am not arguing
against this. (I would actually strongly argue against the alternative).

> I hadn't even considered the possibility of driving off that particular 
> cliff at that boundary.

Fortunately I don't think anyone is.

>> It seems to me that the consequences of not using bundle in some
>> specific scenarios, especially in cases where trickle ICE is also
>> supported, are far lesser than requiring everyone to support
>> pre-announcement of SSRCs.
> 
> Why?
> 
> Remember: In Plan B, the only applications who have to support 
> pre-announcement of SSRCs are those that want to send more than one 
> media stream in a single RTP session.

And it is exactly those applications that I am worried about. Imagine I
am a conference focus that remotely controls an RTP translator. I would
hence invite you with a single m= line for audio and a single m=line for
video.

On either of these you would end up getting a bunch of SSRCs for all the
other participants. Or maybe you would just get one if the translator
decides to mix rather than translate for some reason.

Either way I can't send you all SSRCs in advance because there's know
way for me to learn those of the other participants unless I use some
unnecessary, unnecessarily complicated and unnecessarily time-consuming,
signalling.

> Any application that is satisfied with having mulitple RTP sessions 
> corresponding to multiple M-lines can just signal as they're used to, 
> without BUNDLE or SSRC signalling (although it will work a lot better if 
> they use a=content consistently).

Again, that's not the kind of alternative that I was arguing for.

Emil


-- 
https://jitsi.org