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

Cullen Jennings <fluffy@iii.ca> Wed, 13 September 2017 03:34 UTC

Return-Path: <fluffy@iii.ca>
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 93FB0132962 for <mmusic@ietfa.amsl.com>; Tue, 12 Sep 2017 20:34:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.701
X-Spam-Level:
X-Spam-Status: No, score=-4.701 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 Qvb7zcJV9OmU for <mmusic@ietfa.amsl.com>; Tue, 12 Sep 2017 20:34:50 -0700 (PDT)
Received: from smtp82.iad3a.emailsrvr.com (smtp82.iad3a.emailsrvr.com [173.203.187.82]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4543912008A for <mmusic@ietf.org>; Tue, 12 Sep 2017 20:34:50 -0700 (PDT)
Received: from smtp11.relay.iad3a.emailsrvr.com (localhost [127.0.0.1]) by smtp11.relay.iad3a.emailsrvr.com (SMTP Server) with ESMTP id 314C55568; Tue, 12 Sep 2017 23:34:47 -0400 (EDT)
X-Auth-ID: fluffy@iii.ca
Received: by smtp11.relay.iad3a.emailsrvr.com (Authenticated sender: fluffy-AT-iii.ca) with ESMTPSA id BC0A35506; Tue, 12 Sep 2017 23:34:46 -0400 (EDT)
X-Sender-Id: fluffy@iii.ca
Received: from [10.1.3.55] (d172-219-247-164.abhsia.telus.net [172.219.247.164]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:587 (trex/5.7.12); Tue, 12 Sep 2017 23:34:47 -0400
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\))
From: Cullen Jennings <fluffy@iii.ca>
In-Reply-To: <CAK35n0bHg556nKqYiM4UXBU6RXEKqy=rouPmx723vw+FjzKJRw@mail.gmail.com>
Date: Tue, 12 Sep 2017 21:34:45 -0600
Cc: Christer Holmberg <christer.holmberg@ericsson.com>, mmusic WG <mmusic@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <4D740A1E-0F86-4D41-9ABE-134B2C588AC5@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> <CAK35n0bHg556nKqYiM4UXBU6RXEKqy=rouPmx723vw+FjzKJRw@mail.gmail.com>
To: Taylor Brandstetter <deadbeef@google.com>
X-Mailer: Apple Mail (2.3259)
Archived-At: <https://mailarchive.ietf.org/arch/msg/mmusic/1xERMyBBrD4q4I9FkuHxR5aF-rY>
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: Wed, 13 Sep 2017 03:34:51 -0000

> On Sep 12, 2017, at 12:30 PM, Taylor Brandstetter <deadbeef@google.com> wrote:
> 
> Maybe a detailed example will make this more clear:
> 	• Endpoint A ("Alice") creates PeerConnection, adds track to it. Suppose this track's ID is "trackA".
> 	• RTCRtpTransceiver is created, along with an RTCRtpReceiver that has a track with a randomly generated ID. Let's call it "generatedA".
> 	• Endpoint B ("Bob") does the same thing; suppose they added a track with ID "trackB", and a remote track was created with ID "generatedB".
> 	• Alice creates offer, signals to Bob.
> 	• 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.
> 	• Bob creates answer, signals to Alice.
> 	• 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.
>  
> 

Thanks - that makes it perfectly clear. 

What I would have expected to happen in this case is when Bob applies the remote description, the trackID of that track changes from "generatedB" to "trackA". It seems like that track is being reused to now carry "trackA" and is the only way the data survives. It also mirrors what would have happened if the track was not created ahead of time and just crated by Bob applying the remote offer.