<webrtc-room>推流状态有1020,但live-pusher文档里没有
发布于 5 年前 作者 tao70 3798 次浏览 来自 问答

实时音视频,小程序端集成。https://cloud.tencent.com/document/product/647/17000

demo地址: https://github.com/TencentVideoCloudMLVBDev/MiniProgram


<live-pusher wx:if="{{pushURL}}" id="rtcpusher" autopush mode="RTC" url="{{pushURL}}" aspect="{{aspect}}" min-bitrate="{{minBitrate}}" max-bitrate="{{maxBitrate}}" audio-quality="high" beauty="{{beauty}}" muted="{{muted}}" waiting-image="https://mc.qcloudimg.com/static/img/daeed8616ac5df256c0591c22a65c4d3/pause_publish.jpg" background-mute="{{true}}" debug="{{debug}}" bindstatechange="onPush" binderror="onError">


live-pusher组件 onPush函数里面的状态处理,这里的1018、1019、1020状态 <live-pusher>组件的文档里面并没有。这个状态可以用吗?我这边暂时还不能真实测试

回到顶部