Click or drag to resize
XDL

XVideoChannelSeek(Int64) Method

PTS를 입력하여 Play할 위치를 찾는다.

Namespace: Pixoneer.NXDL.NXVideo
Assembly: NXVideo (in NXVideo.dll) Version: 3.0.0.4
Syntax
C#
public bool Seek(
	long nPts
)

Parameters

nPts  Int64
Presentation Time Stamp.

Return Value

Boolean
성공이면 true, 실패면 false를 리턴
Example
C#
// 10s backward
Int64 timebase = channel.StreamTimeToPts(1.0) - channel.StreamTimeToPts(0.0);
channel.Seek(channel.CurrentPts - timebase * 10);
See Also