Re: [MMUSIC] draft-ietf-mmusic-msid-16 is out of sync with WebRTC 1.0

Taylor Brandstetter <deadbeef@google.com> Tue, 12 September 2017 18:30 UTC

Return-Path: <deadbeef@google.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 031B3132ED1 for <mmusic@ietfa.amsl.com>; Tue, 12 Sep 2017 11:30:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, 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=google.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 Go0vh4a64fIr for <mmusic@ietfa.amsl.com>; Tue, 12 Sep 2017 11:30:49 -0700 (PDT)
Received: from mail-wm0-x233.google.com (mail-wm0-x233.google.com [IPv6:2a00:1450:400c:c09::233]) (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 05A18126B6D for <mmusic@ietf.org>; Tue, 12 Sep 2017 11:30:49 -0700 (PDT)
Received: by mail-wm0-x233.google.com with SMTP id i189so1469458wmf.1 for <mmusic@ietf.org>; Tue, 12 Sep 2017 11:30:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=PRu9ox2RUeDtP3biyQ6UA3s7VP562XmvsB4Ta+f1YT4=; b=qMVh+OrwX0Qu8+VKmQnXPnjEYmoowmiQYvT7QbJzJLCyJyCaoAG1NOo/TCdkM2ekTQ M+EXKvVkpg/Cz83ip92U0o6XNOYMK6AyEqR42la74lcbkPgRErba51C+8nE4lgzLVnAh OgTFLoVc3G2PcF+FWmxP82XLyXSOU9o/np9V1L+PpfM56mhMszYEhhZwurtxMgQs8YwO v9ISDHhzAqyttIwmpej065ja2ceyfivKfwexoDXhJK2VNzbTF/IcpnDbpwcy7yb97UoX g13gAb+F0CDA+qbsN3P0yK8hQjmg7Gtf/zivAcUsGGIh1LZsPckjSOvJdy7F5c8JgCDg c3ag==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=PRu9ox2RUeDtP3biyQ6UA3s7VP562XmvsB4Ta+f1YT4=; b=Uztb6Zv/Rqk8DCiUe8IedXkPnptzjqPqx3+IFGqWAkq4YUGKwYV4EfvRMXMnnJARCm upvSXC2YVu2z29GUZv/SlVoJNzQ2l9uCzApsFql2rUo7mYGpQ/Dd6G9N1PenbOAn7gzp kE/xojvqMmcO6KzQjLTIqtMxXcGquZ2ITsJysGrL/ect0fJY6GpbnGxxii/zw86UcNfb mhLIKYSJT4fVsRzLyFahaYyiMkN09kKiSfZZ4+O+8D7YXWJxKXfYkgHSczc91hsBljhr zHqQcmFENdnA7GgFojvNVdUGX2OHkdx3QkZXQsPwu384zfXt3CuzR6fYp7CvM3hh3g3U r4HA==
X-Gm-Message-State: AHPjjUgYClLviphKFOg+cx7xJ+aUOU2NYKlaFdig6RcE5pJ62gt5tOAK TcnsXKF9PXlJuzoWtahAd6dQUC60y+TA
X-Google-Smtp-Source: AOwi7QCpkFJJnyCotO+7vACPbfJmL3phhqxdKOdtHCe41L90nlZgIZZ52xysso7yHZMMQtPpFSQLWzAYhwSdlKT3XS8=
X-Received: by 10.28.145.11 with SMTP id t11mr355623wmd.66.1505241047142; Tue, 12 Sep 2017 11:30:47 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.154.54 with HTTP; Tue, 12 Sep 2017 11:30:46 -0700 (PDT)
In-Reply-To: <F7765CFE-01FA-4788-B06F-EBB93C14BE2D@iii.ca>
References: <CAK35n0ZYsjMTGGajpHuzg2_ARvG_V=PMbAPVgWZ9gHu_SMU7BA@mail.gmail.com> <CAK35n0bjyvcBOJBxec2oCkEXRRuGrY-FwhLf4cYXas2HfqB9Hw@mail.gmail.com> <7594FB04B1934943A5C02806D1A2204B4CCADFB5@ESESSMB109.ericsson.se> <F7765CFE-01FA-4788-B06F-EBB93C14BE2D@iii.ca>
From: Taylor Brandstetter <deadbeef@google.com>
Date: Tue, 12 Sep 2017 11:30:46 -0700
Message-ID: <CAK35n0bHg556nKqYiM4UXBU6RXEKqy=rouPmx723vw+FjzKJRw@mail.gmail.com>
To: Cullen Jennings <fluffy@iii.ca>
Cc: Christer Holmberg <christer.holmberg@ericsson.com>, mmusic WG <mmusic@ietf.org>
Content-Type: multipart/alternative; boundary="001a1146a0f6eb2eb40559023d7a"
Archived-At: <https://mailarchive.ietf.org/arch/msg/mmusic/uYu-_t2zejb_NlKEG7Qv4wKSJ_M>
Subject: Re: [MMUSIC] draft-ietf-mmusic-msid-16 is out of sync with WebRTC 1.0
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.22
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: Tue, 12 Sep 2017 18:30:51 -0000

>
> yes, webrtc ends up with the track from A to B and B to A having different
> track IDs


That's not what I'm talking about. I'm talking about the track ID in the
remote description not matching the ID of the remote MediaStreamTrack.

Maybe a detailed example will make this more clear:

   1. Endpoint A ("Alice") creates PeerConnection, adds track to it.
   Suppose this track's ID is "trackA".
   2. RTCRtpTransceiver is created, along with an RTCRtpReceiver that has a
   track with a randomly generated ID. Let's call it "generatedA".
   3. Endpoint B ("Bob") does the same thing; suppose they added a track
   with ID "trackB", and a remote track was created with ID "generatedB".
   4. Alice creates offer, signals to Bob.
   5. Bob applies remote description. The SDP contains "a=msid:streamA
   trackA", but Bob's remote track ("generatedB") already exists. So it just
   gets added to a stream, and the ID "trackA" gets ignored.
   6. Bob creates answer, signals to Alice.
   7. Same thing. The SDP contains "a=msid:streamB trackB", but the track
   ("generatedA") already exists and the ID "trackB" is ignored.

The MSID draft clearly doesn't align with this. It assumes a track is
always created when a new track ID is seen in SDP.


On Tue, Sep 12, 2017 at 6:52 AM, Cullen Jennings <fluffy@iii.ca> wrote:

> >
> > In the current state of WebRTC 1.0, track IDs are not guaranteed to be
> symmetrical between the sending and receiving PeerConnection. This is
> because "addTrack" not only creates an RtpSender, but a whole
> RtpTransceiver, which has an RtpReceiver, which has a MediaStreamTrack with
> a generated ID. So if "addTrack" is called, and a remote description is set
> later, it's the MID that correlates the "m=" section with the track, not
> the track ID, and the track ID in SDP is effectively ignored.
>
> I'm not following the problem here ... yes, webrtc ends up with the track
> from A to B and B to A having different track IDs but the msid draft
> clearly allows the offer and answer to have different app data in the MSID
> line. What's the issue on this?
>
>
> PS - As side note, I've argued since before 2013 that we did not need to
> signal track ID in SDP but I think that train left the station long ago and
> I'd rather not change it at this point. The mostly compelling argument I
> recall on why we need this was hangouts uses it.
>
>
>