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:03 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 0E32A21F85E3 for <rtcweb@ietfa.amsl.com>; Mon, 23 Apr 2012 01:03:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.339
X-Spam-Level:
X-Spam-Status: No, score=-2.339 tagged_above=-999 required=5 tests=[AWL=-0.262, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, J_CHICKENPOX_18=0.6, 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 SQj+ZgKZJw2f for <rtcweb@ietfa.amsl.com>; Mon, 23 Apr 2012 01:03:56 -0700 (PDT)
Received: from mail-vb0-f44.google.com (mail-vb0-f44.google.com [209.85.212.44]) by ietfa.amsl.com (Postfix) with ESMTP id A928421F851D for <rtcweb@ietf.org>; Mon, 23 Apr 2012 01:03:56 -0700 (PDT)
Received: by vbbez10 with SMTP id ez10so9211074vbb.31 for <rtcweb@ietf.org>; Mon, 23 Apr 2012 01:03:56 -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=xhF2IeVJM4HASV/jhoNlvw7jdFc3XPQvgLVzCFrIqyU=; b=D/ZbO9T2eOfs/Dpt1s4oZO/O3RurKtUpPHeLW+o6r2qE5pPVeVAQo3D9Y2FMxvIekU DLrqtrExe+DHByXkG+hkVv8EfOnI/3xeovPrxxYrDiXceUMgowGT1Ih64OIbMaUaaBKv 61pzlIdy3+VAbao20+Gf0EcME43GkKtK14VGNBXD4b7hmgD0uyGGFziQ0ZYUN0gRqWUk w87wH+iPBl6fFuRoGSPJWU9dBkCmj7MGQ0QLX95s4jyec1b/ETAnXE7BorxMuH1lHv+u YRXZa6UpsoGKTDPA5QDeJa4cuLV8HyCCkh2LKAJkHIDdcCmIlRwOjm4DS5k/z9SAeUZ0 vIFg==
Received: by 10.52.64.173 with SMTP id p13mr10570165vds.51.1335168236108; Mon, 23 Apr 2012 01:03:56 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.170.165 with HTTP; Mon, 23 Apr 2012 01:03:34 -0700 (PDT)
In-Reply-To: <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> <5D37D3F0-9A1C-4116-9A19-47E5A8929F71@ag-projects.com>
From: Iñaki Baz Castillo <ibc@aliax.net>
Date: Mon, 23 Apr 2012 10:03:34 +0200
Message-ID: <CALiegfmZNMjeLWjvS-7iAABCvRfoq8WeZ83ap2e7nmUzT5-07g@mail.gmail.com>
To: Saúl Ibarra Corretgé <saul@ag-projects.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Gm-Message-State: ALoCoQmLou4R7Jyw0s7GxQWn5wsqa8ltkVXDdC4Z0ecqPNFENGKSi22tki0k8ODXXfveSGM/HVui
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 08:03:58 -0000

2012/4/23 Saúl Ibarra Corretgé <saul@ag-projects.com>:
> On Apr 23, 2012, at 9:29 AM, Iñaki Baz Castillo wrote:
>> 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.

The stack could try to allocate the same port as default bahavior.



> Were you thinking about setting the stream as inactive (a=inactive in SDP terms) instead?

But setting a=inactive just pauses the stream in a single direction
(according to RFC 4566). You could be interested in stopping sending
and receiving video.





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