Click or drag to resize
RtspSubStream Class
Represents a single track in an RTSP session.
Inheritance Hierarchy
SystemObject
  StreamCoders.Rtsp.ExtensionsRtspSubStream

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

The RtspSubStream type exposes the following members.

Constructors
  NameDescription
Public methodRtspSubStream
Creates a SubStream object. SubStream objects represent a single tracks of an RTSP resource and are normally created automatically via the RtspSession constructor.
Top
Methods
  NameDescription
Public methodAddSlice
Adds an interleave slice to the sub stream. The function further determines whether the slice is RTP or RTCP. In case of Configuration.MaintainJitter an RTP packet is created and added to the jitter. In case of RTCP SR, the PlayoutBuffer is updated with the RTCP Sender Report metrics. If subscribed, this function also raises the OnInterleave event.
Public methodCreateRtcpFromSlice
Creates an RTCP compound packet from an interleave slice.
Public methodCreateRtpFromSlice
Creates an RTP packet from an interleave slice object.
Public methodPause
Transitions a stream to Pause state.
Public methodPlay
Plays and inherently (VCR) resumes playback.
Public methodSeek
Seeks to a specific position in time.
Public methodSetup
Attempts to set up an RTSP track.
Top
Events
  NameDescription
Public eventOnDisconnect
Event queue for all listeners interested in OnDisconnect events.
Public eventOnEndOfStreamIndication
Event queue for all listeners interested in OnEndOfStreamIndication events. This implements the special END-OF-STREAM indicator specified in draft draft-zeng-mmusic-00
Public eventOnInterleaveData
Event queue for all listeners interested in OnInterleaveData events.
Top
Fields
  NameDescription
Public fieldConfiguration
Contains additional configuration to the sub stream.
Public fieldHasDisconnectIndication
Is set to true of OnDisconnect event was received.
Public fieldRtspTrackInfo
Track information of sub-stream giving detailed information of media.
Public fieldUseSubStream
Indication whether this sub-stream is used by the session or ignored.
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
Remarks
Note: - MediaStreamSources subscribe to packets arrived. So if a MediaStreamSource is disposed the packets are conserved as the Observable is disposed. - Presentation times are now calculated on arrival.
See Also