Click or drag to resize
RtspPrimitives Class
Handles basic operations such as creating sessions, aggregate / non-aggregate communication, teardown. RtspPrimitives uses a bulk transactional model (see BulkTransaction), that allows it to pair single or multiple requests with their respective response.
Inheritance Hierarchy
SystemObject
  StreamCoders.Rtsp.ExtensionsRtspPrimitives

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

The RtspPrimitives type exposes the following members.

Constructors
  NameDescription
Public methodRtspPrimitives
Default constructor.
Top
Methods
  NameDescription
Public methodClose
Closes connection to remote endpoint.
Public methodCreateMulticastSession
Creates an UDP multicast transport session. given a collection of SubStream objects. If this function succeeds, the multicast group endpoint track information will be updated (MulticastGroupRtpEndpoint and MulticastGroupRtcpEndpoint).
Public methodCreateTcpInterleaveSession
Attempts to create an RTSP session given a collection of SubStream objects. The interleave channels used, are provided by the values by Configuration.NextInterleaveChannel and Configuration.UseRtcpInterleaveChannel.
Public methodCreateUdpSession
Creates an UDP transport session. given a collection of SubStream objects.
Public methodDiscover
Attempts to discover remote resource.
Public methodExecuteAggregate(MethodType, Transaction)
Executes aggregated request on session.
Public methodExecuteAggregate(MethodType, RangeParameters, Transaction)
Executes aggregated request on session.
Public methodExecuteSessionNonAggregate(MethodType, IEnumerableRtspSubStream)
Executes a non aggregated RTSP request on a number of substreams.
Public methodExecuteSessionNonAggregate(MethodType, IEnumerableRtspSubStream, RangeParameters)
Executes a non-aggregate method on a number of substreams.
Public methodOpen
Opens communication channel with remote endpoint. This function must be called before creating a session.
Public methodTearDownSession
Attemps to tear down an RTSP session by sending a Teardown request.
Top
Events
  NameDescription
Public eventOnDisconnect
Event queue for all listeners interested in OnDisconnect events.
Public eventOnInterleaveData
Event queue for all listeners interested in OnInterleaveData events.
Public eventOnLog
Event queue for all listeners interested in OnLog events.
Public eventOnRequestReceived
Event queue for all listeners interested in OnRequestReceived events.
Public eventOnResponseReceived
Event queue for all listeners interested in OnResponseReceived events.
Top
Fields
  NameDescription
Public fieldConfiguration
Contains configuration details.
Public fieldDefaultTransactionWaitTimeout
The amount of time to wait for each transaction to complete.
Public fieldDiscoverWaitReplyTimeout
The amount of time to wait for a reply on the initial Discover (Describe).
Public fieldSetupWaitReplyTimeout
The amount of time to wait for a reply for a Setup request.
Public fieldTearDownWaitReplyTimeout
The amount of time to wait for a reply to a Teardown request.
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