Re: [AVTCORE] SSRC multiplexing of RTP

Harald Alvestrand <harald@alvestrand.no> Fri, 11 March 2011 10:50 UTC

Return-Path: <harald@alvestrand.no>
X-Original-To: avt@core3.amsl.com
Delivered-To: avt@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id CF8823A6989 for <avt@core3.amsl.com>; Fri, 11 Mar 2011 02:50:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.599
X-Spam-Level:
X-Spam-Status: No, score=-102.599 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sW6v3UFrCqLX for <avt@core3.amsl.com>; Fri, 11 Mar 2011 02:50:33 -0800 (PST)
Received: from eikenes.alvestrand.no (eikenes.alvestrand.no [158.38.152.233]) by core3.amsl.com (Postfix) with ESMTP id E159C3A68AA for <avt@ietf.org>; Fri, 11 Mar 2011 02:50:32 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by eikenes.alvestrand.no (Postfix) with ESMTP id C276139E0D4; Fri, 11 Mar 2011 11:51:13 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at eikenes.alvestrand.no
Received: from eikenes.alvestrand.no ([127.0.0.1]) by localhost (eikenes.alvestrand.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pspqjj-4jMcd; Fri, 11 Mar 2011 11:51:13 +0100 (CET)
Received: from hta-dell.lul.corp.google.com (62-20-124-50.customer.telia.com [62.20.124.50]) by eikenes.alvestrand.no (Postfix) with ESMTPS id F318B39E082; Fri, 11 Mar 2011 11:51:12 +0100 (CET)
Message-ID: <4D79FEC3.9060204@alvestrand.no>
Date: Fri, 11 Mar 2011 11:51:47 +0100
From: Harald Alvestrand <harald@alvestrand.no>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110223 Thunderbird/3.1.8
MIME-Version: 1.0
To: Magnus Westerlund <magnus.westerlund@ericsson.com>
References: <11120238-4159-4BA7-B150-0B28E86651B3@cisco.com> <4D7798A9.7080006@omnitor.se> <4D779F79.8090001@ericsson.com>
In-Reply-To: <4D779F79.8090001@ericsson.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: quoted-printable
Cc: avt@ietf.org
Subject: Re: [AVTCORE] SSRC multiplexing of RTP
X-BeenThere: avt@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Audio/Video Transport Core Maintenance <avt.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/avt>, <mailto:avt-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/avt>
List-Post: <mailto:avt@ietf.org>
List-Help: <mailto:avt-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/avt>, <mailto:avt-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 11 Mar 2011 10:50:34 -0000

On 03/09/11 16:40, Magnus Westerlund wrote:
> Hi Gunnar,
>
> Gunnar Hellström skrev 2011-03-09 16:11:
>> Cullen
>>
>> I agree. I have also got negative feedback on SSRC multiplexing.
>>
>> I had it described in the draft for multi-party handling of real-time
>> text in draft-hellstrom-text-conference-02.txt
>> in order to easily separate the streams from different sources and
>> display them in a way that the receiver decides.
>>
>> But the feedback was that many RTP implementations would just regard it
>> to be an error if a new SSRC appeared in the session and it would cause
>> problems.
> Well, this is how you are supposed to use cases when you have multiple
> sources. And text chat is case when implementations can't really say
> that they don't have the rendering capabilities for it. But I do
> understand that most implementations sucks at handling multiple SSRCs
> which is very bad.
>
> My hope is that we will see a bit of signalling support for handling
> multiple SSRCs as part of the CLUE work. But, we do need to push that
> support for multiple SSRCs, it needs to be in the stacks.
Seems to me that since this isn't clear from current specs, there needs 
to be a specification of what a new SSRC appearing in a session means, 
possibly agreed to at call setup time, and if both renumbering and 
multiple streams are to be supported:

- if it is a new stream, how to tell that it's a new stream
- if it is an old stream, renumbered, how to tell what the old stream was

This will certainly be an RTCWEB discussion item, so I'm happy to see 
AVTCORE pick it up to be worked on.
>> SSRC multiplexing also has some trickiness in that when a new SSRC
>> appears in the session, it can either be an old stream that changed SSRC
>> or a new multiplexed stream. RFC 3550 mentions ways to handle that but
>> there is a risk for losing initial packets before it is sorted out.
>> Losing initial packets in e.g. a video stream can be fatal for the
>> possibility to start proper decoding rapidly.
> I guess clarifications should be in place here. And your strategy for
> handling it will depend a lot of what application it is and which media
> one talks about.
>
>> Taking the consequences of this, I am just about to submit a modified
>> draft for the real-time text case using one stream and marking the
>> source by CSRC per packet.
>> It will survive through most existing RTP implementations.
>>
> So your going with a mixer design, despite that for text it isn't really
> needed. I think it is unfortunate, but I guess pragmatic due to poor
> implementation support.
>
> A question to implementors:
>
> Have you tried running the tests documented in RTP testing strategies?
> http://www.rfc-editor.org/rfc/rfc3158.txt
>
> These are excellent tests to check that ones implementation handles what
> it needs to.
>
> Cheers
>
> Magnus Westerlund
>
> ----------------------------------------------------------------------
> Multimedia Technologies, Ericsson Research EAB/TVM
> ----------------------------------------------------------------------
> Ericsson AB                | Phone  +46 10 7148287
> Färögatan 6                | Mobile +46 73 0949079
> SE-164 80 Stockholm, Sweden| mailto: magnus.westerlund@ericsson.com
> ----------------------------------------------------------------------
> _______________________________________________
> Audio/Video Transport Core Maintenance
> avt@ietf.org
> https://www.ietf.org/mailman/listinfo/avt
>