RtspSession Class |
Namespace: StreamCoders.Rtsp.Extensions
The RtspSession type exposes the following members.
Name | Description | |
---|---|---|
![]() | RtspSession |
Creates an RtspSession object based on track information provided by an earlier discovery
of an RTSP resource. By concept, each RtspTrackInfo object is used to create a
SubStream, which gives RtspPrimitives an interface to allow for aggregation
and non-aggregation. Each request and response are paired into transaction objects that
are waitable and abortable (See Transaction or BulkTransaction class).
|
Name | Description | |
---|---|---|
![]() | KeepAliveMethodType |
Gets or sets the type of the keep alive method. Valid values are GetParmeter and Options |
Name | Description | |
---|---|---|
![]() | Pause |
Attempts to progress the session to a pause state (Pause) by using aggregation.
(See also RtspPrimitives.ExecuteAggregate)
|
![]() | Pause(Transaction) |
Attempts to progress the session to a pause state (Pause) by using aggregation.
(See also RtspPrimitives.ExecuteAggregate)
|
![]() | PauseSubStreams |
Attempts to progress the session to a pause state (Pause) on indivual substreams.
(See also RtspPrimitives.ExecuteSessionNonAggregate)
|
![]() | Play |
Attempts to progress the session to a play state (Play) by using aggregation. (See
also RtspPrimitives.ExecuteAggregate)
|
![]() | Play(Transaction) |
Attempts to progress the session to a play state (Play) by using aggregation. (See
also RtspPrimitives.ExecuteAggregate)
|
![]() | PlaySubStreams |
Attempts to progress the session to a play state (Play) on indivual substreams.
(See also RtspPrimitives.ExecuteSessionNonAggregate)
|
![]() | ResumeSubStreams |
Attempts to progress the session to a play state (Play) on indivual substreams.
This method should only be used for live streams, as it uses the open interval with
Now to play/resume a session. See Seek for VOD. (See also
RtspPrimitives.ExecuteSessionNonAggregate)
|
![]() | Seek(TimeSpan) |
Attempts to progress the session to a play state (Play) by supplying time offset.
The session can either be paused or in play state. (See also
RtspPrimitives.ExecuteAggregate)
|
![]() | Seek(TimeSpan, Transaction) |
Attempts to progress the session to a play state (Play) by supplying time offset.
The session can either be paused or in play state. (See also
RtspPrimitives.ExecuteAggregate)
|
![]() | SeekSubStreams |
Attempts to progress the session to a play state (Play) by supplying time offset.
The session can either be paused or in play state. (See also
RtspPrimitives.ExecuteSessionNonAggregate)
|
![]() | SendKeepAlive |
Sends an RTSP request to keep session alive. The type of keep alive sent out depends on the value in KeepAliveMethodType |
![]() | SendKeepAlive(Transaction) |
Sends an RTSP request to keep session alive. The type of keep alive sent out depends on the value in KeepAliveMethodType |
![]() | SetupTcpInterleaveSubStreams |
Attempts to progress the session to set up (Setup) individual substreams. (See
also RtspPrimitives.CreateTcpInterleaveSession)
|
![]() | SetupUdpMulticastSubStreams |
Attempts to progress the session to set up (Setup) individual substreams. (See
also RtspPrimitives.CreateMulticastSession)
|
![]() | SetupUdpUnicastSubStreams |
Attempts to progress the session to set up (Setup) individual substreams. (See
also RtspPrimitives.CreateUdpSession)
|
![]() | Teardown |
Attempts to tear down the session by sending an RTSP Teardown request. If
KeepAliveTimeout was specified, the corresponding timer will always be disposed.
|
Name | Description | |
---|---|---|
![]() | OnDisconnect |
Event queue for all listeners interested in OnDisconnect events.
|
![]() | OnRequestReceived |
Event queue for all listeners interested in OnRequestReceived events.
|
![]() | OnResponseReceived |
Event queue for all listeners interested in OnResponseReceived events.
|
Name | Description | |
---|---|---|
![]() | KeepAliveTimeout |
Defines the interval at which a keep-alive message is sent to the server.
|
![]() | RtspSubStreams |
List of all SubStream objects contained in this session.
|
![]() | SessionId |
Unique ID identifying this session.
|
Name | Description | |
---|---|---|
![]() | Copy | Overloaded.
Creates a copy of the object.
(Defined by ObjectExtensions.) |
![]() | Copy(Object) | Overloaded.
Creates a deep copy of the object using the supplied object as a target for the copy operation.
(Defined by ObjectExtensions.) |