#include <NGIAgoraMediaNode.h>
◆ setRenderMode()
virtual int agora::rtc::IVideoRenderer::setRenderMode |
( |
media::base::RENDER_MODE_TYPE |
renderMode | ) |
|
|
pure virtual |
Sets the render mode.
- Parameters
-
renderMode | The video render mode. |
- Returns
- 0: Success.
- < 0: Failure.
◆ setMirror()
virtual int agora::rtc::IVideoRenderer::setMirror |
( |
bool |
mirror | ) |
|
|
pure virtual |
Sets whether to mirror the video.
- Parameters
-
mirror | Whether to mirror the video:
true : Mirror the video.
false : Do not mirror the video.
|
- Returns
- 0: Success.
- < 0: Failure.
◆ setView()
virtual int agora::rtc::IVideoRenderer::setView |
( |
void * |
view | ) |
|
|
pure virtual |
Sets the video display window.
- Parameters
-
view | The pointer to the video display window. |
- Returns
- 0: Success.
- < 0: Failure.
◆ unsetView()
virtual int agora::rtc::IVideoRenderer::unsetView |
( |
| ) |
|
|
pure virtual |
Stops rendering the video view on the window.
- Returns
- 0: Success.
- < 0: Failure.