Static DEFAULT_STREAM_OPTIONS
DEFAULT_STREAM_OPTIONS: object
aspect
aspect: "9:16" = "9:16"
audioQuality
audioQuality: "high" = "high"
audioReverbType
audioReverbType: number = 0
audioVolumeType
audioVolumeType: "voicecall" = "voicecall"
autoFocus
autoFocus: true = true
autopush
autopush: true = true
backgroundMute
backgroundMute: true = true
beauty
beauty: number = 0
debug
debug: false = false
devicePosition
devicePosition: "front" = "front"
enableAgc
enableAgc: false = false
enableAns
enableAns: false = false
enableCamera
enableCamera: true = true
enableMic
enableMic: true = true
hidden
hidden: false = false
localMirror
localMirror: "auto" = "auto"
maxBitrate
maxBitrate: number = 600
minBitrate
minBitrate: number = 450
orientation
orientation: "vertical" = "vertical"
pushUrl
pushUrl: null = null
remoteMirror
remoteMirror: false = false
videoHeight
videoHeight: number = 640
videoWidth
videoWidth: number = 360
waitingImage
waitingImage: string = ""
waitingImageHash
waitingImageHash: string = ""
whiteness
whiteness: number = 0
该类表示微信小程序中的本地媒体流 该类表示微信小程序中的本地媒体流
由于微信小程序的特殊性, 无法通过DOM操作设置
<live-pusher>
的属性, 因此需要使用<local-stream>
组件来代替<live-pusher>
, 同理, 使用<remote-stream>
代替<live-player>
由于微信小程序的特殊性, 无法通过DOM操作设置
<live-pusher>
的属性, 因此需要使用<local-stream>
组件来代替<live-pusher>
, 同理, 使用<remote-stream>
代替<live-player>