Re: [rtcweb] Add, remove, add, remove, add, remove a media stream (lines in SDP)

Iñaki Baz Castillo <ibc@aliax.net> Mon, 23 April 2012 08:33 UTC

Return-Path: <ibc@aliax.net>
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 72A7C21F8642 for <rtcweb@ietfa.amsl.com>; Mon, 23 Apr 2012 01:33:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.631
X-Spam-Level:
X-Spam-Status: No, score=-2.631 tagged_above=-999 required=5 tests=[AWL=0.046, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_LOW=-1]
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 EwJIWIKc3Wvy for <rtcweb@ietfa.amsl.com>; Mon, 23 Apr 2012 01:33:04 -0700 (PDT)
Received: from mail-vx0-f172.google.com (mail-vx0-f172.google.com [209.85.220.172]) by ietfa.amsl.com (Postfix) with ESMTP id 7E80721F863E for <rtcweb@ietf.org>; Mon, 23 Apr 2012 01:33:04 -0700 (PDT)
Received: by vcbfo1 with SMTP id fo1so4700232vcb.31 for <rtcweb@ietf.org>; Mon, 23 Apr 2012 01:33:04 -0700 (PDT)
X-Google-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:content-transfer-encoding:x-gm-message-state; bh=qdzrvIKpKHv18su70j6bByYGvLvuXBLphnZaxqH/gTY=; b=ONIFEfEH8ut/t1JKCwayc0TC6zJiH/tpd8cMOzvend/iS7MIw0ERnsdh+R7oYcGw5+ 0N4e4DfzkdQWoTz9tXX7DW4j9ttl/B6vUZK4qO5SINKRkbX/sqe3dyWqD+K+otk8RoDC yfHRof5YLhRHQLnmrIgEpaaYO4sOsl26+u7A8Tyu9b1hNiDb2l7qX5kjz0w/jNSx71C8 15m1VFACdK+gyfjEGCqsfbkXalTlJ8sJkXiB49rsww4mDzTtoELhZlZGJfZ5ef6R0gtY qfE7iAdcExcE7lJO61F/DgAtkfDc2nryAZxVpqXjMwsQ+2fEnxlic6gdDYD3YWp7ln6w AVtA==
Received: by 10.52.64.173 with SMTP id p13mr10628009vds.51.1335169983777; Mon, 23 Apr 2012 01:33:03 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.170.165 with HTTP; Mon, 23 Apr 2012 01:32:43 -0700 (PDT)
In-Reply-To: <4F951221.1050700@jesup.org>
References: <CALiegfkBFNv6emEg6gkxV+iPkx52rUwn+qcyEjk2r4iDYEXrAA@mail.gmail.com> <7F2072F1E0DE894DA4B517B93C6A05852C4400131A@ESESSCMS0356.eemea.ericsson.se> <4F951221.1050700@jesup.org>
From: =?UTF-8?Q?I=C3=B1aki_Baz_Castillo?= <ibc@aliax.net>
Date: Mon, 23 Apr 2012 10:32:43 +0200
Message-ID: <CALiegf=2_RwCFd0ecddah_tQ05y5vKc0Et7oOhk_fOc0XzgMsA@mail.gmail.com>
To: Randell Jesup <randell-ietf@jesup.org>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Gm-Message-State: ALoCoQk2Hug31wJl2pCC9vBAsxI3zukjbNq4nH7dNUHWsmM+9p4252A0SFXw4jW7GvkrxWvfPyV/
Cc: rtcweb@ietf.org
Subject: Re: [rtcweb] Add, remove, add, remove, add, remove a media stream (lines in SDP)
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, 23 Apr 2012 08:33:07 -0000

2012/4/23 Randell Jesup <randell-ietf@jesup.org>rg>:
> Exactly - m-lines can't be removed, but they can be re-used -

> and the critical point is that the port doesn't have to match the previous port.

Definitely I need a coffee. No idea why I assumed that the same port
should be re-used. So things become easier:

- Reuse the same m-line.
- Set port to zero when disabling the stream and free resources.
- Allocate a new port when re-enabling it and write the new port in the m-line.

Sorry, I was creating a non existing issue.



-- 
Iñaki Baz Castillo
<ibc@aliax.net>