Click or drag to resize
RtspPause Class
The Pause request causes the stream delivery to be interrupted (halted) temporarily. If the request URL names a stream, only playback and recording of that stream is halted. For example, for audio, this is equivalent to muting. If the request URL names a presentation or group of streams, delivery of all currently active streams within the presentation or group is halted. After resuming playback or recording, synchronization of the tracks MUST be maintained. Any server resources are kept, though servers MAY close the session and free resources after being paused for the duration specified with the timeout parameter of the Session header in the Setup message.
The Pause request may contain a Range header specifying when the stream or presentation is to be halted. We refer to this point as the "pause point". The header must contain exactly one value rather than a time range. The normal play time for the stream is set to the pause point. The pause request becomes effective the first time the server is encountering the time point specified in any of the currently pending Play requests. If the Range header specifies a time outside any currently pending Play requests, the error "457 Invalid Range" is returned. If a media unit (such as an audio or video frame) starts presentation at exactly the pause point, it is not played or recorded. If the Range header is missing, stream delivery is interrupted immediately on receipt of the message and the pause point is set to the current normal play time.
A Pause request discards all queued Play requests. However, the pause point in the media stream MUST be maintained. A subsequent Play request without Range header resumes from the pause point.
Inheritance Hierarchy
SystemObject
  StreamCoders.RtspBaseMessage
    StreamCoders.RtspRtspRequest
      StreamCoders.RtspRtspPause

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

The RtspPause type exposes the following members.

Constructors
  NameDescription
Public methodRtspPause
Default constructor.
Public methodRtspPause(Url)
Constructor. Initializes the Request with valid Request Header.
Top
Properties
  NameDescription
Public propertyHasMessageContent
Gets or sets a value indicating whether this object has content.
(Inherited from BaseMessage.)
Public propertyMessageType
Gets or sets the type of the message.
(Inherited from BaseMessage.)
Public propertyMethodInfo
Gets or sets the type of the method.
(Inherited from RtspRequest.)
Public propertyRequestLine
Gets or sets the request line.
(Inherited from RtspRequest.)
Public propertySdp
Gets or sets the SDP message appendix.
(Inherited from RtspRequest.)
Top
Methods
  NameDescription
Public methodDeleteGenericHeader
Deletes a generic message from the message. A generic header is a header custom/proprietary header that is not part of the original RTSP specification.
(Inherited from BaseMessage.)
Public methodDeleteHeader
Removes header from the message.
(Inherited from BaseMessage.)
Public methodFindHeader
Attempts to find a header in the message.
(Inherited from BaseMessage.)
Public methodGetCSeq
Helper function that returns the CSeq header in a message.
(Inherited from BaseMessage.)
Public methodParse
Parses a string to an RTSP request.
(Inherited from RtspRequest.)
Public methodParseHeader
Parses a string containing a header and creates a BaseHeader instance from it.
(Inherited from BaseMessage.)
Public methodToString
Convert this object into a string representation.
(Inherited from RtspRequest.)
Top
Fields
  NameDescription
Public fieldGenericHeaders (Inherited from BaseMessage.)
Public fieldHeaders (Inherited from BaseMessage.)
Public fieldStringHeaders (Inherited from BaseMessage.)
Top
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