Re: [rtcweb] draft-ietf-rtcweb-jsep-05 - Recycling m-lines

Justin Uberti <juberti@google.com> Mon, 04 November 2013 07:09 UTC

Return-Path: <juberti@google.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 D00FA21E80A7 for <rtcweb@ietfa.amsl.com>; Sun, 3 Nov 2013 23:09:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.009
X-Spam-Level:
X-Spam-Status: No, score=-1.009 tagged_above=-999 required=5 tests=[AWL=-0.698, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NO_RELAYS=-0.001, SARE_HTML_USL_OBFU=1.666]
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 Euzc9PZjbKXV for <rtcweb@ietfa.amsl.com>; Sun, 3 Nov 2013 23:09:32 -0800 (PST)
Received: from mail-ve0-x235.google.com (mail-ve0-x235.google.com [IPv6:2607:f8b0:400c:c01::235]) by ietfa.amsl.com (Postfix) with ESMTP id 2306E21E8141 for <rtcweb@ietf.org>; Sun, 3 Nov 2013 23:09:31 -0800 (PST)
Received: by mail-ve0-f181.google.com with SMTP id jz11so1198733veb.12 for <rtcweb@ietf.org>; Sun, 03 Nov 2013 23:09:30 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=Taj12usrNAbwAb2aaWdQgBfmodOsINJNMjO7Q/rcx0E=; b=UkXjp3o+9NLFeTGinoEu39Q2TLoLnhUIf538DhWVqdg7iESAZAkCg7e0N3c5I01g5r 1+HZ9/nJDpksT+SEcpF9KsOxPwlhnjxESLUZjmAsHcvibXVbNKe3Hc3v4Z3BUIua92JI qKHM8wL9veNExC5CJVn6OyW1wLX/E6HneUmuC1FN9pjtPFBPCc4DjVBzIPbMgQxBjCPv UilohsDR9WQPGQ8ZpqIlJ5w/ZdV9u7QkY9Z5B0aRJAY9zhnxW0904kwUQ6RR9tKbmZ6A uRxLSD2nHEM4wufxQnvaWGeCLlSpwQE3wTdkpu2ZVVQododpSk0hBWVkpRS7CaEgB185 0yXw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=Taj12usrNAbwAb2aaWdQgBfmodOsINJNMjO7Q/rcx0E=; b=My6Ufl9v+Nk10lzLnc1zpwVd35PlcQ6dvLTa+7OTJwx+q8mU4WDu6ZOSS3YOjzcdUL +YSZZdQCIH0k0m3EBYTUmQK56fO5NjZbHEyyfG99vqQ0QF1kzEAWL4r0QGbdXlPMAkp2 Ycr7GlA9JuRt8vXu5704qQJAPCYgnAeb+4V6smwTNs/xzIYCk/IBVs/6+Zf0MrO7Ln3C 3MS9VTca5HyvHJDKGOixInj5oWUj8Li9lJIItKMYiTjI6Q19PqqkdG/p3KSOiSU4z3Co VCKbRo1lqlvx95fTWCbEpmjTYD6XEROzqs90MccYpBkSZ4TzcTB2j7bBJWAuVVIhJGHY Luzg==
X-Gm-Message-State: ALoCoQkVcTsQ5PdhOUE973J/I+Ad6UF6PMdADV0Gak0+vzQKoOLsGaBLLXmlH310gB77REAMjpESR9HPPQWsaPAmytaMUZyJ9X0Rd9TLD2MxZgcZ6Z+1Ji4bEn5kLo7m0Scdn0vbgxWe4F1o+TCKwF8NMrrZA8aBFX0XZhyE7YiHJrtHSbQHgA4/ENtFbxPcNvG2ZNh2Ktzo
X-Received: by 10.221.39.195 with SMTP id tn3mr10235519vcb.2.1383548970376; Sun, 03 Nov 2013 23:09:30 -0800 (PST)
MIME-Version: 1.0
Received: by 10.52.110.101 with HTTP; Sun, 3 Nov 2013 23:09:10 -0800 (PST)
In-Reply-To: <527420FF.2@alum.mit.edu>
References: <527420FF.2@alum.mit.edu>
From: Justin Uberti <juberti@google.com>
Date: Sun, 03 Nov 2013 23:09:10 -0800
Message-ID: <CAOJ7v-2OjY0UYgDPk2WRLodKUYLytKGtV8HL84NujKfy64q7RQ@mail.gmail.com>
To: Paul Kyzivat <pkyzivat@alum.mit.edu>
Content-Type: multipart/alternative; boundary="001a113375c2e8b9cb04ea5498ff"
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>
Subject: Re: [rtcweb] draft-ietf-rtcweb-jsep-05 - Recycling m-lines
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, 04 Nov 2013 07:09:33 -0000

On Fri, Nov 1, 2013 at 2:45 PM, Paul Kyzivat <pkyzivat@alum.mit.edu> wrote:

> Section 5.2.2 (Subsequent Offers) says:
>
>    o  If a m= section was rejected, i.e. has had its port set to zero in
>       either the local or remote description, it MUST remain rejected
>       and have a zero port in the new offer, as indicated in RFC3264,
>       Section 5.1.
>
> That 3264 reference is to a section about the initial offer, and so is
> irrelevant to the case. The relevant section is:
>
>    8.1 Adding a Media Stream
>
>    New media streams are created by new additional media descriptions
>    below the existing ones, or by reusing the "slot" used by an old
>    media stream which had been disabled by setting its port to zero.
>
> IOW, previously rejected m-lines may be recycled.
>

Right you are.

>
> Later in 5.2.2:
>
>    o  If a m= section exists in the current local description, but has
>       its state set to inactive or recvonly, and a new MediaStreamTrack
>       is added, the previously existing m= section MUST be recycled
>       instead of creating a new m= section.  [OPEN ISSUE: Nail down
>       exactly what this means.  Should the codecs remain the same?
>       (No.)  Should ICE restart?  (No.)  Can the "a=mid" attribute be
>       changed?  (Yes?)]
>
> This seems to assume that there is no existing MediaStreamTrack for these
> m-lines.
>
> Yes. The text should state that more clearly.


> If there is, then
> - the m-line shouldn't be recycled.
> If there isn't, then
> - where do its address and port come from?
> - what is managing the RTCP?
>

The m= section will still have completed ICE negotiation, despite being
marked as inactive. So the address/port information should already be
present.

I don't follow your question about who is managing RTCP.

>
>         Thanks,
>         Paul
>
> _______________________________________________
> rtcweb mailing list
> rtcweb@ietf.org
> https://www.ietf.org/mailman/listinfo/rtcweb
>