Skip to main content
Version: 0.0.x

Leave Meeting - IoT SDK

A participant can leave the meeting without affecting other participants. This is typically done using the Leave Meeting option present in the IoT SDK.

leave()

To leave the meeting, you need to call the leave() method.

Example

#include "videosdk.h"
#include "esp_log.h"

void app_main(){
// call leave method and it will stop all running task and will leave the meeting.
result_t leave_result = leave();
ESP_LOGI("Leave Result: %d", leave_result);
}

API Reference

The API references for all the methods utilized in this guide are provided below.

Got a Question? Ask us on discord


Was this helpful?