Agora C++ API Reference for All Platforms

Loading...
Searching...
No Matches
video_device_manager_i.h
1//
2// Agora SDK
3//
4// Copyright (c) 2025 Agora.io. All rights reserved.
5//
6
7#pragma once
8
9#include "api2/NGIAgoraVideoDeviceManager.h"
10
11 namespace agora {
12 namespace rtc {
13
14 class INGVideoDeviceManagerEx : public INGVideoDeviceManager {
15 public:
16 INGVideoDeviceManagerEx() = default;
17 virtual ~INGVideoDeviceManagerEx() = default;
18
19 virtual int registerObserverLLApiInternal(IVideoDeviceManagerObserver* observer,
20 void (*safeDeleter)(IVideoDeviceManagerObserver*) = nullptr) = 0;
21
22 virtual int unregisterObserverLLApiInternal(IVideoDeviceManagerObserver* observer) = 0;
23
24 virtual int getNumberOfDevicesLLApiInternal() = 0;
25
26 virtual int getNumberOfCapabilitiesLLApiInternal(const char* deviceId) = 0;
27
28 virtual int getDeviceInfoLLApiInternal(int index, VideoDeviceInfo& deviceInfo) = 0;
29
30 virtual int getCapabilityLLApiInternal(const char* deviceId, const uint32_t capabilityIndex,
31 VideoFormat& capability) = 0;
32};
33
34}
35}
agora::rtc::INGVideoDeviceManagerEx::unregisterObserverLLApiInternal
virtual int unregisterObserverLLApiInternal(IVideoDeviceManagerObserver *observer)=0
agora::rtc::INGVideoDeviceManagerEx::registerObserverLLApiInternal
virtual int registerObserverLLApiInternal(IVideoDeviceManagerObserver *observer, void(*safeDeleter)(IVideoDeviceManagerObserver *)=nullptr)=0
agora::rtc::INGVideoDeviceManagerEx::INGVideoDeviceManagerEx
INGVideoDeviceManagerEx()=default
agora::rtc::INGVideoDeviceManagerEx::getCapabilityLLApiInternal
virtual int getCapabilityLLApiInternal(const char *deviceId, const uint32_t capabilityIndex, VideoFormat &capability)=0
agora::rtc::INGVideoDeviceManagerEx::getDeviceInfoLLApiInternal
virtual int getDeviceInfoLLApiInternal(int index, VideoDeviceInfo &deviceInfo)=0
agora::rtc::INGVideoDeviceManagerEx::getNumberOfDevicesLLApiInternal
virtual int getNumberOfDevicesLLApiInternal()=0
agora::rtc::INGVideoDeviceManagerEx::getNumberOfCapabilitiesLLApiInternal
virtual int getNumberOfCapabilitiesLLApiInternal(const char *deviceId)=0
agora::rtc::INGVideoDeviceManagerEx::~INGVideoDeviceManagerEx
virtual ~INGVideoDeviceManagerEx()=default
agora::rtc::INGVideoDeviceManager
Definition NGIAgoraVideoDeviceManager.h:68
agora::rtc::IVideoDeviceManagerObserver
Definition NGIAgoraVideoDeviceManager.h:46
agora::rtc::VideoDeviceInfo
Definition NGIAgoraVideoDeviceManager.h:25
agora::capability
Definition channel_capability_i.h:14
agora::rtc
Definition AgoraExtensions.h:5
agora
Definition AgoraAtomicOps.h:21
agora::rtc::VideoFormat
The format of the video frame.
Definition AgoraBase.h:3160