Re: [MMUSIC] Bundle offer with different ports - where to expect media?

Christer Holmberg <christer.holmberg@ericsson.com> Thu, 23 May 2013 10:13 UTC

Return-Path: <christer.holmberg@ericsson.com>
X-Original-To: mmusic@ietfa.amsl.com
Delivered-To: mmusic@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3570121F96B4 for <mmusic@ietfa.amsl.com>; Thu, 23 May 2013 03:13:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.106
X-Spam-Level:
X-Spam-Status: No, score=-6.106 tagged_above=-999 required=5 tests=[AWL=0.143, BAYES_00=-2.599, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-4]
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 UoJtsGbcfx9N for <mmusic@ietfa.amsl.com>; Thu, 23 May 2013 03:13:22 -0700 (PDT)
Received: from mailgw1.ericsson.se (mailgw1.ericsson.se [193.180.251.45]) by ietfa.amsl.com (Postfix) with ESMTP id 7C2E521E804A for <mmusic@ietf.org>; Thu, 23 May 2013 03:13:19 -0700 (PDT)
X-AuditID: c1b4fb2d-b7fe36d000007102-1c-519debbe8b3a
Received: from ESESSHC023.ericsson.se (Unknown_Domain [153.88.253.125]) by mailgw1.ericsson.se (Symantec Mail Security) with SMTP id D0.56.28930.EBBED915; Thu, 23 May 2013 12:13:18 +0200 (CEST)
Received: from ESESSMB209.ericsson.se ([169.254.9.167]) by ESESSHC023.ericsson.se ([153.88.183.87]) with mapi id 14.02.0328.009; Thu, 23 May 2013 12:13:17 +0200
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Christer Holmberg <christer.holmberg@ericsson.com>, Paul Kyzivat <pkyzivat@alum.mit.edu>, Justin Uberti <juberti@google.com>
Thread-Topic: [MMUSIC] Bundle offer with different ports - where to expect media?
Thread-Index: AQHOVWQYFllMQWcPdEapMYgKF+xnpZkOHfyA///oz4CAAATTgIABJz4AgACaOACAAE6KAIAADiMAgABcnwCAAJViAIAABFwAgACSgQCAAAedgIAAktnQgABDxqA=
Date: Thu, 23 May 2013 10:13:16 +0000
Message-ID: <7594FB04B1934943A5C02806D1A2204B1C376AB5@ESESSMB209.ericsson.se>
References: <7594FB04B1934943A5C02806D1A2204B1C374357@ESESSMB209.ericsson.se> <519A229D.7090204@jitsi.org> <7594FB04B1934943A5C02806D1A2204B1C374463@ESESSMB209.ericsson.se> <519A2768.5010904@alum.mit.edu> <CAPvvaa+A=LkYp9A+wENAABwCYaQcD0HVeX4o+O_16iJRPXZfNw@mail.gmail.com> <7594FB04B1934943A5C02806D1A2204B1C3744DC@ESESSMB209.ericsson.se> <CAPvvaaJsPNk1DAJXYoc8aUgZ0ZayV_8q84W=Mm7vwuRRGuwC-g@mail.gmail.com> <7594FB04B1934943A5C02806D1A2204B1C374572@ESESSMB209.ericsson.se> <519A3883.8060006@jitsi.org> <519A3C8F.3040309@alum.mit.edu> <519B343A.30704@jitsi.org> <519BB598.1030909@alum.mit.edu> <CAOJ7v-398_MiXLWjexU0Z0xQju3A-zWuQFkWkJSLPA5UEGAu+g@mail.gmail.com> <CABkgnnXqBzteoxH2qWBw1Xn9PHt2r___UCsp1Eoq4o8_VWvBZg@mail.gmail.com> <CAOJ7v-2xXb=uz3jBAKSXhyJ2mU9BGvYHZ=dkeKcZTWov7udWKQ@mail.gmail.com> <519CCE58.3000807@alum.mit.edu> <CAMvTgcdPZfBTyzoBZGCdJiHX+TaL3_T8+MnxH8+6vQPFTD4ZOA@mail.gmail.com> <CAOJ7v-1tmfy4Fu05ChcpbZT=bO-zr05qtOh9Lnw5bprbUEnoDw@mail.gmail.com> <519D5349.2030202@alum.mit.edu> <7594FB04B1934943A5C02806D1A2204B1C37656C@ESESSMB209.ericsson.se>
In-Reply-To: <7594FB04B1934943A5C02806D1A2204B1C37656C@ESESSMB209.ericsson.se>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [153.88.183.17]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrMLMWRmVeSWpSXmKPExsUyM+Jvre6+13MDDe4cFrfYOlXIYuryxywW KzYcYHVg9vj7/gOTx4JNpR5LlvxkCmCO4rJJSc3JLEst0rdL4MpY2XuUreCgWsWzGTdZGxhb pbsYOTkkBEwkFl9/yQphi0lcuLeerYuRi0NI4DCjROOV6UwQzhJGiZ2LH7F0MXJwsAlYSHT/ 0wZpEBFoYpRoOsQGYjMLyEjMONvIBGILCwRJbF29hBmiJlii/80DRpA5IgJdQPXrf7OAJFgE VCUOtX5gBZnJK+ArcfmxIcSu8xwSK148ZQKJcwr4SXy8WwpSzgh03PdTa5ggdolL3Hoynwni aAGJJXvOM0PYohIvH/8DGykhoCixvF8OolxHYsHuT1BnakssW/garJxXQFDi5MwnLBMYxWYh mToLScssJC2zkLQsYGRZxciem5iZk15uuIkRGDEHt/zW3cF46pzIIUZpDhYlcd5e7amBQgLp iSWp2ampBalF8UWlOanFhxiZODilGhglvCSyvj1JtU/Mf8147L3JM4VF68/NLqn/fn3PJ1vV zxvS63/numYejrrppS1Xuu/usbf97LdcJu2recB79tiCM4qL7x28cPSLrt70m4Kmcgd2uZfa Pn24Zq0zf3wnj8WxEE3DZDvF6O8+22+fcJnf6pz8pDhFMH6x44y4RzLb6h/zNF7IS41QYinO SDTUYi4qTgQAxcdZqWYCAAA=
Cc: mmusic <mmusic@ietf.org>
Subject: Re: [MMUSIC] Bundle offer with different ports - where to expect media?
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Thu, 23 May 2013 10:13:27 -0000

Hi,

>>> I think we could do this using the existing syntax, e.g.
>>>
>>> an offer of a=group:BUNDLE A B C would indicate that the offerer 
>>> would prefer A, B, and C to be muxed onto A, and an answer of 
>>> a=group:BUNDLE C A would indicate that the answerer is going to mux C 
>>> and A onto C, and send B unbundled.
>>
>> That would work. I don't have an objection to it.
>> But I'm also ok with choosing based on static ordering of m-lines.
>
> There are different ways an offerer can tell the remote bundle endpoint on which port it prefers to receive media.
>
> But, again, if there is an intermediary that doesn't understand bundle, it will send according to the ports indicated in the m= lines.
>
> The way we solve that is by sending the second offer, with identical port numbers. So, the sooner we send that second offer, the sooner we get rid of the problem about where to send the media :)

Actually, correcting myself.

The intermediary will of course forward media only towards the bundle port (however it is indicated), as the answerer is only sending towards that port.

The problem is that the intermediary may trigger error events when it detects media types etc not negotiated for that port. So, for THAT reason the second offer needs to be sent asap :)

Regards,

Christer






> <kevindempsey70@gmail.com <mailto:kevindempsey70@gmail.com>> wrote:
>
>     Would it make it simpler if the offer included an attribute in
>     bundled m= lines that said where to send the media if bundle is
>     supported by the answerer; and for the answer to include an
>     attribute that said where it was going to send the media (ie. to the
>     bundled destination or the unbundled destination)
>
>
>     On 22 May 2013 14:55, Paul Kyzivat <pkyzivat@alum.mit.edu
>     <mailto:pkyzivat@alum.mit.edu>> wrote:
>
>         On 5/22/13 1:00 AM, Justin Uberti wrote:
>
>             Taking into account Emil's suggestion as well, this leads to
>             this
>             restatement of the rules:
>
>             1.1) An offerer must be prepared to receive unbundled
>             traffic on the
>             offered ports, as if talking to a legacy endpoint.
>             1.2) An offerer must be prepared to receive bundled traffic
>             on any port,
>             except the port associated with the last m= line.
>             2) Once the answer is received, the decision on
>             bundled/unbundled and
>             which ports to use is finalized.
>             2.1) BUNDLEd m= lines use the port of the m= line that
>             appears first in
>             the bundle.
>             2.2) Unused ports can be discarded at this point.
>             3.1) m= lines offered with distinct ports may be omitted
>             from the bundle
>             answer, in line with RFC 5888.
>             3.2) m= lines offered with the same port may not be omitted
>             from the
>             bundle answer, since there is no unbundled port from them to
>             fall back to.
>             3.3) m= lines that are rejected are omitted from the bundle
>             answer, per
>             RFC 5888.
>
>             Quick check on 2.1: are we using the m= line that appears
>             first in the
>             SDP, or the m= line that appears first in the a=group:BUNDLE?
>
>
>         IMO it would be best to use the lexically first m-line that has
>         a non-zero port and that appears in the bundle group of the answer.
>
>         Alternately, it *could* be the m-line with non-zero port that
>         appears first in the bundle group of the answer. But if so, the
>         exception in 1.2 would also need to be correspondingly adjusted.
>
>         AFAICT the only reason to mention that exception in 1.2 is that
>         might provide an opportunity for optimization, by setting up the
>         port with simpler code that doesn't support bundling. I don't
>         see a requirement in 5888 that the bundle group in the answer be
>         ordered the same way as in the offer. So the one m-line
>         guaranteed not to receive bundled traffic would then not be
>         predictable at the time of the offer, so could not be exploited.
>         This problem doesn't exist if the lexical ordering of m-lines is
>         used.
>
>                  Thanks,
>                  Paul
>
>
>         _________________________________________________
>         mmusic mailing list
>         mmusic@ietf.org <mailto:mmusic@ietf.org>
>         https://www.ietf.org/mailman/__listinfo/mmusic
>         <https://www.ietf.org/mailman/listinfo/mmusic>
>
>
>

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