给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"
>
|
2022年12月14日问题依旧层出不齐。。。
https://developers.weixin.qq.com/community/develop/doc/000aea66914ef0929ade5aa7e56400
麻烦提供出现问题的机型和微信版本,以及能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)
微信版本6.7.3,基础库版本2.3.2,机型iphone6s 系统ios12 锤子OD103 系统:Android7.1.1 这个问题好像是普遍存在的 一试就知道了 因为使用了wepy框架不方便提供代码片段 在其他网站论坛也有人反馈这个问题 http://52miniapp.com/thread-28907-1-1.html 望官方早点重现解决
这个不需要框架哦,只需要简单的能复现问题的代码片段即可,定位问题需要代码片段哈(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)
wechatide://minicode/AcXdFMmP7O3y 我是拿wepy编译后的代码复制进代码片段文件夹里 应该运行不起来 抱歉第一次用代码片段这个功能 不知道我这样操作对不对
这个代码片段没有内容哦![]()
我找到原因了 是我在live-pusher和live-player里设置了orientation这个属性 另外给live-pusher设置device-position属性为back有时有效有时wux无效 希望官方拿多几个机型测试验证下 希望文档也尽量写清楚详细些吧 不然就让开发者无尽的去踩坑 浪费大量的时间 谢谢!