<!-- template 1v1 -->
<template name='1v1'>
	<view class="template-1v1">
		<view wx:for="{{streamList}}" wx:for-item="item" wx:key="index" class="view-container player-container">
			<live-player class="{{item.userID=='0'|| item.userID=='share-userId'?'player':'player1'}}" id="{{item.streamID}}" data-userid="{{item.userID}}" data-streamid="{{item.streamID}}" data-streamtype="{{item.streamType}}" src="{{item.src}}" mode="RTC" autoplay="{{item.autoplay}}" mute-audio="{{item.muteAudio}}" mute-video="{{item.muteVideo}}" background-mute="{{item.enableBackgroundMute}}" min-cache="{{item.minCache}}" max-cache="{{item.maxCache}}" sound-mode="{{item.soundMode}}" enable-recv-message="{{item.enableRecvMessage}}" auto-pause-if-navigate="{{item.autoPauseIfNavigate}}" auto-pause-if-open-native="{{item.autoPauseIfOpenNative}}" debug="{{debug}}" orientation="{{item.orientation}}" bindstatechange="_playerStateChange" bindfullscreenchange="_playerFullscreenChange" bindnetstatus="_playerNetStatus" bindaudiovolumenotify="_playerAudioVolumeNotify">
				<cover-image wx:if="{{streamList[0].orientation=='horizontal'}}" style="position:fixed;bottom:50rpx;left:50rpx;z-index:9999999999;width:50rpx;height:50rpx" src="https://bucketnj1-1254259530.cos.ap-nanjing.myqcloud.com/icon/%E7%BB%88%E7%89%88%E9%80%80%E5%87%BA%E5%85%A8%E5%B1%8F.png" bindtap="exitFullScreen"></cover-image>
				<cover-image wx:if="{{streamList[0].orientation=='vertical'}}" style="position:fixed;top:420rpx;right:50rpx;z-index:9999999999;width:50rpx;height:50rpx" src="https://bucketnj1-1254259530.cos.ap-nanjing.myqcloud.com/icon/%E7%BB%88%E7%89%88%E5%85%A8%E5%B1%8F.png" bindtap="fullScreen"></cover-image>
				<cover-view wx:if="{{showmodal}}" class="{{streamList[0].orientation=='horizontal'?'modol1':'modol'}}">
					<cover-image src="../../images/lmbj.png" class="lm"></cover-image>
					<cover-view class="t1">老师向你发起连麦申请</cover-view>
					<cover-view class="t2">{{second}}秒之后自动关闭</cover-view>
					<cover-view class="t4" style="width:300rpx" bindtap="answer1">接听</cover-view>
					<cover-view class="t5" style="width:300rpx" bindtap="refuse1">关闭</cover-view>
				</cover-view>
			</live-player>
		</view>
		<view class="view-container pusher-container {{pusher.enableCamera?'':'none'}} {{streamList.length===0? 'fullscreen':''}}">
			<live-pusher class="pusher" url="{{pusher.url}}" mode="{{item.mode}}" autopush="{{pusher.autopush}}" enable-camera="{{pusher.enableCamera}}" enable-mic="{{pusher.enableMic}}" muted="{{!pusher.enableMic}}" enable-agc="{{pusher.enableAgc}}" enable-ans="{{pusher.enableAns}}" enable-ear-monitor="{{pusher.enableEarMonitor}}" auto-focus="{{pusher.enableAutoFocus}}" zoom="{{pusher.enableZoom}}" min-bitrate="{{pusher.minBitrate}}" max-bitrate="{{pusher.maxBitrate}}" video-width="{{pusher.videoWidth}}" video-height="{{pusher.videoHeight}}" beauty="{{pusher.beautyLevel}}" whiteness="{{pusher.whitenessLevel}}" orientation="{{pusher.videoOrientation}}" aspect="{{pusher.videoAspect}}" object-fit="contain" device-position="{{pusher.frontCamera}}" remote-mirror="{{pusher.enableRemoteMirror}}" local-mirror="{{pusher.localMirror}}" background-mute="{{pusher.enableBackgroundMute}}" audio-quality="{{pusher.audioQuality}}" audio-volume-type="{{pusher.audioVolumeType}}" audio-reverb-type="{{pusher.audioReverbType}}" waiting-image="{{pusher.waitingImage}}" debug="{{debug}}" bindstatechange="_pusherStateChangeHandler" bindnetstatus="_pusherNetStatusHandler" binderror="_pusherErrorHandler" bindbgmstart="_pusherBGMStartHandler" bindbgmprogress="_pusherBGMProgressHandler" bindbgmcomplete="_pusherBGMCompleteHandler" bindaudiovolumenotify="_pusherAudioVolumeNotify" />
		</view>
	</view>
</template>