NET_SDK_PlayBackControl¶
Interface Definition¶
1 2 3 4 5 | |
1 2 3 4 5 | |
Function Description¶
Control the status of video playback.
Parameter Description¶
| Parameters | Type | Remark |
|---|---|---|
| lPlayHandlein | POINTERHANDLE | Playback handle, return value of NET_SDK_PlayBackByTime or NET_SDK_PlayBackByTimeEx |
| dwControlCodein | DWORD | Commands for controlling video playback status, refer to NET_SDK_PLAYCTRL_TYPE. |
| dwInValuein | DWORD | The parameter to be set, for example, when setting the progress of file playback, this parameter indicates the progress value; when starting playback, this parameter indicates the file position (Byte) for breakpoint resume. |
| lpOutValueout | DWORD* | The parameters obtained, such as the total time of the currently playing file, this parameter is the total time obtained. |
Return Value¶
-
type:BOOL
-
remark:Returns TRUE if successful, FALSE if failed.
Remarks¶
Whether the third parameter in this interface needs to enter a value depends on the control command. In the NET_SDK_PLAYSETPOS command, this parameter indicates the playback progress. When the control command is to start playing, the value of the third parameter indicates the offset of the current file. If the value is 0, it means playing from the beginning of the file. If the value is not 0, it indicates the file position (Byte) of the breakpoint resume. The fourth parameter in this interface indicates the corresponding parameter obtained by the current control command operation.