Re: [MMUSIC] RTSP questions in regards to the control channel socket
Magnus Westerlund <magnus.westerlund@ericsson.com> Mon, 17 March 2014 13:03 UTC
Return-Path: <magnus.westerlund@ericsson.com>
X-Original-To: mmusic@ietfa.amsl.com
Delivered-To: mmusic@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AB8A21A03DD for <mmusic@ietfa.amsl.com>; Mon, 17 Mar 2014 06:03:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.851
X-Spam-Level:
X-Spam-Status: No, score=-3.851 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1HtF5gaKfPoO for <mmusic@ietfa.amsl.com>; Mon, 17 Mar 2014 06:03:53 -0700 (PDT)
Received: from mailgw1.ericsson.se (mailgw1.ericsson.se [193.180.251.45]) by ietfa.amsl.com (Postfix) with ESMTP id ECA161A0110 for <mmusic@ietf.org>; Mon, 17 Mar 2014 06:03:18 -0700 (PDT)
X-AuditID: c1b4fb2d-b7f5d8e000002a7b-1d-5326f28d1a97
Received: from ESESSHC017.ericsson.se (Unknown_Domain [153.88.253.124]) by mailgw1.ericsson.se (Symantec Mail Security) with SMTP id DE.3F.10875.D82F6235; Mon, 17 Mar 2014 14:03:09 +0100 (CET)
Received: from [127.0.0.1] (153.88.183.153) by smtp.internal.ericsson.com (153.88.183.71) with Microsoft SMTP Server id 14.2.347.0; Mon, 17 Mar 2014 14:03:09 +0100
Message-ID: <5326F28C.4070504@ericsson.com>
Date: Mon, 17 Mar 2014 14:03:08 +0100
From: Magnus Westerlund <magnus.westerlund@ericsson.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
MIME-Version: 1.0
To: Craig Matsuura <cmatsuura@vivint.com>, "mmusic@ietf.org" <mmusic@ietf.org>
References: <53223DAA.4040107@vivint.com> <5322D749.8020306@ericsson.com> <532490B8.7020208@vivint.com>
In-Reply-To: <532490B8.7020208@vivint.com>
X-Enigmail-Version: 1.6
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpmluLIzCtJLcpLzFFi42KZGfG3Rrf3k1qwQetODYvdl74yW0xd/pjF gcljyZKfTB7nnl1lDWCK4rJJSc3JLEst0rdL4Mp49mQye8EE5Yop17exNDBOkuli5OSQEDCR 2PX3ODOELSZx4d56ti5GLg4hgUOMEveOPGMESQgJLGeU+HjdBsTmFdCWWHb9OSuIzSKgKrH5 xXkWEJtNwELi5o9GNhBbVCBYYueB34wQ9YISJ2c+AasREfCTmHH5NxOILSzgKzHl7Fqo+ekS 1w51gtmcAloS7z5tBqrhADpIXKKnMQgkzCygJzHlagsjhC0v0bx1NjNEq7ZEQ1MH6wRGwVlI ts1C0jILScsCRuZVjOy5iZk56eWGmxiBAXlwy2/dHYynzokcYpTmYFES5/3w1jkI6KDEktTs 1NSC1KL4otKc1OJDjEwcnFINjEaFDrF3Pps9DX7oEzVXVNPmcdrvmhkli5amHejefzZtSfky 2dZ5h0L+vdg2w6GDLcQp6vSVTc5X/hye1tq2VNPppssxB8bJAglWlmKRxZpdE9f8L2PqeHkt zPhGukDQHc75CZfOXqmM2iUc+MLkzaoa+1LWpx2Gtcl2Cd+OJ7pP/vVuzlxxayWW4oxEQy3m ouJEABDeiSIWAgAA
Archived-At: http://mailarchive.ietf.org/arch/msg/mmusic/MzcW9s1e3uyRxMiiMSPVCtm2BhY
Subject: Re: [MMUSIC] RTSP questions in regards to the control channel socket
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Multiparty Multimedia Session Control Working Group <mmusic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mmusic>, <mailto:mmusic-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/mmusic/>
List-Post: <mailto:mmusic@ietf.org>
List-Help: <mailto:mmusic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mmusic>, <mailto:mmusic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 17 Mar 2014 13:03:57 -0000
On 2014-03-15 18:41, Craig Matsuura wrote: > Hi Magnus, > > Thanks for your response, to be clear when I was referring to a Control > Socket I mean the connection that sends commands such as the DESCRIBE, > OPTIONS, SETUP. So to restate, it should not matter if a connection for > the transports comes or goes to server. For example if a server flow to > a client is: > > C->S - Send DESCRIBE Command, C gets 200 response from S. > Close connection and start new connection > C->S - Send OPTIONS command, C gets 200 response from S. > Close connection and start new connection > C->S - Send SETUP command, C gets ??? response from S. > > So at the SETUP the response should be 200? or fail (400)? I'm trying > to clear up an issue I have with a vendors RTSP Server implementation > and would like to know if the sequence above should work to a RTSP > Server. Based on the Section 1.1 and 1.7 seems the above should work. > The only issue would be after the SETUP the session id needs to > accompany commands that follow? Yes, according to my interpretation of RFC 2326 that should be completely valid and the SETUP request result in a 200 OK with a session ID that is later used to reference that session. /Magnus > > Thanks, > Craig > > > On 03/14/2014 04:17 AM, Magnus Westerlund wrote: >> On 2014-03-14 00:22, Craig Matsuura wrote: >>> Hi this is my first time posting here. I have a basic question about >>> how a RTSP server should handled a connect and disconnect for what I am >>> calling the control channel (connection or transport). The control >>> channel (please correct me) is what sends the DESCRIBE, SETUP, OPTIONS, >>> PLAY commands to the RTSP SERVER. >>> >>> Should a server treat the first DESCRIBE connection as its session. So >>> in the case where a socket connects to a RTSP server and sends a >>> DESCRIBE, is disconnected either by the client or some failure on the >>> server should the following SETUP succeed? >> No, DESCRIBE is a state less operation. If one needs a linkage between >> the Describe response body and the setup, then one should use etags and >> conditional requests to ensure that one is establishing the session with >> a relevant session description. >> >>> Also if using a RTSP Proxy and in the same scenario, but after the >>> DESCRIBE and closing of the socket a new socket is open to send an >>> OPTIONS (for keepalive) should the following SETUP succeed? >> Yes the SETUP should succeed if otherwise valid. >> >>> From what I understood from the RFC2326 Section 1.7 RTSP State, it >>> should not matter how many connections are used to control the RTSP Stream. >>> >>> 1. Control Socket is not prevent a client from connecting and >>> disconnecting to send Transport commands. >> I am uncertain what you mean with the Control socket, if you means the >> Socket the server listens to incoming TCP connection establishments and >> their data, it needs to be accepting those comming and going. >> >>> 2. The keep-alive for a session should not start until a SETUP command, >>> which can optional report the timeout for the session. >> Exact, the keep-alive is associated with the RTSP session, not the >> signalling connection used to send RTSP requests and response between >> the server and client. >> >> You might find RTSP 2.0's text on this being clearer: >> https://datatracker.ietf.org/doc/draft-ietf-mmusic-rfc2326bis/ >> >> Cheers >> >> Magnus Westerlund >> >> ---------------------------------------------------------------------- >> Services, Media and Network features, Ericsson Research EAB/TXM >> ---------------------------------------------------------------------- >> Ericsson AB | Phone +46 10 7148287 >> Färögatan 6 | Mobile +46 73 0949079 >> SE-164 80 Stockholm, Sweden | mailto: magnus.westerlund@ericsson.com >> ---------------------------------------------------------------------- >> > -- Magnus Westerlund ---------------------------------------------------------------------- Services, Media and Network features, Ericsson Research EAB/TXM ---------------------------------------------------------------------- Ericsson AB | Phone +46 10 7148287 Färögatan 6 | Mobile +46 73 0949079 SE-164 80 Stockholm, Sweden | mailto: magnus.westerlund@ericsson.com ----------------------------------------------------------------------
- [MMUSIC] RTSP questions in regards to the control… Craig Matsuura
- Re: [MMUSIC] RTSP questions in regards to the con… Magnus Westerlund
- Re: [MMUSIC] RTSP questions in regards to the con… Craig Matsuura
- Re: [MMUSIC] RTSP questions in regards to the con… Magnus Westerlund