Re: [rtcweb] A problem with both A and B

Christer Holmberg <christer.holmberg@ericsson.com> Mon, 20 May 2013 10:25 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 89CD821F8E9A for <rtcweb@ietfa.amsl.com>; Mon, 20 May 2013 03:25:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.032
X-Spam-Level:
X-Spam-Status: No, score=-6.032 tagged_above=-999 required=5 tests=[AWL=0.216, BAYES_00=-2.599, HELO_EQ_SE=0.35, HTML_MESSAGE=0.001, 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 GMbh5RX80ueu for <rtcweb@ietfa.amsl.com>; Mon, 20 May 2013 03:24:54 -0700 (PDT)
Received: from mailgw2.ericsson.se (mailgw2.ericsson.se [193.180.251.37]) by ietfa.amsl.com (Postfix) with ESMTP id 56DAA21F869A for <rtcweb@ietf.org>; Mon, 20 May 2013 03:24:52 -0700 (PDT)
X-AuditID: c1b4fb25-b7efb6d000007c26-a1-5199f9f3f3c3
Received: from ESESSHC010.ericsson.se (Unknown_Domain [153.88.253.125]) by mailgw2.ericsson.se (Symantec Mail Security) with SMTP id B7.D3.31782.3F9F9915; Mon, 20 May 2013 12:24:51 +0200 (CEST)
Received: from ESESSMB209.ericsson.se ([169.254.9.167]) by ESESSHC010.ericsson.se ([153.88.183.48]) with mapi id 14.02.0328.009; Mon, 20 May 2013 12:24:51 +0200
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Kevin Dempsey <kevindempsey70@gmail.com>, Emil Ivov <emcho@jitsi.org>
Thread-Topic: [rtcweb] A problem with both A and B
Thread-Index: AQHOUxg7Crd1S7QwyEqM9DOrRHv1xJkNp1kAgAA50HA=
Date: Mon, 20 May 2013 10:24:50 +0000
Message-ID: <7594FB04B1934943A5C02806D1A2204B1C374282@ESESSMB209.ericsson.se>
References: <51965506.7050008@jitsi.org> <CAMvTgccSpdAa2F26eeRg61mLQg+ThWfHNU5xXHwz0Ap7bePxBQ@mail.gmail.com>
In-Reply-To: <CAMvTgccSpdAa2F26eeRg61mLQg+ThWfHNU5xXHwz0Ap7bePxBQ@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.17]
Content-Type: multipart/alternative; boundary="_000_7594FB04B1934943A5C02806D1A2204B1C374282ESESSMB209erics_"
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrJLMWRmVeSWpSXmKPExsUyM+Jvre7nnzMDDTpmalus2TmBxeLm/Lcs Fmv/tbM7MHvsnHWX3WPJkp9MHv/fBAYwR3HZpKTmZJalFunbJXBlvDpdW3CrsOLeurWsDYwn E7oYOTkkBEwk1uzrYIawxSQu3FvP1sXIxSEkcJhR4vfudSwQzhJGiYWf/gBlODjYBCwkuv9p g5giAp4SZ65kg/QyC6hL3Fl8jh3EFhYwlPh94RTYTBEBI4lr6/ezQJRbSVxpTAMJswioSiw5 eokNxOYV8JW49n0XI4gtJJAvceDOB7A4p0CgxO47U8FsRqDTvp9awwSxSlzi1pP5TBAnC0gs 2XMe6nxRiZeP/7GCrJIQUJRY3i8HUZ4v8bZnDzvEKkGJkzOfsExgFJ2FZNIsJGWzkJRBxHUk Fuz+xAZha0ssW/iaGcY+c+AxE7L4Akb2VYzsuYmZOenlRpsYgdF1cMtv1R2Md86JHGKU5mBR Euft1Z4aKCSQnliSmp2aWpBaFF9UmpNafIiRiYNTqoFRbNMPvSWFH5a9m/Br57EnR17c4eM+ oR22IP7xUtNFpYV79b+dmyIQ4VKjeFho4e7nlikxU09dNuXlzeuKXVHINOPGzqs9q5mLLnzc f/Pd6fp+k/PRTEpvVHgL0rYcv+imEXOXR8k0u7TV+Odeu0q1uS2fmc+vmTNb5wx76J7D3hs3 tfhZ6EeJKbEUZyQaajEXFScCAPlLCrN8AgAA
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>
Subject: Re: [rtcweb] A problem with both A and B
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: Mon, 20 May 2013 10:25:06 -0000

Hi,

Whatever mechanism we choose for demuxing RTP packets, I think it is ok that one has to wait for the SDP answer in order to figure out all information needed (e.g. the SSRC value used by the remote sender), and to possibly drop media that is received before the SDP answer is received.

In theory this could cause clipping problem, but at least my experience is that it's not a problem in reality, the reason being that the SDP answer if often sent (e.g. in a SIP 18x response) well before the remote media.

Regards,

Christer

From: rtcweb-bounces@ietf.org [mailto:rtcweb-bounces@ietf.org] On Behalf Of Kevin Dempsey
Sent: 20. toukokuuta 2013 11:54
To: Emil Ivov
Cc: rtcweb@ietf.org
Subject: Re: [rtcweb] A problem with both A and B

I would say that at present only the sending application knows what a stream is for. The receiving side needs to determine the purpose by matching the RTP packets to the signalling the applications have done.

In unbundled situations this is easy as the port it arrives on makes it obvious. In bundled cases, you would have to ensure the receiver knows some unique property of the RTP *before* it arrives. The best thing would be for the receiver to pick an identifier which, having been signalled in the offer to the sender, is included in every RTP packet (in a RTP extension header).

Relying on SSRC signalling would mean that RTP sent before the SSRC identity arrives would not be handled consistently with RTP arriving after the SSRC identity.

On 17 May 2013 17:04, Emil Ivov <emcho@jitsi.org<mailto:emcho@jitsi.org>> wrote:
I've mentioned this in a couple of other threads but I think it's
important so I am also posting it separately.

Both plan A and B currently describe semantics that would require O/A
exchanges every time a source is added or removed from a session.

Whether it is about adding a second webcam, or a conference participant
that leaves or joins, both schemes suggest that the remote party should
be notified with an updated SDP.

Plan A deals with this by manipulating m= lines, while plan B does it
with msid-s.

We are nowhere near consensus and I think that this fact alone is a
strong argument in favour of the following:

This is not a problem for rtcweb to solve.

We all have our own preferences for a solution and those come from the
different use cases we are planning on addressing and the different apps
we are planning to build. The promise of WebRTC is that, by building on
the Web paradigm we would provide building blocks which can then be
assembled into specific solutions (rather than providing the solutions
themselves).

In other words: it is not our job to try and implant a signalling
protocol into O/A. Signalling is the job of the application.

Applications alone know the meaning of the stream that came from your
second web cam, or that of the tenth conference participant. They know
which conferencing topology they most care about. They have best
knowledge about what streams they are currently rendering and which ones
they don't need. They know that the names Adam and Justin should be
displayed to describe the streams they are currently getting.

Most importantly however: they are best placed to know how they'd like
to communicate that information to their peers or IF they need to
communicate it at all.

Currently neither Plan A nor Plan B would let the application do its
job. However I do believe Plan B is closer.

If we agree that browsers would give applications the latitude that's
necessary to address these issues with app specific signalling, then the
SDP shouldn't change when they are doing it. Plan B is almost there and
the only remaining problem is its insistence on the pre-announcement of
SSRCs.

If we get rid of that requirement then all we need would be for the W3C
to make sure that the APIs have everything they need to allow apps to
retrieve SSRC information, send it remotely then pass it down to the
browser again when they receive it.

I acknowledge that the simulcasting and FEC cases might be a bit
different, which is normal because they are about the resolution of
transport problems. I still think they could be solved with app-specific
signalling and the proper APIs but in this case it would also be worth
investigating the options of doing this through RTP/RTCP.

Does any of this make any sense?

Emil

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