|
rtc.avd_SDK-C++
3.2.0
|
视频渲染接口类 更多...
Public 成员函数 | |
| virtual void | SetSize (int width, int height)=0 |
| 视频宽高变化调用 更多... | |
| virtual void | RenderFrame (const IVideoFrame &frame)=0 |
| 视频帧数据到达调用 更多... | |
| virtual Result | EnableCapture (bool enable) |
| 启停图像抓取功能 更多... | |
| virtual Result | CaptureImage (const String &fileName, int quality) |
| 抓取图像 更多... | |
| virtual Result | GetWindowId (AvdWindowId &id) const |
| 获取render所在的WindowId 更多... | |
| virtual Result | GetSize (int &width, int &height) const |
| 获取图像大小 更多... | |
| virtual Result | SetAnnotation (rtc::IMAnnotation *atn) |
| 设置注释接口 更多... | |
| virtual Result | GetAnnotation (rtc::IMAnnotation **atn) |
| 获取注释接口 更多... | |
| virtual Result | setFirstFrameListener (IFirstFrameListener *listener) |
| 设置首帧数据回调指针 更多... | |
| virtual int32 | SetRemoteCtrlModule (IRemoteCtrl *remote, std::string othersideuid) |
| 设置远程控制模块,对方userid 更多... | |
| virtual Result | FillBlack () |
| virtual bool | getIsGdiView () |
| 获取该render是否用gdi模式创建的 更多... | |
Public 成员函数 继承自 rtc::DestroyNotify | |
| virtual Result | AddDestroyNotify (IListener *pListener) |
| 设置渲染对象销毁回调指针 更多... | |
| virtual Result | RemoveDestroyNotify (IListener *pListener) |
| 删除渲染对象销毁回调指针 更多... | |
| virtual | ~DestroyNotify () |
| void | Clear () |
静态 Public 成员函数 | |
| static Result | Save2Image (const IVideoFrame *frame, const String &jpegorbmpFileName, int quality) |
| IVideoFrame图像保存为jpeg图像功能 更多... | |
Protected 成员函数 | |
| virtual | ~IVideoRender () |
额外继承的成员函数 | |
Public 类型 继承自 rtc::DestroyNotify | |
| typedef std::vector< IListener * > | ListenersType |
Protected 属性 继承自 rtc::DestroyNotify | |
| ListenersType | pListeners_ |
视频渲染接口类
视频渲染定义了视频的渲染中涉及的视频参数变化、视频帧数据、视频抓图等相关接口。
|
protectedvirtual |
抓取图像
| [in] | fileName | 图像保存地址,绝对地址, 支持".bmp和.jpg"。 |
| [in] | quality | 图像质量:0-100, 0最差,100最好。 |
引用了 Err_Not_Implemented.
|
virtual |
启停图像抓取功能
| [in] | enable | 开启或者停止。 |
引用了 Err_Not_Implemented.
|
virtual |
引用了 Err_Not_Implemented.
|
virtual |
|
virtual |
获取该render是否用gdi模式创建的
|
virtual |
|
virtual |
|
pure virtual |
视频帧数据到达调用
| [in] | frame | IVideoFrame图像对象指针。 |
|
static |
IVideoFrame图像保存为jpeg图像功能
| [in] | frame | IVideoFrame图像对象指针。 |
| [in] | jpegorbmpFileName | 图像保存地址,绝对地址, 支持".bmp和.jpg"。 |
| [in] | quality | 图像质量:0-100, 0最差,100最好。 |
|
virtual |
|
virtual |
设置首帧数据回调指针
| [in] | listener | 首帧数据回调指针。 |
引用了 Err_Not_Implemented.
|
virtual |
设置远程控制模块,对方userid
引用了 Err_Not_Implemented.
|
pure virtual |
视频宽高变化调用
| [in] | width | 视频宽度。 |
| [in] | height | 视频高度。 |
1.8.15