uni-app 小程序组件live-pusher无法添加autopush属性 即使添加也不会被编译
uni-app 小程序组件live-pusher无法添加autopush属性 即使添加也不会被编译
开发环境 | 版本号 | 项目创建方式 |
---|---|---|
Windows | win11 | HBuilderX |
产品分类:uniapp/小程序/微信
PC开发环境操作系统:Windows
PC开发环境操作系统版本号:win11
HBuilderX类型:正式
HBuilderX版本号:4.17
第三方开发者工具版本号:1.06.2402040
基础库版本号:2.33.0
项目创建方式:HBuilderX
### 示例代码:
```html
<view class="pusher-box">
<live-pusher
id="livePusher"
autopush="{{autopush}}"
bindstatechange="pusherstatechange"
bindnetstatus="pusherNetstatus"
enable-camera="{{enableCamera}}"
mode="{{pusherMode}}"
audio-quality="{{audioQuality}}"
min-bitrate="{{minBitrate}}"
max-bitrate="{{maxBitrate}}"
class="livePusher32"
url="{{pushUrl}}"
binderror="binderror"
style="width: 1px; height: 2px;">
</live-pusher>
</view>
操作步骤:
无
预期结果:
autopush属性编译后能存在
实际结果:
组件上没有autopush属性
bug描述:
某些情况下llive-push组件必须要用自动推流,就是autopush属性,但是怎么调整都无法编译出来,即使我写了个组件用纯小程序语法也不行,建议修复下
更多关于uni-app 小程序组件live-pusher无法添加autopush属性 即使添加也不会被编译的实战教程也可以访问 https://www.itying.com/category-93-b0.html
1 回复