ZegoExpressEngine(CustomVideoIO)
Declared in
ZegoExpressEngine+CustomVideoIO.h
Includes
Public-Func Lists
Public-Func Docs
setCustomVideoRenderHandler:
-
(void)setCustomVideoRenderHandler
:(nullable id< ZegoCustomVideoRenderHandler >) handler;
Set the custom video render handler.
Parameters | |
---|---|
handler | Custom video render handler |
setCustomVideoCaptureHandler:
-
(void)setCustomVideoCaptureHandler
:(nullable id< ZegoCustomVideoCaptureHandler >) handler;
Set the custom video capture handler.
Parameters | |
---|---|
handler | Custom video capture handler |
sendCustomVideoCaptureTextureData:size:timeStamp:
-
(void)sendCustomVideoCaptureTextureData
:(GLuint) textureID size:(CGSize) size timeStamp:(CMTime) timeStamp;
Send texture video frame data to SDK.
Parameters | |
---|---|
textureID | texture ID |
size | Video frame width and height |
timeStamp | Timestamp of this video frame |
sendCustomVideoCaptureTextureData:size:timeStamp:channel:
-
(void)sendCustomVideoCaptureTextureData
:(GLuint) textureID size:(CGSize) size timeStamp:(CMTime) timeStamp channel:(ZegoPublishChannel) channel;
Send texture video frame data to SDK.
sendCustomVideoCapturePixelBuffer:timeStamp:
-
(void)sendCustomVideoCapturePixelBuffer
:(CVPixelBufferRef) buffer timeStamp:(CMTime) timeStamp;
Send texture video frame data to SDK.
Parameters | |
---|---|
buffer | Video frame data to send to the SDK |
timeStamp | Timestamp of this video frame |
sendCustomVideoCapturePixelBuffer:timeStamp:channel:
-
(void)sendCustomVideoCapturePixelBuffer
:(CVPixelBufferRef) buffer timeStamp:(CMTime) timeStamp channel:(ZegoPublishChannel) channel;
Send texture video frame data to SDK.
setCustomVideoCaptureFillMode:
-
(void)setCustomVideoCaptureFillMode
:(ZegoViewMode) mode;
Set custom video capture fill mode.
Parameters | |
---|---|
mode | View mode |
setCustomVideoCaptureFillMode:channel:
-
(void)setCustomVideoCaptureFillMode
:(ZegoViewMode) mode channel:(ZegoPublishChannel) channel;
Set custom video capture fill mode.