All Products
Search
Document Center

:lv_stream_send_cmd

Last Updated:Mar 01, 2022

Sends commands that are used to control the playback of videos.

Description

int lv_stream_send_cmd(int service_id, lv_push_stream_cmd_s cmd);

The following table describes the related parameters.

Parameter

Type

Description

service_id

int

The ID of the request.

cmd

lv_push_stream_cmd_s

The type of the command.

Refer to the complete code in the SDK and specify the parameter based on your business requirements.

Sample code

Note

The sample code is provided for reference only. The complete code is contained in the SDK.

 
lv_stream_send_cmd(1, LV_STORAGE_RECORD_COMPLETE);