222 RT_API_EXPORT Result
avd_screen_attachRender(AVDHandle screenHandle,
const char* winId, AVDHandle renderHandle);
263 #if defined(RT_DESKTOP) 276 RT_API_EXPORT Result avd_screen_startAnnotation(AVDHandle screenHandle,
const char* screenId);
286 RT_API_EXPORT Result avd_screen_stopAnnotation(AVDHandle screenHandle,
const char* screenId);
297 RT_API_EXPORT Result avd_screen_startOtherAnnotation(AVDHandle screenHandle,
const char* screenId, AVDHandle renderHandle);
305 RT_API_EXPORT Result avd_screen_setAnnotationBarPosition(AVDHandle screenHandle,
int x,
int y);
314 RT_API_EXPORT Result
avd_screen_updateScreenData(AVDHandle screenHandle,
const char* deviceId,
int level,
const char* description);
317 #endif//RT_Screen_C_H_ void(* screen_onUnpublishScreenResult)(AVDHandle screenHandle, Result result, const char *winId)
本用户取消发布屏幕窗口异步返回
Definition: mscreen_c.h:84
void(* screen_onScreenStatusNotify)(AVDHandle screenHandle, AVDScreenStatus status, const char *winId)
通知
Definition: mscreen_c.h:20
void(* screen_onPublishScreenResult)(AVDHandle screenHandle, Result result, const char *winId)
本用户发布屏幕窗口异步返回
Definition: mscreen_c.h:75
RT_API_EXPORT Result avd_screen_subscribe(AVDHandle screenHandle, const char *winId)
订阅共屏屏幕窗口视频
RT_API_EXPORT Result avd_screen_getSubscribedScreen(AVDHandle screenHandle, uint32 index, AVDScreenWindow &win)
根据索引获取已订阅的共享窗口信息
RT_API_EXPORT Result avd_screen_init(AVDHandle roomHandle, LPScreen_Callback cb, AVDHandle &screenHandle)
房间中屏幕窗口共享模块接口.
RT_API_EXPORT Result avd_screen_uninit(AVDHandle screenHandle)
反初始屏幕窗口共享模块接口
Screen_Callback()
Definition: mscreen_c.h:85
void(* screen_onUnsubscribeResult)(AVDHandle screenHandle, Result result, const char *winId)
本用户取消订阅屏幕窗口异步返回
Definition: mscreen_c.h:66
RT_API_EXPORT int avd_screen_getPublishedScreenCount(AVDHandle screenHandle)
获取已发布的共享窗口数量
RT_API_EXPORT Result avd_screen_detachRender(AVDHandle screenHandle, AVDHandle renderHandle)
解除某一显示对象与屏幕窗口视频的关联
RT_API_EXPORT Result avd_screen_getSubscribedScreens(AVDHandle screenHandle, uint32 &ncount, AVDScreenWindow *&wins)
获取已订阅的共享窗口信息列表
Definition: common_c.h:65
RT_API_EXPORT Result avd_screen_attachRender(AVDHandle screenHandle, const char *winId, AVDHandle renderHandle)
关联共享的屏幕窗口视频数据和显示对象,在render中显示图像
RT_API_EXPORT Result avd_screen_getScreenWindows(AVDHandle screenHandle, uint32 &ncount, AVDScreenWindow *&wins)
获取可以共享窗口信息列表
void(* screen_onUnpublishScreenNotify)(AVDHandle screenHandle, const AVDScreenWindow &win)
屏幕窗口视频取消发布通知
Definition: mscreen_c.h:47
RT_API_EXPORT Result avd_screen_unsubscribe(AVDHandle screenHandle, const char *winId)
取消订阅共屏屏幕窗口视频
RT_API_EXPORT Result avd_screen_getPublishedScreen(AVDHandle screenHandle, uint32 index, AVDScreenWindow &win)
根据索引获取发布的共享窗口信息
RT_API_EXPORT Result avd_screen_swithToScreen(AVDHandle screenHandle, const char *winId)
共享屏幕窗口视频切换另外一屏幕窗口
void(* screen_onScreenDataNotify)(AVDHandle screenHandle, int level, const char *description, const char *winId)
屏幕窗口数据更改通知
Definition: mscreen_c.h:29
RT_API_EXPORT Result avd_screen_updateScreenData(AVDHandle screenHandle, const char *deviceId, int level, const char *description)
共屏屏幕窗口数据更改
RT_API_EXPORT Result avd_screen_unpublishScreen(AVDHandle screenHandle)
取消发布共享屏幕视频
RT_API_EXPORT int avd_screen_getSubscribedScreenCount(AVDHandle screenHandle)
获取已订阅的共享窗口数量
RT_API_EXPORT Result avd_screen_detachRenderWithDeviceId(AVDHandle screenHandle, const char *winId)
解除屏幕窗口视频的所有显示对象关联
RT_API_EXPORT uint32 avd_screen_getScreenWindowCount(AVDHandle screenHandle)
获取可以共享的窗口数量
RT_API_EXPORT Result avd_screen_publishScreen(AVDHandle screenHandle, const AVDScreenWindow &win)
发布共享屏幕窗口视频
struct Screen_Callback * LPScreen_Callback
房间中屏幕窗口共享模块回调接口.
void(* screen_onSubscribeResult)(AVDHandle screenHandle, Result result, const char *winId)
异步返回
Definition: mscreen_c.h:57
rtc::ScreenStatus AVDScreenStatus
Definition: common_c.h:10
房间中屏幕窗口共享模块回调接口.
Definition: mscreen_c.h:11
RT_API_EXPORT Result avd_screen_getScreenWindow(AVDHandle screenHandle, uint32 index, AVDScreenWindow &win)
根据索引获取可以共享窗口信息
void(* screen_onPublishScreenNotify)(AVDHandle screenHandle, const AVDScreenWindow &win)
屏幕窗口视频发布通知
Definition: mscreen_c.h:38
RT_API_EXPORT Result avd_screen_getPublishedScreens(AVDHandle screenHandle, uint32 &ncount, AVDScreenWindow *&wins)
获取发布的共享窗口信息列表