Re: [rtcweb] #15: Section 4.8: SSRC signaling

"Mo Zanaty (mzanaty)" <mzanaty@cisco.com> Tue, 23 April 2013 21:04 UTC

Return-Path: <mzanaty@cisco.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 50FFC21F96F7 for <rtcweb@ietfa.amsl.com>; Tue, 23 Apr 2013 14:04:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level:
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
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 KufVEORLhOTO for <rtcweb@ietfa.amsl.com>; Tue, 23 Apr 2013 14:04:01 -0700 (PDT)
Received: from rcdn-iport-8.cisco.com (rcdn-iport-8.cisco.com [173.37.86.79]) by ietfa.amsl.com (Postfix) with ESMTP id 7BCC421F96E1 for <rtcweb@ietf.org>; Tue, 23 Apr 2013 14:04:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=2890; q=dns/txt; s=iport; t=1366751041; x=1367960641; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=hjGH832xlQ+//MlvY6ZSBs6dMt8TpG9OzLKP6Zzi6ew=; b=SKlJMXCo82WAQ0cL04kLVjfMRZzuuJekjndTmiquaw+gn5xhrUrp+Kez BUVSjHnwlYScq8Gl8F3jrOvZixjkyKgOxSpwXWyu9ep0iKT75SBHXgYpi SHYUMLVLZNvAv0Z/vNpJ/tYBWczm8ukGNTsyOse0LSPQ1NMpr5bRrY0aH 8=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AhoFAHj2dlGtJV2Z/2dsb2JhbABQgwY2vk6BBRZ0gh8BAQEDAQEBATc0EAcEAgEIEQQBAQEKFAkHIQYLFAkIAgQBEgiHegMJBgyuToZNDYhQBIxRgiY4BoJiYQOVNo1ihR+DDoIo
X-IronPort-AV: E=Sophos;i="4.87,537,1363132800"; d="scan'208";a="202197592"
Received: from rcdn-core-2.cisco.com ([173.37.93.153]) by rcdn-iport-8.cisco.com with ESMTP; 23 Apr 2013 21:04:01 +0000
Received: from xhc-aln-x14.cisco.com (xhc-aln-x14.cisco.com [173.36.12.88]) by rcdn-core-2.cisco.com (8.14.5/8.14.5) with ESMTP id r3NL40eJ028480 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Tue, 23 Apr 2013 21:04:00 GMT
Received: from xmb-rcd-x14.cisco.com ([169.254.4.181]) by xhc-aln-x14.cisco.com ([173.36.12.88]) with mapi id 14.02.0318.004; Tue, 23 Apr 2013 16:04:00 -0500
From: "Mo Zanaty (mzanaty)" <mzanaty@cisco.com>
To: "Dale R. Worley" <worley@ariadne.com>, "rtcweb@ietf.org" <rtcweb@ietf.org>
Thread-Topic: [rtcweb] #15: Section 4.8: SSRC signaling
Thread-Index: AQHOQFTKhOkBkmI7Yk+A/tDh7Us1lpjkNUQA
Date: Tue, 23 Apr 2013 21:03:59 +0000
Message-ID: <3879D71E758A7E4AA99A35DD8D41D3D90F6DB734@xmb-rcd-x14.cisco.com>
References: <066.4c5db43349d3176acaa90d17617a02d6@trac.tools.ietf.org> <5173ECC7.7020909@jitsi.org> <51754363.3090300@ericsson.com> <CABkgnnV2DA0v9FuJ=hC6JCB8xCxOW-QNFdvMD5=XuJ1MruFSGw@mail.gmail.com> <201304222215.r3MMFqsE3199256@shell01.TheWorld.com> <CABkgnnV4RbJNR29sJtRaqaD6BPGYrosvqjBmZuRmgsc-qZH+WQ@mail.gmail.com> <201304231858.r3NIw4OJ3260483@shell01.TheWorld.com>
In-Reply-To: <201304231858.r3NIw4OJ3260483@shell01.TheWorld.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [64.102.88.107]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Subject: Re: [rtcweb] #15: Section 4.8: SSRC signaling
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: Tue, 23 Apr 2013 21:04:03 -0000

You can easily exhaust the dynamic payload type number space (96-127) with only a few media lines, not 30. Keep in mind the primary purpose of payload type is to negotiate codecs, not demux different streams. An offer from a highly interoperable product will contain many payload types for each stream. It is not uncommon to support 8+ payload types and 4+ streams, which quickly exhausts the dynamic space. Also keep in mind that many codecs have different configurations that are expressed as different payload types, so even supporting a single audio and video codec can yield many payload types if those codecs are highly configurable.

Consider a very simple product (smartphone) in a very simple use case (3-way video chat). It supports several audio codecs (OPUS, AAC-LD, AMR-WB, AMR-NB, G.711) and several video codecs (VP8, VP9, H.264, H.265). It supports several H.264 profiles (BP, HP, SBP, SHP) and packetization modes (0, 1). This already exhausts all 32 dynamic payload types, before we even consider things like FEC, scalable or simulcast layers sent via MST, screen sharing, multiple cameras, etc.

So I would strongly discourage folks from assuming payload type demux is viable in most use cases. It may be viable when there is a single audio and video stream, each using a single codec and configuration. But it quickly becomes impractical or impossible when the product gets more capable or the use case gets more interesting.

Mo


-----Original Message-----
From: rtcweb-bounces@ietf.org [mailto:rtcweb-bounces@ietf.org] On Behalf Of Dale R. Worley
Sent: Tuesday, April 23, 2013 2:58 PM
To: rtcweb@ietf.org
Subject: Re: [rtcweb] #15: Section 4.8: SSRC signaling

> From: Martin Thomson <martin.thomson@gmail.com>
> 
> On 22 April 2013 15:15, Dale R. Worley <worley@ariadne.com> wrote:
> > My understanding is that associating an incoming RTP packet with an m=
> > line is a solved problem -- the transport association on which the
> > packet arrives determines the bundle, and (within all of the currently
> > active bundling proposals) the payload type tells which m= line within
> > the bundle.
> 
> Not so.  If you have five PTs on each m= line, and 30 m= lines, you
> just don't have that many PTs available.  At some point you have to
> recognize that SSRC is what you have to use.  (Neither number is
> extraordinary.)

But why would you use 30 m= lines?  You'd only have 30 streams in a
videoconference-type situation, where the streams don't have distinct
roles and so don't need to be given role labels.  As far as I know,
current videoconference systems don't put each video stream in a
separate m= line.

Dale
_______________________________________________
rtcweb mailing list
rtcweb@ietf.org
https://www.ietf.org/mailman/listinfo/rtcweb