Windows(C++)[v1.7.5.0]
PanoVideoRender.h
浏览该文件的文档.
1
3#pragma once
4#include "PanoRtcDefs.h"
5#include "PanoRtcDevice.h"
6
8PANORTC_NS_BEGIN
9
10
18{
19public:
20
41 virtual QResult bindRender(uint64_t userId, int streamId, void *window, const VideoRenderConfig &config) = 0;
60 virtual QResult unbindRender(uint64_t userId, int streamId, void *window) = 0;
81 virtual QResult updateRenderConfig(uint64_t userId, int streamId, void *window, const VideoRenderConfig &config) = 0;
82
83protected:
84 virtual ~VideoRenderManager() = default;
85};
86
87
88PANORTC_NS_END
QResult
返回值
Definition: PanoRtcDefs.h:54
视频渲染管理器
Definition: PanoVideoRender.h:18
virtual QResult bindRender(uint64_t userId, int streamId, void *window, const VideoRenderConfig &config)=0
为指定的视频流添加渲染窗口。
virtual QResult updateRenderConfig(uint64_t userId, int streamId, void *window, const VideoRenderConfig &config)=0
更改视频渲染设置。
virtual QResult unbindRender(uint64_t userId, int streamId, void *window)=0
移除指定视频流的渲染窗口。
视频渲染设置
Definition: PanoRtcDevice.h:528