Re: [payload] draft-ramalho-payload-g7110-00 to be discussed inAVTEXT

Hadriel Kaplan <HKaplan@acmepacket.com> Tue, 26 July 2011 17:51 UTC

Return-Path: <HKaplan@acmepacket.com>
X-Original-To: payload@ietfa.amsl.com
Delivered-To: payload@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 31ABE21F8A95; Tue, 26 Jul 2011 10:51:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.849
X-Spam-Level:
X-Spam-Status: No, score=-1.849 tagged_above=-999 required=5 tests=[AWL=-0.450, BAYES_00=-2.599, J_CHICKENPOX_15=0.6, J_CHICKENPOX_72=0.6]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mpOkLJ1kPaZ9; Tue, 26 Jul 2011 10:51:16 -0700 (PDT)
Received: from ETMail2.acmepacket.com (etmail2.acmepacket.com [216.41.24.9]) by ietfa.amsl.com (Postfix) with ESMTP id DB0EF21F8A67; Tue, 26 Jul 2011 10:51:15 -0700 (PDT)
Received: from mail.acmepacket.com (216.41.24.7) by ETMail2.acmepacket.com (216.41.24.9) with Microsoft SMTP Server (TLS) id 8.1.240.5; Tue, 26 Jul 2011 13:51:14 -0400
Received: from mailbox1.acmepacket.com ([216.41.24.12]) by mail ([127.0.0.1]) with mapi; Tue, 26 Jul 2011 13:51:14 -0400
From: Hadriel Kaplan <HKaplan@acmepacket.com>
To: "Michael Ramalho (mramalho)" <mramalho@cisco.com>
Date: Tue, 26 Jul 2011 13:51:13 -0400
Thread-Topic: [payload] draft-ramalho-payload-g7110-00 to be discussed inAVTEXT
Thread-Index: AcxLvJwjeXPLpU4bTWeQAtZHOf9AMw==
Message-ID: <CDB75F50-9298-4711-8C0B-968B47D3EE10@acmepacket.com>
References: <DCD4D03D-93A3-4EC9-A099-F22D92DE4BAC@acmepacket.com> <999109E6BC528947A871CDEB5EB908A0044E2EEB@XMB-RCD-209.cisco.com>
In-Reply-To: <999109E6BC528947A871CDEB5EB908A0044E2EEB@XMB-RCD-209.cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Brightmail-Tracker: AAAAAQAAAUA=
Cc: "avtext@ietf.org" <avtext@ietf.org>, "payload@ietf.org" <payload@ietf.org>, "draft-ramalho-payload-g7110@tools.ietf.org" <draft-ramalho-payload-g7110@tools.ietf.org>
Subject: Re: [payload] draft-ramalho-payload-g7110-00 to be discussed inAVTEXT
X-BeenThere: payload@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Audio/Video Transport Payloads working group discussion list <payload.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/payload>, <mailto:payload-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/payload>
List-Post: <mailto:payload@ietf.org>
List-Help: <mailto:payload-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/payload>, <mailto:payload-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 26 Jul 2011 17:51:17 -0000

On Jul 26, 2011, at 1:01 PM, Michael Ramalho (mramalho) wrote:

> RE: "For one, just to be able to do this requires sniffing SDP "
> 
> Not true. Virtually every implementation using G.711 I have found in
> practice uses the STATIC payload type of 0 or 8 for G.711.
> 
> Thus every RTP packet with PT = [ 0 | 8 ] can only have a G.711 payload
> inside of it.

Sorry I should have been explicit.  It needs to sniff to detect the PT of the G.711.0 payload.  I.e., for the example diagram figure 4 in the draft, device E needs to sniff the SDP offer to determine what the "Q" value is, and device C needs to do the same for the SDP answer for the reverse media stream.


> 
> When G.711.0 is negotiated end to end, it will have its own media line.

Ummm... I'm confused.  The example in the draft is:
   m=audio RTP/AVP 0
   a=rtpmap: 0 PCMU
   a=fmtp:0 G7110 = Q   <<< the G.711 SDP hint

Are you saying that it's really this?:
   m=audio 49120 RTP/AVP 0
   a=rtpmap:0 PCMU
   a=fmtp:0 G7110 = Q
   m=audio 49120 RTP/AVP 99
   a=rtpmap:99 G7110/8000
   a=ptime:20
   a=fmtp:98 complaw=mu


> The suggested "hint" in the G.711 SDP is not to "signal G.711.0", but
> rather for middleboxes like NATs/Firewalls/etc. to "expect G.711" in
> either uncompressed (real G.711 with PT = [0 | 8]) or compressed (with
> PT = Q) form as equivalents.

But they're NOT equivalent.  For all intents and purposes G.711.0 is a different codec from G.711, afaict.  That it can be implemented as a bump-in-the-wire without full DSPs matters not.  The most logical thing for a middlebox to do would be to handle it exactly like it handles middlebox-provided transcoding/transrating cases today, with normal SDP modifications/behavior, no? (and by that I mean act as a first-class participant in SDP, by inserting/adding codecs into the same m-line, and handling offer/answer appropriately)

-hadriel