live-pusher 只开音频 不要视频的 求解
<live-pusher id="pusher" url="rtmp://www.dlyunzhi.cn:111111111111" mode="RTC" bindstatechange="statechange" autopush="true" enable-camera="false" style="width: 300px; height: 225px;" /> |
官方文档
| enable-camera | Boolean | true | 开启摄像头 |
我写成了false了,还是一样会开启摄像头,为什么???
2。LivePusherContext 与页面的
组件绑定 这个是怎样绑定的????
我写了
<live-pusher id=“pusher”
js 里
const livePusherContext = wx.createLivePusherContext(“pusher”);
我想用 livePusherContext.start 为什么不起作用,success、fail、complete全都没反应,求解?
