Re: [MMUSIC] Not fixing a=rtcp and rtcp-mux exclusive

Suhas Nandakumar <suhasietf@gmail.com> Sun, 24 January 2016 19:36 UTC

Return-Path: <suhasietf@gmail.com>
X-Original-To: mmusic@ietfa.amsl.com
Delivered-To: mmusic@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 510FE1ACEEC for <mmusic@ietfa.amsl.com>; Sun, 24 Jan 2016 11:36:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.399
X-Spam-Level:
X-Spam-Status: No, score=-1.399 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, J_CHICKENPOX_14=0.6, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oCDQn-CxcfDJ for <mmusic@ietfa.amsl.com>; Sun, 24 Jan 2016 11:36:02 -0800 (PST)
Received: from mail-vk0-x22e.google.com (mail-vk0-x22e.google.com [IPv6:2607:f8b0:400c:c05::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 910891ACEA9 for <mmusic@ietf.org>; Sun, 24 Jan 2016 11:36:02 -0800 (PST)
Received: by mail-vk0-x22e.google.com with SMTP id e185so64106729vkb.1 for <mmusic@ietf.org>; Sun, 24 Jan 2016 11:36:02 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=24pBp6VRbuKzfxr/bFt/lhR/FeXwmlvcHcjJs8SQpHM=; b=Ih1oij4U8jy7OiuuTmbDbFG6w7/UsbDjMbiX+jKV1CbmqB3oSO0FgJ9ej/A0MetJp5 4V9qE0oyWrQ5eDKI4zqM903/AVEvuPXRbAqZFzbRHkhHNL7OAYYVZhvayJn2S5adHes2 3KEz2Ir5+bxLve9zjz8WFajHbHiUzXieWnYv8E7dwfllxIq5iGX951AGGL5jAu1Wq4E3 F3JgMx2wtOyFJJhAXpblnnrjJVu/UOJqEwpVkLK+eFa5wFaVB1S1xFkXmZz0336Enkv/ dVl2jt+AEZ0xTbXtQNr2XTPUvLUCgykP2tR9tmR++cf4glr+HlMxyW0agUHOm4C92AcI WleA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=24pBp6VRbuKzfxr/bFt/lhR/FeXwmlvcHcjJs8SQpHM=; b=mAS5mVnL2lxKDhqiH6BR3STN6tKpyjFjaNkQp5Jv9ApPe0oz/1IctZhOEpxr5Gwh8g QJPbIcxIVD5GyG/ofU/S+rzJFXBLTfnH3uOTGDNAK5PyXLy6aCK9x7UCRQ1dYGxsQqPg LBx0npwIA8qSpyE3WRY5LxVnJYcfVBiGLBjlffPNlNrIBee0fcWmPKT3HrMw2XU1OmUh RKJQBihyJsfe4ZIw7dD0jt8zmEmH9ywfUifV3Fd3LwdlYNDtPFvYGmcF8+OsfmQ2c33E 9ZxbhRjhqqKQVnbLWyI+YQv6JKG7gaViltn3gzn05GedV/tzuI8Ug3Qmiw8PzjIE0w+v Xusg==
X-Gm-Message-State: AG10YOT+thi6A1swi4MmZURx6lG4XoMLTbL2oCcHV9mbYjzHsq3MztgcxtqgKMAJ9sSjJ0nT4M7fUxljZ1d5Hg==
MIME-Version: 1.0
X-Received: by 10.31.54.23 with SMTP id d23mr8569250vka.25.1453664161591; Sun, 24 Jan 2016 11:36:01 -0800 (PST)
Received: by 10.31.106.130 with HTTP; Sun, 24 Jan 2016 11:36:01 -0800 (PST)
In-Reply-To: <56A51EE7.8060406@alum.mit.edu>
References: <CAD5OKxvMdsdkYaJWB5UdvCTNj3a+pheXV+_1viyLrH_UOWBTpA@mail.gmail.com> <7594FB04B1934943A5C02806D1A2204B37D5509D@ESESSMB209.ericsson.se> <CAD5OKxum=E84NVTtWtSwYowDmyJ=sQifx6Na9wt0pUhYH1j_PA@mail.gmail.com> <7594FB04B1934943A5C02806D1A2204B37D557C6@ESESSMB209.ericsson.se> <7594FB04B1934943A5C02806D1A2204B37D55EAA@ESESSMB209.ericsson.se> <CAD5OKxvaUi25TbOa48mKwkEJMnJqde_TQNfe1Cagdgj+jTbJ3g@mail.gmail.com> <7594FB04B1934943A5C02806D1A2204B37D57EFC@ESESSMB209.ericsson.se> <CAD5OKxuRwgs0w0iUorivK6BV_8bZNNN1D9w9ot4CVJ7CV-6xpw@mail.gmail.com> <CAMRcRGTDpXMdk9SqQtRCc+LyQff26-5NiV6er6dkbdJzJLEwAQ@mail.gmail.com> <56A51EE7.8060406@alum.mit.edu>
Date: Sun, 24 Jan 2016 11:36:01 -0800
Message-ID: <CAMRcRGRD_XedYjVfBxfwXFdxAmm_wTZ5HhK5S+iSrJXwOZogMw@mail.gmail.com>
From: Suhas Nandakumar <suhasietf@gmail.com>
To: Paul Kyzivat <pkyzivat@alum.mit.edu>
Content-Type: multipart/alternative; boundary="001a114385d8f9778b052a198f2e"
Archived-At: <http://mailarchive.ietf.org/arch/msg/mmusic/D5Ej54EBxCjrKIu9KWocUtOlQyA>
Cc: "mmusic@ietf.org" <mmusic@ietf.org>, Christer Holmberg <christer.holmberg@ericsson.com>
Subject: Re: [MMUSIC] Not fixing a=rtcp and rtcp-mux exclusive
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Multiparty Multimedia Session Control Working Group <mmusic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mmusic>, <mailto:mmusic-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mmusic/>
List-Post: <mailto:mmusic@ietf.org>
List-Help: <mailto:mmusic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mmusic>, <mailto:mmusic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 24 Jan 2016 19:36:05 -0000

On Sun, Jan 24, 2016 at 10:58 AM, Paul Kyzivat <pkyzivat@alum.mit.edu>
wrote:

> On 1/24/16 4:41 AM, Suhas Nandakumar wrote:
>
>> I might be repeating some discussions already made. So please forgive me
>> if all of the below suggestions is beaten to death
>>
>> *Use-case: Explicitly indicate RTCP Muxing and possibly backward
>> compatibility*
>>
>> I support a new attribute along with some rules for existing attributes
>> which allows backward compatibility (Strong goal of SDP) and also
>> exclusiveness of RTCP multiplexing
>>
>> Define a new attribute *"a=rtcp-mux-only" , which *in a offer indicates
>> that the end-point can't receive rtcp on separate port than rtp.
>>
>
> It is *essential* to indicate the answerer behavior too. For this to
> provide backward support, the answerer who supports must also include this
> attribute in the answer. If it isn't present in the answer, then the
> offerer knows that it hasn't been supported. I think, in that case it must
> reoffer and either provide a port pair, or else drop the media stream, to
> prevent RTCP from going to an uncontrolled port.
>
>
[Suhas] - Agreed Paul. I see backward compatibility in 2 ways. One where
the agent understands a=rtcp-mux but not the a=rtcp-mux-only and second
where the agent doesn't understand either. Let's think the answerer
behavior in both the cases

Case 1: Agent supports RFC5761 but not mux-only
   In this scenario we mandate that the offer includes RFC5761 a=rtcp-mux
as well whenever he offers with mux-only. Thus the answerer will still MUX
the RTCP to RTP port following RFC5761 rules.

Case 2: Agent doesn't support RFC5761 and mux-only as well
This is  the case where the answerer can process just the RFC3605 a=rtcp
attribute and can either :
       2a) send the rtcp to the port indicated in a=rtcp attribute , thus
effectively muxing
       2b) will think rtcp port specified as being error since it matches
the RTP port and reject the m=line. [[ note: this isn't defined as an error
in RFC3605 ]]

Case 3: Answerer supports RFC5761, Mux-exclusive
   In this successful scenario, the answerer can just include a=rtcp-mux
and a=rtcp-mux-exclusive in its answer and that is good enough for the
Offerer to know that Answerer is able to mux the rtcp traffic towards the
offerer and also wishes to receive muxed (no fallback) rtcp traffic from
the offerer

These seems to convert most of all the cases right



> I think this ought to be viewed as an update to 3605.
>

[Suhas] Paul, why do you think it needs an update to RFC3605 ?


>
>         Thanks,
>         Paul
>
> Also  include a=rtcp attribute with*RTP port *as defined the
>> mux-exclusive draft todau.
>> That way even if the answerer who doesn't understand a=rtcp-mux-only,
>> will still send RTCP to RTP port (as needed for this use-case). The
>> answerer can do the same or include a=rtcp-mux based on its requirements
>>
>>
>> When ICE is in usage and the Offer want to support a=rtcp-mux-only, it
>> does the following
>> a) include a=rtcp-mux-only
>> b) include a=rtcp <rtp-port> <-- RTP port
>> c) include RTCP candidate with port information that matches RTP. No
>> need to do new turn allocation for RTCP either.
>>
>> If the answerer doesn't understand a=rtcp-mux-only, it will still
>> multiplex RTP and RTCP based on the candidate information.
>>
>>
>> Not sure if i missed all the corner scenarios. Please let me know your
>> thoughts
>>
>> Cheers
>> Suhas
>>
>>
>>
>> On Sat, Jan 23, 2016 at 8:59 AM, Roman Shpount <roman@telurix.com
>> <mailto:roman@telurix.com>> wrote:
>>
>>     On Sat, Jan 23, 2016 at 9:06 AM, Christer Holmberg
>>     <christer.holmberg@ericsson.com
>>     <mailto:christer.holmberg@ericsson.com>> wrote:
>>
>>         > I always wondered what intermediary we are talking about which
>> is supposed to know where to forward media. If
>>         > we are talking about firewalls which dynamically open ports,
>> then, most of the time it has no access to signaling information
>>         > due to use of secure channels. If we are talking about
>> something that does something to the media and forwards it (rtp proxy
>>         > in combination with sip proxy), then we actually want such
>> proxy to support rtcp mux exclusive or fail the connection for
>>         > the same reason we want regular end points to fail during
>> connection setup -- to prevent RTCP from being sent to
>>         > unexpected destination.
>>
>>         If such proxy only forwards what it receives, it doesn't need to
>>         support mux-exclusive. It only forwards what it gets. However,
>>         if it sees an m- line with port 0, it may not forward anything.
>>
>>
>>     Can you give me an example of the product you are referring to? I
>>     was thinking about http://ag-projects.com/mediaproxy/ and
>>     http://www.rtpproxy.org/ which both generate RTCP.
>>
>>     We are dealing with trade of between not sending unexpected traffic
>>     and backwards compatibility. I do not think there is a way to
>>     prevent unexpected traffic and still work with all the legacy end
>>     points. I would argue that RTCP mux required is not backwards
>>     compatible change and should not work unless it is supported
>>     end-to-end. Only backwards compatibility required should be ability
>>     to detect end points that do not support rtcp mux and not to set the
>>     media session with them.
>>
>>     Regards,
>>     _____________
>>     Roman Shpount
>>
>>     _______________________________________________
>>     mmusic mailing list
>>     mmusic@ietf.org <mailto:mmusic@ietf.org>
>>     https://www.ietf.org/mailman/listinfo/mmusic
>>
>>
>>
>