All Products
Search
Document Center

:Live streaming and video storage in the cloud

Last Updated:Mar 01, 2022

The LinkVisual SDK provides the live streaming and video storage in the cloud features. This topic describes the functions that are used to implement the live streaming and video storage features and the data forwarding process.

Note

The functions that are used to implement the video storage in the cloud feature and the data forwarding process are the same as the functions that are used to implement the live streaming feature and the data forwarding process. In this topic, the live streaming feature is used as an example.

Data forwarding process

Process of live streaming

Functions

Phase

Description

Function

Create live streaming tasks.

Forwards commands.

lv_message_adapter

Notifies a device to start pushing streams.

lv_start_push_streaming_cb

Sends encoding information about audio and video streams.

lv_stream_send_config

Sends audio and video data.

lv_stream_send_media

Request to send I frames.

Requests to send I frames.

lv_on_push_streaming_cmd_cb

Note

You must use the LV_LIVE_REQUEST_I_FRAME method in the function.

Sends encoding information about audio and video streams.

lv_stream_send_config

Sends audio and video data.

lv_stream_send_media

Terminates live streaming.

Notifies a device to stop pushing streams.

lv_stop_push_streaming_cb