Re: [rtcweb] 5 tuples and rmcat-cc-requirements-01

Stefan Håkansson LK <stefan.lk.hakansson@ericsson.com> Wed, 01 January 2014 18:10 UTC

Return-Path: <stefan.lk.hakansson@ericsson.com>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E643F1AE3A8 for <rtcweb@ietfa.amsl.com>; Wed, 1 Jan 2014 10:10:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.94
X-Spam-Level:
X-Spam-Status: No, score=-0.94 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_SE=0.35, HOST_MISMATCH_NET=0.311, MIME_8BIT_HEADER=0.3, 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 john2jFTJyLQ for <rtcweb@ietfa.amsl.com>; Wed, 1 Jan 2014 10:10:37 -0800 (PST)
Received: from sessmg21.mgmt.ericsson.se (sessmg21.ericsson.net [193.180.251.40]) by ietfa.amsl.com (Postfix) with ESMTP id 3EA7C1AE3A7 for <rtcweb@ietf.org>; Wed, 1 Jan 2014 10:10:36 -0800 (PST)
X-AuditID: c1b4fb28-b7f4e8e000000b43-62-52c45a15ce46
Received: from ESESSHC010.ericsson.se (Unknown_Domain [153.88.253.125]) by sessmg21.mgmt.ericsson.se (Symantec Mail Security) with SMTP id 67.BA.02883.51A54C25; Wed, 1 Jan 2014 19:10:29 +0100 (CET)
Received: from ESESSMB209.ericsson.se ([169.254.9.201]) by ESESSHC010.ericsson.se ([153.88.183.48]) with mapi id 14.02.0347.000; Wed, 1 Jan 2014 19:10:07 +0100
From: Stefan Håkansson LK <stefan.lk.hakansson@ericsson.com>
To: Eric Rescorla <ekr@rtfm.com>
Thread-Topic: [rtcweb] 5 tuples and rmcat-cc-requirements-01
Thread-Index: AQHPBpNl43+EzjKLY0GXWhPSRXBosg==
Date: Wed, 01 Jan 2014 18:10:06 +0000
Message-ID: <1447FA0C20ED5147A1AA0EF02890A64B1C432583@ESESSMB209.ericsson.se>
References: <CAA93jw7FDddn2n23fm=rdUsDyGakNfyLkJDgNjoC43fSc4GnSA@mail.gmail.com> <CABkgnnUR1ARiMRTKwieQmNz3qg=RiagF=zdo6LYf02pQaz+7nQ@mail.gmail.com> <1447FA0C20ED5147A1AA0EF02890A64B1C432187@ESESSMB209.ericsson.se> <CABcZeBNv1AyVmj2we=wBZjOSNnt-P0HbQdK91TsMxnstzrOadg@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [153.88.183.149]
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrELMWRmVeSWpSXmKPExsUyM+Jvra5o1JEgg7+zZS32bDzJYrHi9Tl2 i2tn/jFarP3Xzu7A4rFz1l12jyVLfjJ5TH7cxhzAHMVlk5Kak1mWWqRvl8CVcXHtY9aCryIV Ny58ZmxgXCrYxcjJISFgIvFg8QcWCFtM4sK99WxdjFwcQgInGCXWH//HCJIQEljMKLH7rg6I zSYQKLF13wI2EFtEQEHi158TYM3MAqUSmxadBIsLC1hLrF/YzgRRYyNxaMlcVghbT+LUzmfM IDaLgIrE+ZZLYDW8Ar4S+w58g1q8iEni8qHvYIsZgS76fmoNE8QCcYlbT+YzQVwqILFkz3lm CFtU4uXjf6wQtpLE2sPboQ7Sk7gxdQobhK0tsWzha2aIZYISJ2c+YZnAKDoLydhZSFpmIWmZ haRlASPLKkbJ4tTi4tx0I0O93PTcEr3Uoszk4uL8PL3i1E2MwHg6uOW3xg7G7mv2hxilOViU xHmrZnYGCQmkJ5akZqemFqQWxReV5qQWH2Jk4uCUamCMsXxlP2X5TvudWtrq4SwhzdKSUccf nZqzTWYht/vclTuKC5flfPyzbJtk7DL7z7rBZ0xnKVoqGQVN3RiaGbvi8H6xfzf18o+vm/Dp 3pzeK5eW/2PdeTzTe+bttP2MctMCnCKbV07n1mN2K7X+vvT7ZW/3Fe0xEm8KDbdkOk3Yrj4r 4dT5v29alViKMxINtZiLihMBeW2pAHUCAAA=
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>
Subject: Re: [rtcweb] 5 tuples and rmcat-cc-requirements-01
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.15
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: Wed, 01 Jan 2014 18:10:39 -0000

On 01/01/14 16:41, Eric Rescorla wrote:
> Is there some reason why people are avoiding the obvious avenue
> of creating an API to control BUNDLE? We already need one for
> BUNDLE-only anyway.

I think it would be quite easy to add; for simplicity it could be just 
something stated when constructing the PeerConnection (nobundle).

>
> -Ekr
>
>
> On Tue, Dec 31, 2013 at 10:55 PM, Stefan Håkansson LK
> <stefan.lk.hakansson@ericsson.com> wrote:
>> On 01/01/14 02:47, Martin Thomson wrote:
>>> On 29 December 2013 16:02, Dave Taht <dave.taht@gmail.com> wrote:
>>>> In current implementations, is it possible to force flows onto
>>>> different tuples? What are the other flaws in suggesting or requiring
>>>> a different tuple?
>>>
>>> There are quite a few ways to achieve this, depending on your
>>> configuration.  All will require some fair amount of SDP cracking.
>>>
>>> If you have browsers at both ends, try creating two RTCPeerConnection
>>> objects on each, and treat one pair as audio and the other video.  You
>>> can do this by telling the answerer that audio (or video) is not
>>> wanted in the offer (set port zero for the unwanted component).
>>> offer.sdp.replace(/m=audio \d+ /, 'm=audio 0 ') should be done before
>>> sending the offer out (I don't know whether you can pass this to
>>> setLocalDescription safely, so I wouldn't).
>>
>> One way of doing it without any SDP cracking would be to create two
>> different MediaStream's out of the one obtained from getUserMedia; one
>> with the audio MediaStreamTrack only, and one with the video one.
>>
>> Then use one of them with one PeerConnection, and the other with another
>> PeerConnection, and assemble into a MediaStream with audio and video at
>> the receiving end.
>>
>> (And this becomes more straightforward if we move to adding tracks and
>> not streams to PeerConnection)
>>
>> If you want to use one PeerConnection only, I think the simplest way
>> would be to remove bundle from the SDP offer - either before setLocal or
>> before sending the offer to the remote endpoint.
>>
>>> _______________________________________________
>>> rtcweb mailing list
>>> rtcweb@ietf.org
>>> https://www.ietf.org/mailman/listinfo/rtcweb
>>>
>>
>> _______________________________________________
>> rtcweb mailing list
>> rtcweb@ietf.org
>> https://www.ietf.org/mailman/listinfo/rtcweb
>