Re: [rtcweb] I-D Action: draft-alvestrand-one-rtp-00.txt

Harald Alvestrand <harald@alvestrand.no> Mon, 15 August 2011 15:13 UTC

Return-Path: <harald@alvestrand.no>
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 C691921F8C43 for <rtcweb@ietfa.amsl.com>; Mon, 15 Aug 2011 08:13:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.274
X-Spam-Level:
X-Spam-Status: No, score=-102.274 tagged_above=-999 required=5 tests=[AWL=-0.275, BAYES_00=-2.599, J_CHICKENPOX_16=0.6, 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 yTdRBZMekQ+c for <rtcweb@ietfa.amsl.com>; Mon, 15 Aug 2011 08:13:19 -0700 (PDT)
Received: from eikenes.alvestrand.no (eikenes.alvestrand.no [158.38.152.233]) by ietfa.amsl.com (Postfix) with ESMTP id 1551421F8C41 for <rtcweb@ietf.org>; Mon, 15 Aug 2011 08:13:19 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by eikenes.alvestrand.no (Postfix) with ESMTP id 22FB239E112 for <rtcweb@ietf.org>; Mon, 15 Aug 2011 17:12:52 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at eikenes.alvestrand.no
Received: from eikenes.alvestrand.no ([127.0.0.1]) by localhost (eikenes.alvestrand.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fDWRnmsqx2Pu for <rtcweb@ietf.org>; Mon, 15 Aug 2011 17:12:51 +0200 (CEST)
Received: from hta-dell.lul.corp.google.com (62-20-124-50.customer.telia.com [62.20.124.50]) by eikenes.alvestrand.no (Postfix) with ESMTPS id 5AF0539E074 for <rtcweb@ietf.org>; Mon, 15 Aug 2011 17:12:51 +0200 (CEST)
Message-ID: <4E4937BA.9010605@alvestrand.no>
Date: Mon, 15 Aug 2011 17:14:02 +0200
From: Harald Alvestrand <harald@alvestrand.no>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110617 Thunderbird/3.1.11
MIME-Version: 1.0
To: rtcweb@ietf.org
References: <4E43BDB3.8000504@alvestrand.no> <4E4423A7.2000501@alum.mit.edu> <E17059F7-DF14-4552-8D01-609D3E4BB77C@live555.com> <4E44CCE4.8080307@alvestrand.no> <4E454596.6050700@alum.mit.edu> <4E48D6C8.6010208@alvestrand.no> <4E4932A9.4030800@jesup.org>
In-Reply-To: <4E4932A9.4030800@jesup.org>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Subject: Re: [rtcweb] I-D Action: draft-alvestrand-one-rtp-00.txt
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: Mon, 15 Aug 2011 15:13:19 -0000

On 08/15/11 16:52, Randell Jesup wrote:
> On 8/15/2011 4:20 AM, Harald Alvestrand wrote:
>
>> On 08/12/11 17:24, Paul Kyzivat wrote:
>>> That brings up another peculiar case. Suppose the m-lines in question
>>> were, in order, video, audio, and timed text, and the answerer again
>>> only wanted to use audio and timed text. In that case, will it still
>>> want to use the port offered for video??? How would the answer be
>>> constructed, and where would the answering port be placed?
>> That is a strong argument in favour of "just don't give any codecs". I'm
>> adding that too.
>
> If you're suggesting "m=video 4321 RTP/AVP" as an SDP line, it's 
> illegal to
> not have a payload listed, I'm afraid (though many implementations 
> will accept
> it).  That includes when you reject an m= line with port 0.
Hm. Yes, since a=rtpmap attributes are only required for dynamic 
numbers, leaving all the a=rtpmap: attributes out doesn't help, and the 
grammar of the m= line is given in RFC 4566 as

       m=<media> <port> <proto> <fmt> ...

  which seems like "one or more". So scratch that idea.
>
>>> It occurs to me that there is another "special" port that might be
>>> co-opted for use here: port 9, the discard port.
>> Magic numbers are bad for technological health. I don't think I'd like
>> to see that.
>
> Agreed, though occasionally it's ok, even if not optimal (port 0 for 
> reject for example).
>
>
Yup, zero and one are kind of OK to have magical.