Package im.zego.zegoexpress.utils
Class ZegoCallbackHelpers
- java.lang.Object
-
- im.zego.zegoexpress.utils.ZegoCallbackHelpers
-
public class ZegoCallbackHelpers extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ZegoCallbackHelpers()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
callCustomVideoCaptureOnEncodedDataTrafficControlMethod(java.lang.Object thiz, int width, int height, int fps, int bitrate, ZegoPublishChannel channel)
static void
callCustomVideoCaptureOnStartMethod(java.lang.Object thiz, ZegoPublishChannel channel)
static void
callCustomVideoCaptureOnStopMethod(java.lang.Object thiz, ZegoPublishChannel channel)
static void
callCustomVideoProcessOnStartMethod(java.lang.Object thiz, ZegoPublishChannel channel)
static void
callCustomVideoProcessOnStopMethod(java.lang.Object thiz, ZegoPublishChannel channel)
static void
callCustomVideoRenderOnCapturedVideoFrameRawDataMethod(java.lang.Object thiz, java.nio.ByteBuffer[] data, int[] dataLength, ZegoVideoFrameParam param, ZegoVideoFlipMode flipMode, ZegoPublishChannel channel)
static void
callCustomVideoRenderOnCustomVideoRenderRemoteFrameDataMethod(java.lang.Object thiz, java.nio.ByteBuffer[] data, int[] dataLength, ZegoVideoFrameParam param, java.lang.String streamID)
static void
callCustomVideoRenderOnRemoteVideoFrameEncodedDataMethod(java.lang.Object thiz, java.nio.ByteBuffer buffers, int dataLen, ZegoVideoEncodedFrameParam param, long referenceTimeMillisecond, java.lang.String streamID)
static void
callMediaPlayerSnapshotMethod(java.lang.Object takeSnapshotHandler, int errorCode, android.graphics.Bitmap image)
static void
callMediaVideoFrameMethod(java.lang.Object thiz, ZegoMediaPlayer mediaPlayer, java.nio.ByteBuffer[] data, int[] dataLength, ZegoVideoFrameParam param, org.json.JSONObject extraInfo)
static void
callOnPlayerLowFpsWarningMethod(java.lang.Object thiz, ZegoVideoCodecID codecID, java.lang.String streamID)
static void
callOnPlayerRecvVideoFirstFrameMethod(java.lang.Object thiz, java.lang.String streamID)
static void
callOnPlayerRenderCameraVideoFirstFrameMethod(java.lang.Object thiz, java.lang.String streamID)
static void
callOnPlayerRenderVideoFirstFrameMethod(java.lang.Object thiz, java.lang.String streamID)
static void
callOnPlayerSyncRecvVideoFirstFrameMethod(java.lang.Object thiz, java.lang.String streamID)
static void
callOnPlayerVideoSizeChangedMethod(java.lang.Object thiz, java.lang.String streamID, int width, int height)
static void
callOnPublisherCapturedVideoFirstFrameMethod(java.lang.Object thiz, ZegoPublishChannel channel)
static void
callOnPublisherRenderVideoFirstFrameMethod(java.lang.Object thiz, ZegoPublishChannel channel)
static void
callOnPublisherSendVideoFirstFrameMethod(java.lang.Object thiz, ZegoPublishChannel channel)
static void
callOnPublisherVideoEncoderChangedMethod(java.lang.Object thiz, ZegoVideoCodecID fromCodecID, ZegoVideoCodecID toCodecID, ZegoPublishChannel channel)
static void
callOnPublisherVideoSizeChangedMethod(java.lang.Object thiz, int width, int height, ZegoPublishChannel channel)
static void
callOnRemoteCameraStateUpdateMethod(java.lang.Object thiz, java.lang.String streamID, ZegoRemoteDeviceState state)
static android.graphics.SurfaceTexture
getCustomVideoProcessInputSurfaceTexture(java.lang.Object thiz, int width, int height, ZegoPublishChannel value)
static void
onCapturedUnprocessedRawData(java.lang.Object thiz, java.nio.ByteBuffer data, int[] dataLength, ZegoVideoFrameParam param, long referenceTimeMillisecond, ZegoPublishChannel channel)
static void
onCapturedUnprocessedTextureData(java.lang.Object thiz, int textureID, int width, int height, long referenceTimeMillisecond, ZegoPublishChannel channel)
-
-
-
Method Detail
-
callMediaVideoFrameMethod
public static void callMediaVideoFrameMethod(java.lang.Object thiz, ZegoMediaPlayer mediaPlayer, java.nio.ByteBuffer[] data, int[] dataLength, ZegoVideoFrameParam param, org.json.JSONObject extraInfo)
-
callOnPlayerRenderVideoFirstFrameMethod
public static void callOnPlayerRenderVideoFirstFrameMethod(java.lang.Object thiz, java.lang.String streamID)
-
callOnPlayerRenderCameraVideoFirstFrameMethod
public static void callOnPlayerRenderCameraVideoFirstFrameMethod(java.lang.Object thiz, java.lang.String streamID)
-
callOnPlayerRecvVideoFirstFrameMethod
public static void callOnPlayerRecvVideoFirstFrameMethod(java.lang.Object thiz, java.lang.String streamID)
-
callOnPlayerSyncRecvVideoFirstFrameMethod
public static void callOnPlayerSyncRecvVideoFirstFrameMethod(java.lang.Object thiz, java.lang.String streamID)
-
callOnPlayerLowFpsWarningMethod
public static void callOnPlayerLowFpsWarningMethod(java.lang.Object thiz, ZegoVideoCodecID codecID, java.lang.String streamID)
-
callOnRemoteCameraStateUpdateMethod
public static void callOnRemoteCameraStateUpdateMethod(java.lang.Object thiz, java.lang.String streamID, ZegoRemoteDeviceState state)
-
callCustomVideoCaptureOnStartMethod
public static void callCustomVideoCaptureOnStartMethod(java.lang.Object thiz, ZegoPublishChannel channel)
-
callCustomVideoProcessOnStartMethod
public static void callCustomVideoProcessOnStartMethod(java.lang.Object thiz, ZegoPublishChannel channel)
-
callCustomVideoCaptureOnEncodedDataTrafficControlMethod
public static void callCustomVideoCaptureOnEncodedDataTrafficControlMethod(java.lang.Object thiz, int width, int height, int fps, int bitrate, ZegoPublishChannel channel)
-
callCustomVideoCaptureOnStopMethod
public static void callCustomVideoCaptureOnStopMethod(java.lang.Object thiz, ZegoPublishChannel channel)
-
callCustomVideoProcessOnStopMethod
public static void callCustomVideoProcessOnStopMethod(java.lang.Object thiz, ZegoPublishChannel channel)
-
callOnPublisherCapturedVideoFirstFrameMethod
public static void callOnPublisherCapturedVideoFirstFrameMethod(java.lang.Object thiz, ZegoPublishChannel channel)
-
callOnPublisherSendVideoFirstFrameMethod
public static void callOnPublisherSendVideoFirstFrameMethod(java.lang.Object thiz, ZegoPublishChannel channel)
-
callOnPublisherRenderVideoFirstFrameMethod
public static void callOnPublisherRenderVideoFirstFrameMethod(java.lang.Object thiz, ZegoPublishChannel channel)
-
callOnPlayerVideoSizeChangedMethod
public static void callOnPlayerVideoSizeChangedMethod(java.lang.Object thiz, java.lang.String streamID, int width, int height)
-
callOnPublisherVideoSizeChangedMethod
public static void callOnPublisherVideoSizeChangedMethod(java.lang.Object thiz, int width, int height, ZegoPublishChannel channel)
-
callOnPublisherVideoEncoderChangedMethod
public static void callOnPublisherVideoEncoderChangedMethod(java.lang.Object thiz, ZegoVideoCodecID fromCodecID, ZegoVideoCodecID toCodecID, ZegoPublishChannel channel)
-
callCustomVideoRenderOnCapturedVideoFrameRawDataMethod
public static void callCustomVideoRenderOnCapturedVideoFrameRawDataMethod(java.lang.Object thiz, java.nio.ByteBuffer[] data, int[] dataLength, ZegoVideoFrameParam param, ZegoVideoFlipMode flipMode, ZegoPublishChannel channel)
-
callCustomVideoRenderOnCustomVideoRenderRemoteFrameDataMethod
public static void callCustomVideoRenderOnCustomVideoRenderRemoteFrameDataMethod(java.lang.Object thiz, java.nio.ByteBuffer[] data, int[] dataLength, ZegoVideoFrameParam param, java.lang.String streamID)
-
callCustomVideoRenderOnRemoteVideoFrameEncodedDataMethod
public static void callCustomVideoRenderOnRemoteVideoFrameEncodedDataMethod(java.lang.Object thiz, java.nio.ByteBuffer buffers, int dataLen, ZegoVideoEncodedFrameParam param, long referenceTimeMillisecond, java.lang.String streamID)
-
onCapturedUnprocessedRawData
public static void onCapturedUnprocessedRawData(java.lang.Object thiz, java.nio.ByteBuffer data, int[] dataLength, ZegoVideoFrameParam param, long referenceTimeMillisecond, ZegoPublishChannel channel)
-
onCapturedUnprocessedTextureData
public static void onCapturedUnprocessedTextureData(java.lang.Object thiz, int textureID, int width, int height, long referenceTimeMillisecond, ZegoPublishChannel channel)
-
getCustomVideoProcessInputSurfaceTexture
public static android.graphics.SurfaceTexture getCustomVideoProcessInputSurfaceTexture(java.lang.Object thiz, int width, int height, ZegoPublishChannel value)
-
callMediaPlayerSnapshotMethod
public static void callMediaPlayerSnapshotMethod(java.lang.Object takeSnapshotHandler, int errorCode, android.graphics.Bitmap image)
-
-