Re: [MMUSIC] [AVTCORE] BUNDLE: a single stream with multiple MIDs?

Miguel París Díaz <mparisdiaz@gmail.com> Thu, 14 July 2016 10:19 UTC

Return-Path: <mparisdiaz@gmail.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 1A60312D0D9; Thu, 14 Jul 2016 03:19:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level:
X-Spam-Status: No, score=-2.699 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 czLtlc__xP3Z; Thu, 14 Jul 2016 03:19:56 -0700 (PDT)
Received: from mail-wm0-x229.google.com (mail-wm0-x229.google.com [IPv6:2a00:1450:400c:c09::229]) (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 2CD6512D1D3; Thu, 14 Jul 2016 03:19:54 -0700 (PDT)
Received: by mail-wm0-x229.google.com with SMTP id i5so107107539wmg.0; Thu, 14 Jul 2016 03:19:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=CB/WWh2BThanA4kflaTLhKloCAnTfQGzZNLod+83qRw=; b=LNFnqmzI4Ig8Sv2fIPaHhkhxtnGOeWYqlE7uhz3R/wI57M9E6Yl1sHekDAR82Q1ML6 9VJTE+LignN+aeWxeRQTFIUIx6b7CFq0Z7Z/CoFI/VUjyUxatx6gT+uBCvF5t9g6y1bO bCtM4BnYdCnjh/Qqo4fz6V+2AWHoHyu06/Ah/LjpHgvSjuJDIxVM3tgMXBcyaROVWWsI o3sjqRTAJBCABbTaDDh+bT8t1HfwcLyVG9o17AkAhLzwAGUav6LYKVIE6PO6Fc7SabjJ BXXCgMKC5qZ4nzWnLwq1j03o3I86seSfdaYOPUoyHWQtUtlYOfUYFOkXeM7MNY0bxITS 06kQ==
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:from:date :message-id:subject:to:cc; bh=CB/WWh2BThanA4kflaTLhKloCAnTfQGzZNLod+83qRw=; b=ZApmJ9Sn2dn9WLDX55zF8XHKyTXYOA0eJk6JQlAf7/LPxyD2t3Ojw5beVz8Vn+EWaY xjesnJ7UTBCbMPe4KAodeuzAjJXBMnaP5JnBWUW6hEF6oXMbSVP6BiE1oLGF/tCqcqEh U6CccuIBfGOV29sMr/AIoeK1Ja8m6ReJtMb5mYfVjLpVvtkM+LOVFnxS0mxehlGgKs0H tJes8slTKidlnajW//zvtVyCFoQH8OYFvvuyhBQxjDLs1nMB7ZfQLsVXfCKCEZjrsziA BalcHaD8Db0TLycec830nQJcfhOo2eJiPK108s4eH9/RVDvjoiGsFAZmgDNHlW90rfz0 zBoA==
X-Gm-Message-State: ALyK8tKPhyzXQljdAPZ7AZkEYKM48WXLtUpZV9DjSB/CX0BPWuBND+6swKPWVfuAD+LZKT0uGub1qJ/0RjCSLg==
X-Received: by 10.28.48.3 with SMTP id w3mr33199852wmw.28.1468491592697; Thu, 14 Jul 2016 03:19:52 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.194.117.67 with HTTP; Thu, 14 Jul 2016 03:19:51 -0700 (PDT)
In-Reply-To: <CALiegf=VCCK0SYysZ3VbP7WRrGFE_3P-Fn2BYouVE4faX1JMzw@mail.gmail.com>
References: <6C642BD1-679B-4CCA-9148-DD4A7ACB48A4@vidyo.com> <CAMRcRGRMp-tehSjwaXh4rzwedsHHjXaxhJ=pd0-9XiSCiLG_2Q@mail.gmail.com> <7E00EB16-72FE-4A1E-A268-66674361FB2B@vidyo.com> <CAJrXDUFpkVegw_hb4hFVP0Bme=6avVC8J3hucuhHDbvOamn-2w@mail.gmail.com> <3BECBA70-B73C-4E87-8A69-55AAA406A8B9@vidyo.com> <CAJrXDUETxAbt4pP2ShAKuYSaDdRk5u_c1antpVATE+NinAaiVA@mail.gmail.com> <D3AD2F4A.BEE3%christer.holmberg@ericsson.com> <CALiegf=VCCK0SYysZ3VbP7WRrGFE_3P-Fn2BYouVE4faX1JMzw@mail.gmail.com>
From: Miguel París Díaz <mparisdiaz@gmail.com>
Date: Thu, 14 Jul 2016 12:19:51 +0200
Message-ID: <CAEn+E3hs0sMWU863E2XbpFAxswbG6+rc1o7QRKK3qqXFC7f06w@mail.gmail.com>
To: Iñaki Baz Castillo <ibc@aliax.net>
Content-Type: multipart/alternative; boundary="001a114245eabd0fd8053795d7d4"
Archived-At: <https://mailarchive.ietf.org/arch/msg/mmusic/qEOiI9ZJF78FX0oCm_Ruv2I_Oas>
Cc: Jonathan Lennox <jonathan@vidyo.com>, mmusic <mmusic@ietf.org>, IETF AVTCore WG <avt@ietf.org>, Christer Holmberg <christer.holmberg@ericsson.com>
Subject: Re: [MMUSIC] [AVTCORE] BUNDLE: a single stream with multiple MIDs?
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.17
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: Thu, 14 Jul 2016 10:19:59 -0000

Hello everyone,
firstable, thanks Jonathan to open this interesting discussion.

For me it is quite important not only having real time
applications/infrastructures working, but also in an efficient way, because
it could be the different between success or failure...
Why? Because the usage of technology is subject of business, where the
costs are essential.

Taking this into account and that in the real world:
  - For conferences with 3 or less participants (usually) the best approach
is doing p2p.
  - Conferences with 4 or more participants (usually) use a midlebox like
an SFU, etc.
  - Most conferences have less than 5/6 participants

In the Jonathan's case with a SFU:
  - Sending all streams, there would be nParticipants input streams and
nParticipants * nParticipants output streams. Total streams: (nParticipants
+ 1) * nParticipants
  - With his proposal, there would be nParticipants input streams and
(nParticipants -1) * nParticipants output streams. Total streams:
nParticipants * nParticipants, so we save nParticipants streams.

And the percentage of streams saved is: 1 - ( (nParticipants *
nParticipants) / (nParticipants + 1) * nParticipants)) = 1 - (nParticipants
/ (nParticipants + 1))

Assuming that in an SFU the cost of receiving and sending streams is almost
the same, with this approach we could save CPU and reduce the bandwidth
usage with conferences of:
  - 4 participants: 1 -4/5 = 1-0.8 = 20 %
  - 5 participatns = 1- 5/6 = 1 - 0.833 = 16.6 %
  - 6 participants = 1 - 6/7 = 1 - 0.857 = 14.3 %

We also should consider that using simulcast of SVC for video would reduce
this percentages.
But in conclusion, let's take into account the efficiency, not only for
that but in general please ;)

Related to that:

Then a=mid comes to the rescue and provides a per m-line unique
> identifier, leaving the door open for a future spec change allowing
> m-lines removal (have you ever seen how an SDP from a SFU with
> participants entering and leaving the room grows?).
>

To avoid huge SDP, there is draft proposing partial offers and answers:
https://tools.ietf.org/html/draft-roach-mmusic-pof-pan

Best regards!!

-- 
Miguel París Díaz
------------------------------------------------------------------------
Computer/Software engineer.
Researcher and architect in http://www.kurento.org
http://twitter.com/mparisdiaz
------------------------------------------------------------------------