Re: [rtcweb] Plan A, respun

Eric Rescorla <ekr@rtfm.com> Wed, 08 May 2013 16:26 UTC

Return-Path: <ekr@rtfm.com>
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 813A521F8ED8 for <rtcweb@ietfa.amsl.com>; Wed, 8 May 2013 09:26:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -99.825
X-Spam-Level:
X-Spam-Status: No, score=-99.825 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FH_RELAY_NODNS=1.451, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, J_CHICKENPOX_14=0.6, RDNS_NONE=0.1, USER_IN_WHITELIST=-100]
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 XEJYeLrYcHte for <rtcweb@ietfa.amsl.com>; Wed, 8 May 2013 09:26:00 -0700 (PDT)
Received: from mail-qc0-x236.google.com (mail-qc0-x236.google.com [IPv6:2607:f8b0:400d:c01::236]) by ietfa.amsl.com (Postfix) with ESMTP id 35D0221F8ECA for <rtcweb@ietf.org>; Wed, 8 May 2013 09:26:00 -0700 (PDT)
Received: by mail-qc0-f182.google.com with SMTP id c10so1129380qcz.27 for <rtcweb@ietf.org>; Wed, 08 May 2013 09:25:59 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:x-originating-ip:in-reply-to:references :from:date:message-id:subject:to:cc:content-type:x-gm-message-state; bh=2Sfd6lEkxOQHSyjiWmEZVZKSx8ZwbGIuXUNJKzuFHvU=; b=eUdngE+4DYjEHOuoCwRLBZn/d8JNM6eoqTX81yvjxQgx/EWU2BXetL90gm9A5GWz0n bjGM63QJYht8/BIm9QUR6ILdfnPlaccFvG3Zj6GP1Qz+0c6EcHymXdN335L7gqLP3W/U WLkIIRumvp5ACNMK4qE37Y8nudX12y/JKcGUMGuV97q8dfUL9KmKcpRe8IxdzSyaEVo7 kCX/Hs5gTh9uhvSMg3ZqQ2a+SLghRf6hsnoCm0tBiXpzAVvI3w42JSl9RyRlNt0IrDvN A26M8ff4DQUIH1ZlUTk3iXrdQJGvNs1qzVUPu4D7sYHXXaIwNe7se4SshUQezNZF6LTy 51RA==
X-Received: by 10.224.182.136 with SMTP id cc8mr5644570qab.10.1368030359514; Wed, 08 May 2013 09:25:59 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.49.18.231 with HTTP; Wed, 8 May 2013 09:25:18 -0700 (PDT)
X-Originating-IP: [173.196.220.110]
In-Reply-To: <518A304A.1030609@alvestrand.no>
References: <51894846.3090102@nostrum.com> <518A304A.1030609@alvestrand.no>
From: Eric Rescorla <ekr@rtfm.com>
Date: Wed, 08 May 2013 09:25:18 -0700
Message-ID: <CABcZeBOm9Fbiyyg4Fg=ZfSfxsc8K8Xwz6RJMrjwrqL6x2UR95w@mail.gmail.com>
To: Harald Alvestrand <harald@alvestrand.no>
Content-Type: multipart/alternative; boundary="20cf30363d3f9f380a04dc3763c1"
X-Gm-Message-State: ALoCoQmd1Wn1NcpNCACXRQGAJi4XQFflJ4Ry+lq7yn7qbXS9zWSmkG7i4Xt6i63TzdVVpbnLmV/N
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: Wed, 08 May 2013 16:26:05 -0000

On Wed, May 8, 2013 at 4:00 AM, Harald Alvestrand <harald@alvestrand.no>wrote:

>  The paragraph that worries me most is this one:
>
>
>    Offerers conformant to this specification MUST do one of the
>    following:
>
>    o  Use non-overlapping PT values for each m-line in any given bundle
>       group.
>
>    o  Provide distinct a=ssrc attributes for each m-line which uses
>       overlapping PT values with any other m-line.  [Technically, this
>       is a general case of the previous point.]
>
>
>
> To put a blunt point on it: Either send less than ~32 streams, or give
> a=ssrc attributes.
>
> To me, that measn we're mandating one mechanism (PT values) for small
> numbers of flows, and another mechanism (a=ssrc) for large numbers of flows
> - such mechanism changes usually have "interesting" properties in what
> happens at the changeover point.
>

That doesn't sound *quite* right to me.

As I read the document, implementations are free to:

(a) offer entirely disjoint PTs for all the m-lines in a given bundle, in
      which case they must consume in total less than about 96 PTs
(b) offer a=ssrc in which case they must only guarantee that each
      m-line doesn't internally repeat PTs (i.e., the current guarantee
      that you don't say that 102 is both VP8 and H.264 on the same
      m-line.)

I would think that a smart implementation would try to use disjoint
PTs to the extent possible (thus allowing early demuxing) but
also offer a=ssrc, so that if they ran out of PTs, the transition was
smooth. Obviously there is potential for bugs here, but this seems
like code that would get fairly well tested in the field, no?



>  It would seem to me to be architecturally cleaner to insist that a=ssrc
> be used always.
> But in that case, I have a very large difficulty seeing the important
> advantage this has over Plan B.
>

Isn't the argument that Plan A preserves all the existing SDP negotiation
mechanisms but allows them to be used with a high level of muxing,
rather than reinventing some subset of them at the SDP level?

-Ekr


>