Re: [rtcweb] Multiplexing using the same port number for multiple media descritions

Justin Uberti <juberti@google.com> Tue, 30 August 2011 14:40 UTC

Return-Path: <juberti@google.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 8950321F8CA8 for <rtcweb@ietfa.amsl.com>; Tue, 30 Aug 2011 07:40:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -104.947
X-Spam-Level:
X-Spam-Status: No, score=-104.947 tagged_above=-999 required=5 tests=[AWL=-0.171, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, J_CHICKENPOX_15=0.6, J_CHICKENPOX_16=0.6, RCVD_IN_DNSWL_MED=-4, 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 hUdfc1XPU5je for <rtcweb@ietfa.amsl.com>; Tue, 30 Aug 2011 07:40:57 -0700 (PDT)
Received: from smtp-out.google.com (smtp-out.google.com [74.125.121.67]) by ietfa.amsl.com (Postfix) with ESMTP id 6804D21F8CB8 for <rtcweb@ietf.org>; Tue, 30 Aug 2011 07:40:57 -0700 (PDT)
Received: from hpaq12.eem.corp.google.com (hpaq12.eem.corp.google.com [172.25.149.12]) by smtp-out.google.com with ESMTP id p7UEgKIV027722 for <rtcweb@ietf.org>; Tue, 30 Aug 2011 07:42:20 -0700
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1314715340; bh=flDuP1iZ234bC4Z9e9Ee+GIal7k=; h=MIME-Version:In-Reply-To:References:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=g+7KO7eP5w0x2DCR3BkxMeFVCMQSXCwMI0PwxmG/IVhWS1N80WrryYYimC84T/Mbu g5PpSUjNdc2seUuZnxz9A==
DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=dkim-signature:mime-version:in-reply-to:references:from:date: message-id:subject:to:cc:content-type:x-system-of-record; b=YMmb3a05lb6gSwg0rJTnARlOESH5+oKqhwP0D8ervM7rU0EjHcvDawxpJzABcR1N8 Gu4K1LqT74Hl4Skn+nVKg==
Received: from iadx2 (iadx2.prod.google.com [10.12.150.2]) by hpaq12.eem.corp.google.com with ESMTP id p7UEfT7q017053 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for <rtcweb@ietf.org>; Tue, 30 Aug 2011 07:42:19 -0700
Received: by iadx2 with SMTP id x2so2708537iad.27 for <rtcweb@ietf.org>; Tue, 30 Aug 2011 07:42:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=beta; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=wBIf1Obz5odCqRjjrqOrePxCPpqIzZOsHQVOKDKwPLI=; b=vZt4yzAlcsEQ8ceOYvDjDkyz6pADGEspHSbIFY308I9AWtk+GFA5rcxj5MebEB6iRx oXeMSvb2zS6LlG6tmO3Q==
Received: by 10.231.66.85 with SMTP id m21mr13282497ibi.53.1314715338600; Tue, 30 Aug 2011 07:42:18 -0700 (PDT)
Received: by 10.231.66.85 with SMTP id m21mr13282484ibi.53.1314715338408; Tue, 30 Aug 2011 07:42:18 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.231.32.133 with HTTP; Tue, 30 Aug 2011 07:41:57 -0700 (PDT)
In-Reply-To: <7F2072F1E0DE894DA4B517B93C6A05852233D64F47@ESESSCMS0356.eemea.ericsson.se>
References: <7F2072F1E0DE894DA4B517B93C6A05852233D64F47@ESESSCMS0356.eemea.ericsson.se>
From: Justin Uberti <juberti@google.com>
Date: Tue, 30 Aug 2011 10:41:57 -0400
Message-ID: <CAOJ7v-0uX6mGwExqW_+==UN0c_GVxU22k=uuVsMcPb=j1mhvtA@mail.gmail.com>
To: Christer Holmberg <christer.holmberg@ericsson.com>
Content-Type: multipart/alternative; boundary="0015176f09d8ba030904abba04be"
X-System-Of-Record: true
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>
Subject: Re: [rtcweb] Multiplexing using the same port number for multiple media descritions
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, 30 Aug 2011 14:40:58 -0000

I think Harald's approach is cleaner, since the fallback does not require a
new offer. What do you see as problematic with Harald's suggestion?

On Tue, Aug 30, 2011 at 7:21 AM, Christer Holmberg <
christer.holmberg@ericsson.com> wrote:

>  Hi,
>
> One possible alternative solution for SDP multiplex negotiation could be
> based on the assumption of using the same port number in multiple SDP m-
> lines (yes, I know SDP does not allow it, and I will come back to that).
>
> Something like:
>
> SDP offer:
>
> m=audio 10000 ...
> a=rtpmap ...
> a=rtpmap ...
> m=video 10000 ...
> a=rtpmap ...
> a=rtpmap ...
>
>
> SDP answer (multiplex supported/accepted):
>
> m=audio 20000 ...
> a=rtpmap ...
> a=rtpmap ...
> m=video 20000 ...
> a=rtpmap ...
> a=rtpmap ...
>
>
> SDP answer (multiplex not-supported/rejected):
>
> m=audio 20000 ...
> a=rtpmap ...
> a=rtpmap ...
> m=video 30000 ...
> a=rtpmap ...
> a=rtpmap ...
>
>
>
> MAYBE there is also a need to use some kind of grouping, in which case it
> could look something like (borrowing some terminology from Harald):
>
>
>
> SDP offer:
>
> a=group:TOGETHER foo bar
> m=audio 10000 ...
> a=mid:foo
> a=rtpmap ...
> a=rtpmap ...
> m=video 10000 ...
> a=mid:bar
> a=rtpmap ...
> a=rtpmap ...
>
>
> SDP answer (multiplex supported/accepted):
>
> m=audio 20000 ...
> a=rtpmap ...
> a=rtpmap ...
> a=mid:foo
> m=video 20000 ...
> a=mid:bar
> a=rtpmap ...
> a=rtpmap ...
>
>
> SDP answer (multiplex not-supported/rejected):
>
> m=audio 20000 ...
> a=rtpmap ...
> a=rtpmap ...
> m=video 30000 ...
> a=rtpmap ...
> a=rtpmap ...
>
>
> An ISSUE with this solution is of course that SDP does not allow for it.
>
> However, we could always say that browsers must support it, in which case
> it should work fine in direct browser-to-browser cases.
>
>
> When interworking with legacy, I guess two things can happen:
>
> 1. The offer is acctepted, with different port number in the answer, and
> multiplex won't be used (see example above)
>
> 2. The offer is rejected. In this case, the fallback would be that the
> browser sends a new offer, with different port numbers, and multiplex won't
> be used.
>
> Regards,
>
> Christer
>
>
>
>
> _______________________________________________
> rtcweb mailing list
> rtcweb@ietf.org
> https://www.ietf.org/mailman/listinfo/rtcweb
>
>