Re: [MMUSIC] Remove msid-semantic

Magnus Westerlund <magnus.westerlund@ericsson.com> Tue, 21 April 2015 09:31 UTC

Return-Path: <magnus.westerlund@ericsson.com>
X-Original-To: mmusic@ietfa.amsl.com
Delivered-To: mmusic@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 647DE1A1B79 for <mmusic@ietfa.amsl.com>; Tue, 21 Apr 2015 02:31:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.201
X-Spam-Level:
X-Spam-Status: No, score=-4.201 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] autolearn=ham
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 01nmmNdSCq3x for <mmusic@ietfa.amsl.com>; Tue, 21 Apr 2015 02:31:34 -0700 (PDT)
Received: from sesbmg22.ericsson.net (sesbmg22.ericsson.net [193.180.251.48]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4C5BB1A0068 for <mmusic@ietf.org>; Tue, 21 Apr 2015 02:31:34 -0700 (PDT)
X-AuditID: c1b4fb30-f79996d000006ebb-22-553618f4b563
Received: from ESESSHC013.ericsson.se (Unknown_Domain [153.88.253.124]) by sesbmg22.ericsson.net (Symantec Mail Security) with SMTP id 55.72.28347.4F816355; Tue, 21 Apr 2015 11:31:32 +0200 (CEST)
Received: from [127.0.0.1] (153.88.183.153) by smtp.internal.ericsson.com (153.88.183.59) with Microsoft SMTP Server id 14.3.210.2; Tue, 21 Apr 2015 11:31:32 +0200
Message-ID: <553618F3.1050109@ericsson.com>
Date: Tue, 21 Apr 2015 11:31:31 +0200
From: Magnus Westerlund <magnus.westerlund@ericsson.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: Harald Alvestrand <harald@alvestrand.no>, Martin Thomson <martin.thomson@gmail.com>
References: <CABkgnnX0xS_y-2O5kn=pfH-=VsRq=sxYdXikyvc2iQTca-G_hw@mail.gmail.com> <5517AAE4.5070800@alvestrand.no> <CABkgnnVtNrBFjQtNNEUne3RfRFbjXDeGxzXYB3CtDwZfo3=8Gw@mail.gmail.com> <551A63D2.1030006@ericsson.com> <CABkgnnXHBTUtWjSEKY6_Dhcq9mCLZsUtoNLo2qnBy_HVrVi47w@mail.gmail.com> <552E6A92.4020801@alvestrand.no>
In-Reply-To: <552E6A92.4020801@alvestrand.no>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrHLMWRmVeSWpSXmKPExsUyM+Jvje4XCbNQg0VH1C2O9XWxWVw784/R YuryxywOzB5XJlxh9dg56y67x5IlP5kCmKO4bFJSczLLUov07RK4MtrmbGYueKJY8fXjJ6YG xtlSXYycHBICJhI/m08yQthiEhfurWfrYuTiEBI4yihx9uQ5FghnOaNE+5fvYFW8AtoSDe13 mEBsFgFViTezz4HF2QQsJG7+aGQDsUUFoiQmfj3EAlEvKHFy5hMwW0QgUmLtwnfsXYwcHMwC 6hJXFweBhIUFtCQm9U6F2rWHSaJ7wWJ2kASngK7En6tzWCHqNSXW79IHCTMLyEs0b53NDGIL gZzT1ME6gVFwFpJtsxA6ZiHpWMDIvIpRtDi1OCk33chIL7UoM7m4OD9PLy+1ZBMjMIAPbvlt sIPx5XPHQ4wCHIxKPLwK601DhVgTy4orcw8xSnOwKInz2hkfChESSE8sSc1OTS1ILYovKs1J LT7EyMTBKdXAOOFwsl4vs3Y2h1fpLSMuvVO6lhOO7VT8+X/5K3XjvbsU6zIen56aGHdAJDzJ cHeH+M/2PUl8nYvFSkPmcv+QaGX4UvWG93lBl4SLDPfuz4osVv9lvn9aKLTMPOXbrgPv65aX fzyZtrJgThDL92h77oa1DQ7P6ntzUr4LPOMp3auVvi/LWvK5EktxRqKhFnNRcSIAl40vRUEC AAA=
Archived-At: <http://mailarchive.ietf.org/arch/msg/mmusic/NwyvrzJ2o_LkfSGBbRq4184xYYI>
Cc: "mmusic@ietf.org" <mmusic@ietf.org>
Subject: Re: [MMUSIC] Remove msid-semantic
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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, 21 Apr 2015 09:31:36 -0000

Hi Harald,


Harald Alvestrand skrev den 2015-04-15 15:41:
> OK, here is how the section on handing unsignalled tracks looks when
> I've removed msid-semantic.
> 
> Note that depending on exactly how we do early media, this may cause
> trouble in delivering it.
> 
> 3.1.  Handling of non-signalled tracks
> 
>    Entities that do not use msid will not send msid.  This means that
>    there will be some incoming RTP packets that the recipient has no
>    predefined MediaStream id value for.
> 
>    Note that this handling is triggered by incoming RTP packets, not by
>    SDP negotiation.
> 
>    When MSID is used, the only time this can happen is when, at a time
>    subsequent to the initial negotiation, a negotiation is performed
>    where the answerer adds a MediaStreamTrack to an already established
>    connection and starts sending data before the answer is received by
>    the offerer.  For initial negotiation, packets won't flow until the
>    ICE candidates and fingerprints have been exchanged, so this is not
>    an issue.
> 
>    The recipient of those packets will perform the following steps:
> 
>    o  When RTP packets are initially received, it will create an
>       appropriate MediaStreamTrack based on the type of the media
>       (carried in PayloadType), and use the mid RTP attribute (if
>       present) to associate the RTP packets with a specific media
>       section.  If the connection is not in the RTCSignalingState
>       "stable", it will wait at this point.
> 
>    o  When the connection is in the RTCSignalingState "stable", it will
>       look at the relevant media section to find the msid attribute.
> 
>    o  If there is an msid attribute, it will use that attribute to
>       populate the "id" field of the MediaStreamTrack and associated
>       MediaStreams, as described above.
> 
>    o  If there is no msid attribute, the identifier of the
>       MediaStreamTrack will be set to a randomly generated string, and
>       it will be signalled as being part of a MediaStream with the
>       WebIDL "label" attribute set to "Non-WebRTC stream".
> 
>    o  After deciding on the "id" field to be applied to the
>       MediaStreamTrack, the track will be signalled to the user.
> 
>    The process above may involve a considerable amount of buffering
>    before the stable state is entered, If the implementation wishes to
>    limit this buffering, it MUST send a "mediadiscarded" event to the
>    user, as described in [????].

I think there are two aspects of the buffering here that may need a bit
more discussion. So one buffers to ensure that one have a good media
encoding entry point. However, in most cases one can't really play out
all the buffered media, unless one can play it at faster than real-time.
Video fairly simple, audio a bit trickier, especially if one likes to
catch up quickly with the minimal delay point. Thus, one either miss
media or may end up with a significant time delay that take time to
drain. Catching up is also resource demanding as one must be able to
decode faster than real-time.

Based on this, I wonder if you there need to be clearer recommendations
what to do. For example if I discard up until the last receiver media
entry point available, should I then send mediadiscarded event? Is the
application happier if I play from start and then spend 15 seconds
catching up? How do we know which behaviour an application prefer here?

Maybe the issue and possible strategies should be highlighted, and
further note that application may want to ensure that signalling has
concluded before sending media.

I am not happy to have to go into detail here, but it also looks like
this will be one pile of inconsistent behaviour between implementations.

Cheers

Magnus Westerlund

----------------------------------------------------------------------
Services, Media and Network features, Ericsson Research EAB/TXM
----------------------------------------------------------------------
Ericsson AB                 | Phone  +46 10 7148287
Färögatan 6                 | Mobile +46 73 0949079
SE-164 80 Stockholm, Sweden | mailto: magnus.westerlund@ericsson.com
----------------------------------------------------------------------