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

Kevin Dempsey <kevindempsey70@gmail.com> Mon, 20 May 2013 09:04 UTC

Return-Path: <kevindempsey70@gmail.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 D336921F89A5 for <rtcweb@ietfa.amsl.com>; Mon, 20 May 2013 02:04:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, NO_RELAYS=-0.001]
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 sa+DL8iLuhmS for <rtcweb@ietfa.amsl.com>; Mon, 20 May 2013 02:04:12 -0700 (PDT)
Received: from mail-la0-x242.google.com (mail-la0-x242.google.com [IPv6:2a00:1450:4010:c03::242]) by ietfa.amsl.com (Postfix) with ESMTP id 5380E21F93F9 for <rtcweb@ietf.org>; Mon, 20 May 2013 01:53:48 -0700 (PDT)
Received: by mail-la0-f66.google.com with SMTP id fo13so937931lab.5 for <rtcweb@ietf.org>; Mon, 20 May 2013 01:53:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=N8hQbm424a1Vx3VFFxvU32kmclMzhEFFViErE561RYM=; b=AyVsvMHJ+TWBTkyHxlqZP1cpJ+hCjaXgrRncF6j2hrR9oWFfyNaldSgvdKQnubK8JI SxdyeYgFsWnoT+qmInBEevaOmzJ5nhCRn2+FpUop5LjLReheCjZK8ft+A5CTe6RKFvA8 O4b+Q+2GhK2+RP/PB4t9HhGjuo8VFvJoUxuG7+yaaaPvRku/p9UMGqVwehogF6jdmTc8 vqD3JLOMAwt/gI102p9NS1CgKlTiHQb96Eaczj/mY6AblhUjiMB41m/4lbHwSuDtjuS6 uZIfcr58PhzO+suPRwbAYf91Z2fvmx6JBFTMcnZrf61HGZQUO+aVYuyqvMISNkWlV4Jp PwUg==
MIME-Version: 1.0
X-Received: by 10.112.63.7 with SMTP id c7mr509988lbs.5.1369040024719; Mon, 20 May 2013 01:53:44 -0700 (PDT)
Received: by 10.114.0.139 with HTTP; Mon, 20 May 2013 01:53:44 -0700 (PDT)
In-Reply-To: <51965506.7050008@jitsi.org>
References: <51965506.7050008@jitsi.org>
Date: Mon, 20 May 2013 09:53:44 +0100
Message-ID: <CAMvTgccSpdAa2F26eeRg61mLQg+ThWfHNU5xXHwz0Ap7bePxBQ@mail.gmail.com>
From: Kevin Dempsey <kevindempsey70@gmail.com>
To: Emil Ivov <emcho@jitsi.org>
Content-Type: multipart/alternative; boundary="001a11c3f03e5b56b504dd2278e0"
Cc: 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 09:04:14 -0000

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> 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
> https://www.ietf.org/mailman/listinfo/rtcweb
>