Re: [rtcweb] Terminate or Reject streams by setting port to zero in SDP

Harald Alvestrand <harald@alvestrand.no> Fri, 20 July 2012 05:38 UTC

Return-Path: <harald@alvestrand.no>
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 C285021F84EE for <rtcweb@ietfa.amsl.com>; Thu, 19 Jul 2012 22:38:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -110.141
X-Spam-Level:
X-Spam-Status: No, score=-110.141 tagged_above=-999 required=5 tests=[AWL=0.458, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, USER_IN_WHITELIST=-100]
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 8UufjKCNXudn for <rtcweb@ietfa.amsl.com>; Thu, 19 Jul 2012 22:38:29 -0700 (PDT)
Received: from eikenes.alvestrand.no (eikenes.alvestrand.no [158.38.152.233]) by ietfa.amsl.com (Postfix) with ESMTP id 124E221F848B for <rtcweb@ietf.org>; Thu, 19 Jul 2012 22:38:29 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by eikenes.alvestrand.no (Postfix) with ESMTP id 6146E39E179 for <rtcweb@ietf.org>; Fri, 20 Jul 2012 07:39:22 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at eikenes.alvestrand.no
Received: from eikenes.alvestrand.no ([127.0.0.1]) by localhost (eikenes.alvestrand.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2ghpk+iT1syh for <rtcweb@ietf.org>; Fri, 20 Jul 2012 07:39:21 +0200 (CEST)
Received: from [IPv6:2001:470:de0a:27:221:6aff:fe8f:cf14] (unknown [IPv6:2001:470:de0a:27:221:6aff:fe8f:cf14]) by eikenes.alvestrand.no (Postfix) with ESMTPSA id 58FC239E091 for <rtcweb@ietf.org>; Fri, 20 Jul 2012 07:39:21 +0200 (CEST)
Message-ID: <5008EF08.6080803@alvestrand.no>
Date: Fri, 20 Jul 2012 07:39:20 +0200
From: Harald Alvestrand <harald@alvestrand.no>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1
MIME-Version: 1.0
To: rtcweb@ietf.org
References: <CABw3bnMTAh6_fWEE-p8k2kd6kD=y+s3XVNWdA_rCBYs6OzA=jQ@mail.gmail.com>
In-Reply-To: <CABw3bnMTAh6_fWEE-p8k2kd6kD=y+s3XVNWdA_rCBYs6OzA=jQ@mail.gmail.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 8bit
Subject: Re: [rtcweb] Terminate or Reject streams by setting port to zero 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: Fri, 20 Jul 2012 05:38:29 -0000

On 07/17/2012 07:35 AM, José Luis Millán wrote:
> Hi,
>
> Offer/Answer Model with Session Description Protocol states that a
> stream can be terminated or rejected by setting the port to zero in
> the Offer/Answer SDP respectively.
>
> How can this be achieved with PeerConnection?
Terminating a stream: Remove all references to the stream in the SDP 
"msid" attributes.

draft-alvestrand-rtcweb-msid-02 section 4.

Rejecting a stream: draft-westerlund-avtext-rtp-stream-pause-02 suggests 
one way to do this (I have not reviewed it).

Note: An m-line (the entity in SDP that carries the port number) does 
NOT correspond to a WebRTC MediaStream.

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