SoraCameraConfig

data class SoraCameraConfig(val captureType: SoraVideoOption.CaptureType = SoraVideoOption.CaptureType.DEVICE_CAMERA, var width: Int = 640, var height: Int = 480, var frameRate: Int = 30, val frontFacingFirst: Boolean = true, val initialVideoHardMute: Boolean = false)

SDK 内部で CameraVideoCapturer を生成・管理するためのオプションです.

Parameters

captureType

映像の取得元

width

映像の幅

height

映像の高さ

frameRate

映像のフレームレート

frontFacingFirst

複数のカメラがある場合にフロントカメラを優先するかどうか

initialVideoHardMute

Sora 接続開始時に映像をハードミュートするかどうか

Constructors

Link copied to clipboard
constructor(captureType: SoraVideoOption.CaptureType = SoraVideoOption.CaptureType.DEVICE_CAMERA, width: Int = 640, height: Int = 480, frameRate: Int = 30, frontFacingFirst: Boolean = true, initialVideoHardMute: Boolean = false)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var height: Int
Link copied to clipboard
Link copied to clipboard
var width: Int