The LinkVisual SDK provides the local video playback feature. This topic describes the functions that are used to implement the feature and the data forwarding process.
In this topic, the local video playback feature is called video-on-demand (VOD).
Data forwarding process
Functions
Phase | Description | Function |
---|---|---|
Create VOD tasks. | Forwards commands. | |
Starts VOD | ||
Sends encoding information about audio and video streams. | ||
Notifies a device to start pushing streams. | Note You must use the LV_STORAGE_RECORD_START method in the function. | |
Sends audio and video data. | ||
Send control requests. | Sends SEEK requests. | Note You must use the LV_STORAGE_RECORD_SEEK method in the function. |
Suspends requests. | Note You must use the LV_STORAGE_RECORD_PAUSE method in the function. | |
Resumes playback requests. | Note You must use the LV_STORAGE_RECORD_UNPAUSE method in the function. | |
Sets the playback speed of videos. | Note You must use the LV_STORAGE_RECORD_SET_PAPAM method in the function. | |
Sends audio and video data. | ||
Terminate VOD (Method 1) | Runs a remote command to terminate VOD. | |
Terminate VOD (Method 2) | Triggers a device to terminate VOD when the playback of a video is complete. | Note You must use the LV_STORAGE_RECORD_COMPLETE method in the function. |