live-pusher属性值的改变

例如:组件推流过程中,切换前后摄像头时,要改变mirror的值并使其生效;

LivePusherContext = wx.createLivePusherContext()

1.  LivePusherContext.switchCamera()

2. LivePusherContext.stop()

3.this.mirror = !this.mirror 

4.LivePusherContext.start()

猜你喜欢

转载自www.cnblogs.com/wstmljf/p/12080536.html
今日推荐