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

Saúl Ibarra Corretgé <saul@ag-projects.com> Mon, 23 April 2012 07:41 UTC

Return-Path: <saul@ag-projects.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 F124121F854D for <rtcweb@ietfa.amsl.com>; Mon, 23 Apr 2012 00:41:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.655
X-Spam-Level:
X-Spam-Status: No, score=-1.655 tagged_above=-999 required=5 tests=[AWL=0.033, BAYES_00=-2.599, HELO_MISMATCH_NET=0.611, MIME_8BIT_HEADER=0.3]
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 AdrDBa3lZk1S for <rtcweb@ietfa.amsl.com>; Mon, 23 Apr 2012 00:41:30 -0700 (PDT)
Received: from mail.sipthor.net (node06.dns-hosting.info [85.17.186.6]) by ietfa.amsl.com (Postfix) with ESMTP id 5AD0721F8547 for <rtcweb@ietf.org>; Mon, 23 Apr 2012 00:41:30 -0700 (PDT)
Received: by mail.sipthor.net (Postfix, from userid 5001) id F0C70B01B4; Mon, 23 Apr 2012 09:41:28 +0200 (CEST)
Received: from imac.saghul.lan (ip3e830637.speed.planet.nl [62.131.6.55]) by mail.sipthor.net (Postfix) with ESMTPSA id 9CD68B019C; Mon, 23 Apr 2012 09:41:26 +0200 (CEST)
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset="iso-8859-1"
From: Saúl Ibarra Corretgé <saul@ag-projects.com>
In-Reply-To: <CALiegfnDOFipBMK1DU=G5RUH0sHDDcL0C+smwJqRmazJB_xdJg@mail.gmail.com>
Date: Mon, 23 Apr 2012 09:41:26 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <5D37D3F0-9A1C-4116-9A19-47E5A8929F71@ag-projects.com>
References: <CALiegfkBFNv6emEg6gkxV+iPkx52rUwn+qcyEjk2r4iDYEXrAA@mail.gmail.com> <7F2072F1E0DE894DA4B517B93C6A05852C4400131A@ESESSCMS0356.eemea.ericsson.se> <CALiegfnDOFipBMK1DU=G5RUH0sHDDcL0C+smwJqRmazJB_xdJg@mail.gmail.com>
To: Iñaki Baz Castillo <ibc@aliax.net>
X-Mailer: Apple Mail (2.1084)
Cc: "rtcweb@ietf.org" <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 07:41:32 -0000

Hi,

On Apr 23, 2012, at 9:29 AM, Iñaki Baz Castillo wrote:

> 2012/4/23 Christer Holmberg <christer.holmberg@ericsson.com>:
>> Hi,
>> 
>> I see no reason why you couldn't release resources when you disable media (read: set port to zero), but still re-use the associated m- line later.
> 
> Maybe the previosly used UDP port is not available later. Probably
> there are no more reasons :)
> 

But when you disabled the stream you did set the port to zero, so when you resurrect the stream you'd allocate a new port. Were you thinking about setting the stream as inactive (a=inactive in SDP terms) instead?

--
Saúl Ibarra Corretgé
AG Projects