im.zego.zegoexpress.entity.ZegoVideoConfig
Video config.
Declared in
entity/ZegoVideoConfig.java
Public-Attrib Lists
Public-Func Lists
Public-Attrib Docs
codecID
public ZegoVideoCodecID codecID
()
codec ID
Public-Func Docs
ZegoVideoConfig
public ZegoVideoConfig
(ZegoVideoConfigPreset preset)
Create video configuration with preset enumeration values.
ZegoVideoConfig
public ZegoVideoConfig
()
Create default video configuration(360p, 15fps, 600000bps)
setCaptureResolution
public void setCaptureResolution
(int
width, int
height)
Set the width and height of the capture resolution.
setEncodeResolution
public void setEncodeResolution
(int
width, int
height)
Set the width and height of the encode resolution.
setVideoFPS
public void setVideoFPS
(int
fps)
Set video resolution of the encode resolution.
setVideoBitrate
public void setVideoBitrate
(int
bitrate)
Set bit rate of the encode resolution, unit is kbps.
setCodecID
public void setCodecID
(ZegoVideoCodecID codecID)
Set video codecID.
ZegoVideoConfig
public ZegoVideoConfig
(ZegoResolution
resolution)