- live-pusher前置摄像头推流 live-play画面被旋转180度倒立了
给live-pusher设置device-position属性为back好像对ios手机无效 [代码]<[代码][代码]live-pusher[代码][代码] [代码][代码]id[代码][代码]=[代码][代码]"pushPlayer"[代码][代码] [代码][代码]orientation[代码][代码]=[代码][代码]"{{horizontal}}"[代码][代码] [代码][代码]mode[代码][代码]=[代码][代码]"{{mode}}"[代码][代码] [代码][代码]device-position[代码][代码]=[代码][代码]"{{front}}"[代码][代码] [代码][代码]muted[代码][代码]=[代码][代码]"{{muted}}"[代码][代码] [代码][代码]background-mute[代码][代码]=[代码][代码]"{{true}}"[代码][代码] [代码][代码]beauty[代码][代码]=[代码][代码]"{{beauty}}"[代码][代码] [代码][代码]class[代码][代码]=[代码][代码]"live-pusher"[代码][代码] [代码][代码]autopush[代码][代码]=[代码][代码]"{{autopush}}"[代码][代码] [代码][代码]@[代码][代码]statechange[代码][代码]=[代码][代码]"statechange"[代码][代码] [代码][代码]@[代码][代码]netstatus[代码][代码]=[代码][代码]"netstatusChange"[代码][代码] [代码][代码]url[代码][代码]=[代码][代码]"{{pushUrl}}"[代码][代码] [代码][代码]>[代码][代码]// 获取实例[代码][代码]that.pushPlayerCtx = wx.createLivePusherContext([代码][代码]'pushPlayer'[代码][代码]);[代码] [代码]//切换摄像头[代码][代码]that.pushPlayerCtx.switchCamera();[代码][代码]<[代码][代码]live-player[代码][代码] [代码][代码]hidden[代码][代码]=[代码][代码]"{{isLivePlay}}"[代码][代码] [代码][代码]id[代码][代码]=[代码][代码]"livePlayer"[代码][代码] [代码][代码]style[代码][代码]=[代码][代码]"width: 100%;height: 100%;background: #000;"[代码][代码] [代码][代码]src[代码][代码]=[代码][代码]"{{livePlayUrl}}"[代码][代码] [代码][代码]orientation[代码][代码]=[代码][代码]"{{horizontal}}"[代码][代码] [代码][代码]object-fit[代码][代码]=[代码][代码]"{{fillCrop}}"[代码][代码] [代码][代码]mode[代码][代码]=[代码][代码]"RTC"[代码][代码] [代码][代码]autoplay[代码][代码]=[代码][代码]"{{liveAutoplay}}"[代码][代码] [代码][代码]bindstatechange[代码][代码]=[代码][代码]"liveStateChange"[代码][代码] [代码][代码]binderror[代码][代码]=[代码][代码]"liveError"[代码][代码] [代码][代码]controls[代码][代码] [代码][代码]bindnetstatus[代码][代码]=[代码][代码]"liveNetStatus"[代码][代码] [代码][代码]>[代码]
2018-11-08 - 怎么把live-pusher的推流画面设置为全屏
怎么把live-pusher的推流画面设置为全屏,live-pusher的时候上面有个navigationBar栏目感觉很别扭,我想把它设置为全屏
2018-12-13