setCameraProperty abstract method

Future<bool> setCameraProperty(
  1. int width,
  2. int height,
  3. int frameRate
)

设置摄像头采集属性

在调用 @ref JCCallItem.startSelfVideo "startSelfVideo" 方法或 @ref JCMediaChannelParticipant.startVideo "startVideo" 方法开启自身视频渲染前设置即可生效

width 采集宽度,默认640 height 采集高度,默认360 frameRate 采集帧速率,默认24

Implementation

Future<bool> setCameraProperty(int width, int height, int frameRate);