1
0
Fork 0
Agora-Miniapp-Tutorial/components/agora-pusher/agora-pusher.wxml

9 lines
885 B
Plaintext
Raw Normal View History

2022-06-06 11:51:36 +08:00
<!--components/agora-pusher.wxml-->
<view class="pusher-container" id="rtcpusher" style="top: {{y}}px; left: {{x}}px; width: {{width}}px; height: {{height}}px; position: absolute;">
<live-pusher wx:if="{{url!==''}}" style="height:{{height}}px; position: absolute; width: 100%; " url="{{url}}" mode="RTC" aspect="{{aspect}}" class="camera" bindstatechange="recorderStateChange" bindnetstatus="recorderNetChange" background-mute="true" muted="{{muted}}" beauty="{{beauty}}"
max-bitrate="500" min-bitrate="200" waiting-image="https://webdemo.agora.io/away.png" debug="{{debug}}" autopush="true" />
2022-06-20 11:25:53 +08:00
<!-- <cover-view wx-if="{{status !== 'ok'}}" class="sud flex-center-column" style="position: absolute; width: 100%; height: 100%;justify-content:center">
2022-06-06 11:51:36 +08:00
<cover-image style="width: 128px;height:103px" src="../../images/{{status}}.png"></cover-image>
2022-06-20 11:25:53 +08:00
</cover-view> -->
</view>