Re: [rtcweb] To multiplex or not!
Colin Perkins <csp@csperkins.org> Wed, 20 July 2011 22:21 UTC
Return-Path: <csp@csperkins.org>
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 678A121F84EB for <rtcweb@ietfa.amsl.com>; Wed, 20 Jul 2011 15:21:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -103.599
X-Spam-Level:
X-Spam-Status: No, score=-103.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Az8f53eQzOP2 for <rtcweb@ietfa.amsl.com>; Wed, 20 Jul 2011 15:21:04 -0700 (PDT)
Received: from anchor-msapost-3.mail.demon.net (anchor-msapost-3.mail.demon.net [195.173.77.166]) by ietfa.amsl.com (Postfix) with ESMTP id 280C021F8AB9 for <rtcweb@ietf.org>; Wed, 20 Jul 2011 15:21:04 -0700 (PDT)
Received: from starkperkins.demon.co.uk ([80.176.158.71] helo=[192.168.0.26]) by anchor-post-3.mail.demon.net with esmtpsa (AUTH csperkins-dwh) (TLSv1:AES128-SHA:128) (Exim 4.69) id 1Qjf8Z-0001D5-mS; Wed, 20 Jul 2011 22:21:03 +0000
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset="utf-8"
From: Colin Perkins <csp@csperkins.org>
In-Reply-To: <62C71813-83B4-44D3-8E54-28262311CDB3@cisco.com>
Date: Wed, 20 Jul 2011 23:21:00 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <1CA6A176-B5F1-47F0-839D-D595CE023B57@csperkins.org>
References: <4E259484.20509@ericsson.com> <37897D97-85A9-4B21-85C3-A7E9BE1EF3E7@cisco.com> <4E26B742.6050606@jitsi.org> <62C71813-83B4-44D3-8E54-28262311CDB3@cisco.com>
To: Cullen Jennings <fluffy@cisco.com>
X-Mailer: Apple Mail (2.1084)
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>
Subject: Re: [rtcweb] To multiplex or not!
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: Wed, 20 Jul 2011 22:21:08 -0000
On 20 Jul 2011, at 15:11, Cullen Jennings wrote: > On Jul 20, 2011, at 4:08 , Emil Ivov wrote: >> На 20.07.11 02:05, Cullen Jennings написа: >>> I'd like to see it that devices MUST support multiplexing and I'd probably be in favor of also MUST support non multiplexed flows. The multiplexing is a big advantage for any device that needs to deal with NATs so I suspect many "legacy" devices would be moving to this even if there was no need to deal with the browser like devices. I also think that allowing this type of multiplexing will make firewall traversal easier where a device can configure a firewall to open just one specified port and use it for RTP. >> >> I don't really agree with this part. Devices would still need to handle candidates that come from STUN, TURN, UPnP, host IPv4, host IPv6, and potentially VPN, MIPv6 and other tunnelling mechanisms. Whether or not this only happens for a single component/stream doesn't really simplify code does it? >> >> According to my personal experience with our work on ice4j.org, managing multiple checklists was far less resource consuming than implementing TURN tunnels and persmissions, STUN multiplexing, synchronisation and even getting pacing right. > > Ahh, I think we have come to the key issues here - perhaps I have not been explaining myself very well. So in your experience roughly how long does it take to set up a for two scenarios using ICE as is today. > > First scenario: I have two devices that want to set up a single audio stream and they each have the candidates from: local v4 IP address, v4 stun, v4 turn, local v6, turn v6. Obviously they could have a lot more but that seems like a reasonable starting point. > > Second scenario: same as first address wise but instead of a single audio stream they want to set up a single audio stream to a conference bridge plus 7 video streams for the video from the 5 people on the bridge plus a presentation stream and stream of video from active speaker. I don't really care much about the scenario other than there are 8 streams being set up. But this type of scenario is becoming very common for multi party video chat as it allows you to see perhaps small versions of everyone plus a large version of active speaker. > > My experience is the answer to the first scenario is not as quick as you would like and the answer to how long the second takes is about 8 times longer than the first one. You might do a bit better than that depending on how clever your implementation is but it still a lot longer. I may be misunderstanding, but why would this take 8 times as long to set up? Wouldn't you implement it as one UDP flow for the RTP audio, plus one UDP flow for the RTP video (with the 7 video streams multiplexed by SSRC, since RTP has always allowed multiparty flows of the same media type in a single RTP session)? This might take twice as long to setup as a single audio flow in the worst case, but not eight times as long. Cheers, Colin
- [rtcweb] To multiplex or not! Magnus Westerlund
- Re: [rtcweb] To multiplex or not! Justin Uberti
- Re: [rtcweb] To multiplex or not! Magnus Westerlund
- Re: [rtcweb] To multiplex or not! Dzonatas Sol
- Re: [rtcweb] To multiplex or not! Matthew Kaufman
- Re: [rtcweb] To multiplex or not! Emil Ivov
- Re: [rtcweb] To multiplex or not! Emil Ivov
- Re: [rtcweb] To multiplex or not! Randell Jesup
- Re: [rtcweb] To multiplex or not! Cullen Jennings
- Re: [rtcweb] To multiplex or not! Dzonatas Sol
- Re: [rtcweb] To multiplex or not! Stefan Håkansson LK
- Re: [rtcweb] To multiplex or not! Magnus Westerlund
- Re: [rtcweb] To multiplex or not! Stefan Håkansson LK
- Re: [rtcweb] To multiplex or not! Harald Alvestrand
- Re: [rtcweb] To multiplex or not! Emil Ivov
- Re: [rtcweb] To multiplex or not! Magnus Westerlund
- Re: [rtcweb] To multiplex or not! Harald Alvestrand
- Re: [rtcweb] To multiplex or not! Timothy B. Terriberry
- Re: [rtcweb] To multiplex or not! Cullen Jennings
- Re: [rtcweb] To multiplex or not! Bernard Aboba
- Re: [rtcweb] To multiplex or not! Cullen Jennings
- Re: [rtcweb] To multiplex or not! Dzonatas Sol
- Re: [rtcweb] To multiplex or not! Elwell, John
- Re: [rtcweb] To multiplex or not! Harald Alvestrand
- Re: [rtcweb] To multiplex or not! Bernard Aboba
- Re: [rtcweb] To multiplex or not! Colin Perkins
- Re: [rtcweb] To multiplex or not! Colin Perkins
- Re: [rtcweb] To multiplex or not! Colin Perkins
- Re: [rtcweb] To multiplex or not! Matthew Kaufman
- Re: [rtcweb] To multiplex or not! Stefan Håkansson LK
- Re: [rtcweb] To multiplex or not! Magnus Westerlund
- [rtcweb] Support for websockets Avasarala, Ranjit
- Re: [rtcweb] Support for websockets Harald Alvestrand
- Re: [rtcweb] Support for websockets Matthew Kaufman
- Re: [rtcweb] Support for websockets Christopher Blizzard
- Re: [rtcweb] Support for websockets Cullen Jennings
- Re: [rtcweb] Support for websockets Harald Alvestrand
- Re: [rtcweb] Support for websockets Matthew Kaufman
- Re: [rtcweb] Support for websockets Salvatore Loreto