RtspSessionSeek Method (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)
Namespace: StreamCoders.Rtsp.ExtensionsAssembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntaxpublic bool Seek(
TimeSpan position,
out Transaction transaction
)
Public Function Seek (
position As TimeSpan,
<OutAttribute> ByRef transaction As Transaction
) As Boolean
public:
bool Seek(
TimeSpan position,
[OutAttribute] Transaction^% transaction
)
member Seek :
position : TimeSpan *
transaction : Transaction byref -> bool
Parameters
- position
- Type: SystemTimeSpan
The position in time units to start playing from. - transaction
- Type: StreamCoders.RtspTransaction
Return Value
Type:
Boolean
Returns true on success, otherwise false.
See Also