Re: [rtcweb] JSEP: Order of m- lines in multiple PeerConnections

Christer Holmberg <christer.holmberg@ericsson.com> Fri, 18 October 2013 04:59 UTC

Return-Path: <christer.holmberg@ericsson.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 C060E21F9E11 for <rtcweb@ietfa.amsl.com>; Thu, 17 Oct 2013 21:59:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.425
X-Spam-Level:
X-Spam-Status: No, score=-5.425 tagged_above=-999 required=5 tests=[AWL=0.223, BAYES_00=-2.599, HELO_EQ_SE=0.35, HTML_MESSAGE=0.001, J_CHICKENPOX_15=0.6, 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 N4kTaINp9WCI for <rtcweb@ietfa.amsl.com>; Thu, 17 Oct 2013 21:59:28 -0700 (PDT)
Received: from mailgw1.ericsson.se (mailgw1.ericsson.se [193.180.251.45]) by ietfa.amsl.com (Postfix) with ESMTP id 77BAF21F9E12 for <rtcweb@ietf.org>; Thu, 17 Oct 2013 21:59:24 -0700 (PDT)
X-AuditID: c1b4fb2d-b7f738e000003ee3-82-5260c02a36c4
Received: from ESESSHC014.ericsson.se (Unknown_Domain [153.88.253.124]) by mailgw1.ericsson.se (Symantec Mail Security) with SMTP id 69.18.16099.A20C0625; Fri, 18 Oct 2013 06:59:23 +0200 (CEST)
Received: from ESESSMB209.ericsson.se ([169.254.9.146]) by ESESSHC014.ericsson.se ([153.88.183.60]) with mapi id 14.02.0328.009; Fri, 18 Oct 2013 06:59:22 +0200
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Suhas Nandakumar <suhasietf@gmail.com>
Thread-Topic: [rtcweb] JSEP: Order of m- lines in multiple PeerConnections
Thread-Index: Ac69tBInSk4xBHAwQSOQDX27ZZb6/AN2sSmAAAv+KVk=
Date: Fri, 18 Oct 2013 04:59:22 +0000
Message-ID: <fxpfdprlgl8ik9kns46p8st0.1382072314943@email.android.com>
References: <7594FB04B1934943A5C02806D1A2204B1C4AFB57@ESESSMB209.ericsson.se>, <CAMRcRGRJQ+6a7CnTxVixXpv+zYWLO69J=NeG0-h+SNRhnsTAEg@mail.gmail.com>
In-Reply-To: <CAMRcRGRJQ+6a7CnTxVixXpv+zYWLO69J=NeG0-h+SNRhnsTAEg@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Content-Type: multipart/alternative; boundary="_000_fxpfdprlgl8ik9kns46p8st01382072314943emailandroidcom_"
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrGLMWRmVeSWpSXmKPExsUyM+Jvja72gYQgg13GFmv/tbNb7JzbwezA 5LFz1l12jyVLfjIFMEVx2aSk5mSWpRbp2yVwZWxbcoGtYIZexbXeJcwNjJ3qXYycHBICJhJd U88wQthiEhfurWfrYuTiEBI4zCixZH4DlLOEUeLUshfsXYwcHGwCFhLd/7RBGkQEtCRWL57L BGIzC6hL3Fl8DqxEWMBT4vJpDhBTRMBL4uJWMYhqK4l3rY9YQWwWAVWJL7+6WEBsXgE3iR93 XjNCbJrEKLG0fwEbSIJTIFDi565XzCA2I9Bt30+tgVolLnHryXwmiJsFJJbsOc8MYYtKvHz8 jxWiJkdiUsdOZogFghInZz5hmcAoMgtJ+ywkZbOQlEHE9SRuTJ3CBmFrSyxb+JoZwtaVmPHv EAuy+AJG9lWM7LmJmTnp5YabGIFxc3DLb90djKfOiRxilOZgURLn/fDWOUhIID2xJDU7NbUg tSi+qDQntfgQIxMHp1QDo5Pb5wklv75udN6sNE2s39RV4eX93WmXfc+5yoi5LGHkOc26aNO5 A42XwnzCOj0mvX5q2sT88prcpYKz0Z0vJaYs063pDd9smtm20N45YCLLb2mjM1etPdzOR/U/ rOGaz+ukXWz0e2aY/aoz9hZ2XCouagki/s6N5yeqFT3YM8HIteLHtZQbSizFGYmGWsxFxYkA 2A1MdmkCAAA=
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>
Subject: Re: [rtcweb] JSEP: Order of m- lines in multiple PeerConnections
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: Fri, 18 Oct 2013 04:59:32 -0000

Hi Suhas,

Yes, there are a number of ways how it could be done. And, I'm not asking for a solution at this point, simply that we identify it as an issue that needs to be solved :)

Regards,

Christer

Sent from my Sony Ericsson Xperia arc S

Suhas Nandakumar <suhasietf@gmail.com> wrote:



Hi Christer,

One idea is to pass the Peer Connection Object to be forked as input to the Fork API when creating the new Peer Connection.

This way the implementation knows that the order of m=lines must   be matched to the ones in the passed in reference peer connection object ..

Any thoughts ??

Thanks
Suhas


On Mon, Sep 30, 2013 at 1:07 AM, Christer Holmberg <christer.holmberg@ericsson.com<mailto:christer.holmberg@ericsson.com>> wrote:
Hi,

JSEP talks about the usage of multiple PeerConnection to support forking, i.e. for each new forked leg (SIP: early dialog) a new PeerConnection is created.

As has been indicated, as each new PeerConnection will have its own set of address properties, ICE properties etc, so a new Offer will have to be created and sent to inform the remote about the new properties.

So far so I good.

I also assume that the same camera/mic/etc sources are connection to each PeerConnection, so the number of m- lines in the Offer of the new PeerConnection should be the same.

However, according the 3264, the ORDER of the m- lines also need to be kept the same.

So, my question is: how can I ensure that the order of the m- lines in an Offer for a new PeerConnection is the same as in an Offer for an old PeerConnection?

Regards,

Christer


_______________________________________________
rtcweb mailing list
rtcweb@ietf.org<mailto:rtcweb@ietf.org>
https://www.ietf.org/mailman/listinfo/rtcweb