Subscribe Video - IoT SDK
The Video subscribing feature lets an IoT device receive a remote participant's video stream from the meeting and render it on the device display.
Supported hardware
Rendering needs a board with a display; without one, startSubscribeVideo() returns DEVICE_NOT_SUPPORTED. See Supported Microcontrollers for which boards support this.
startSubscribeVideo()
- The
startSubscribeVideo()function lets your device receive another participant's video and show it on the display. - This function takes no parameters.
note
You must call the init() method before invoking startSubscribeVideo(). If not, the function returns an INIT_NOT_CALLED result code.
Example
#include "videosdk.h"
#include "esp_log.h"
void app_main(){
result_t subscribe_video_result = startSubscribeVideo();
ESP_LOGI("IOT-SDK", "Subscribe Video Result: %d", subscribe_video_result);
}
API Reference
The API references for all the methods utilized in this guide are provided below.
Got a Question? Ask us on discord

