Package us.zoom.sdk
Class ZoomSDKRenderer
- java.lang.Object
-
- us.zoom.sdk.ZoomSDKRenderer
-
- All Implemented Interfaces:
IZoomSDKRenderer
public class ZoomSDKRenderer extends java.lang.Object implements IZoomSDKRenderer
Zoom SDK video raw data render.
-
-
Constructor Summary
Constructors Constructor Description ZoomSDKRenderer(IZoomSDKVideoRawDataDelegate dataDelegate)
ZoomSDKRenderer Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ZoomSDKRawDataType
getRawDataType()
ZoomSDKVideoResolution
getResolution()
long
getUserId()
void
setRawDataResolution(ZoomSDKVideoResolution resolution)
Set the raw data video mResolution .MobileRTCRawDataError
subscribe(long userId, ZoomSDKRawDataType type)
Subscribe user video by userId,rawDataTypeMobileRTCRawDataError
unSubscribe()
unSubscribe raw data.
-
-
-
Constructor Detail
-
ZoomSDKRenderer
public ZoomSDKRenderer(IZoomSDKVideoRawDataDelegate dataDelegate)
ZoomSDKRenderer Constructor- Parameters:
dataDelegate
- video raw data callbackIZoomSDKVideoRawDataDelegate
-
-
Method Detail
-
setRawDataResolution
public void setRawDataResolution(ZoomSDKVideoResolution resolution)
Set the raw data video mResolution .- Specified by:
setRawDataResolution
in interfaceIZoomSDKRenderer
- Parameters:
resolution
-ZoomSDKVideoResolution
-
subscribe
public MobileRTCRawDataError subscribe(long userId, ZoomSDKRawDataType type)
Description copied from interface:IZoomSDKRenderer
Subscribe user video by userId,rawDataType- Specified by:
subscribe
in interfaceIZoomSDKRenderer
- Parameters:
userId
- the target subscribe userIdtype
- raw data type : share or videoZoomSDKRawDataType
- Returns:
MobileRTCSDKError
-
unSubscribe
public MobileRTCRawDataError unSubscribe()
unSubscribe raw data. User should call when leaveRoom room or remove render view- Specified by:
unSubscribe
in interfaceIZoomSDKRenderer
- Returns:
MobileRTCSDKError
-
getResolution
public ZoomSDKVideoResolution getResolution()
- Specified by:
getResolution
in interfaceIZoomSDKRenderer
-
getRawDataType
public ZoomSDKRawDataType getRawDataType()
- Specified by:
getRawDataType
in interfaceIZoomSDKRenderer
-
getUserId
public long getUserId()
- Specified by:
getUserId
in interfaceIZoomSDKRenderer
-
-