最近开发小程序视频会议,发现通过api wx.createLivePusherContext() 创建LivePusherContext之后,只能暂停背景音,或者切换摄像头,并没有关闭摄像头而打开背景音的方法:
方法
播放推流
停止推流
暂停推流
恢复推流
LivePusherContext.switchCamera()
切换前后摄像头
最近开发小程序视频会议,发现通过api wx.createLivePusherContext() 创建LivePusherContext之后,只能暂停背景音,或者切换摄像头,并没有关闭摄像头而打开背景音的方法:
方法
播放推流
停止推流
暂停推流
恢复推流
LivePusherContext.switchCamera()
切换前后摄像头