Click or drag to resize
Session Class
This request and response header field identifies an RTSP session started by the media server in a Setup response and concluded by Teardown on the presentation URL. The session identifier is chosen by the media server (see Section 3.4). Once a client receives a Session identifier, it MUST return it for any request related to that session. A server does not have to set up a session identifier if it has other means of identifying a session, such as dynamically generated URLs.
Inheritance Hierarchy
SystemObject
  StreamCoders.RtspBaseHeader
    StreamCoders.RtspSession

Namespace: StreamCoders.Rtsp
Assembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntax
public class Session : BaseHeader

The Session type exposes the following members.

Constructors
  NameDescription
Public methodSession
Constructor.
Top
Properties
  NameDescription
Public propertyHeaderType
Gets or sets the type of the RTSP header.
(Inherited from BaseHeader.)
Public propertyStatic memberKeepAliveMethodType
Public propertySessionId
This request and response header field identifies an RTSP session started by the media server in a Setup response and concluded by Teardown on the presentation URL. The session identifier is chosen by the media server.
Public propertySessionIdInt
Gets or sets or Sets the SessionID_Int property.
Public propertyTimeoutSeconds
The timeout parameter is only allowed in a response header. The server uses it to indicate to the client how long the server is prepared to wait between RTSP commands before closing the session due to lack of activity, measured in seconds.
Top
Methods
Extension Methods
  NameDescription
Public Extension MethodCopyOverloaded.
Creates a copy of the object.
(Defined by ObjectExtensions.)
Public Extension MethodCopy(Object)Overloaded.
Creates a deep copy of the object using the supplied object as a target for the copy operation.
(Defined by ObjectExtensions.)
Top
See Also