ZegoLiveRoom
Classes | Namespaces | Enumerations | Functions | Variables
zego-api-external-video-render.h File Reference
#include "video_format.h"
#include "zego-api-defines.h"
#include "video_capture.h"

Go to the source code of this file.

Classes

class  ZEGO::EXTERNAL_RENDER::IZegoVideoRenderCallback
 
class  ZEGO::EXTERNAL_RENDER::IZegoVideoDecodeCallback
 

Namespaces

namespace  ZEGO
 
namespace  ZEGO::EXTERNAL_RENDER
 

Enumerations

enum  ZEGO::EXTERNAL_RENDER::VideoRenderType {
  ZEGO::EXTERNAL_RENDER::VIDEO_RENDER_TYPE_NONE = 0 , ZEGO::EXTERNAL_RENDER::VIDEO_RENDER_TYPE_RGB = 1 , ZEGO::EXTERNAL_RENDER::VIDEO_RENDER_TYPE_YUV = 2 , ZEGO::EXTERNAL_RENDER::VIDEO_RENDER_TYPE_ANY = 3 ,
  ZEGO::EXTERNAL_RENDER::VIDEO_RENDER_TYPE_EXTERNAL_INTERNAL_RGB = 4 , ZEGO::EXTERNAL_RENDER::VIDEO_RENDER_TYPE_EXTERNAL_INTERNAL_YUV = 5 , ZEGO::EXTERNAL_RENDER::VIDEO_RENDER_TYPE_EXTERNAL_SURFACE_TEXTURE = 6
}
 

Functions

ZEGOAVKIT_API void ZEGO::EXTERNAL_RENDER::SetVideoRenderType (VideoRenderType type)
 
ZEGOAVKIT_API void ZEGO::EXTERNAL_RENDER::SetVideoRenderCallback (IZegoVideoRenderCallback *callback)
 
ZEGOAVKIT_API void ZEGO::EXTERNAL_RENDER::SetVideoDecodeCallback (IZegoVideoDecodeCallback *callback)
 
ZEGOAVKIT_API bool ZEGO::EXTERNAL_RENDER::EnableVideoRender (bool bEnable, const char *pszStreamID)
 
ZEGOAVKIT_API bool ZEGO::EXTERNAL_RENDER::EnableVideoRender (bool bEnable, int nPlayChannel)
 
ZEGOAVKIT_API bool ZEGO::EXTERNAL_RENDER::EnableVideoPreview (bool bEnable, AV::PublishChannelIndex nPublishChannel=AV::PUBLISH_CHN_MAIN)
 

Variables

ZEGOAVKIT_API const char * ZEGO::EXTERNAL_RENDER::kZegoVideoDataMainPublishingStream
 
ZEGOAVKIT_API const char * ZEGO::EXTERNAL_RENDER::kZegoVideoDataAuxPublishingStream
 
ZEGOAVKIT_API const char * ZEGO::EXTERNAL_RENDER::kZegoVideoDataThirdPublishingStream
 
ZEGOAVKIT_API const char * ZEGO::EXTERNAL_RENDER::kZegoVideoDataFourthPublishingStream