jiuyiUniapp/jiuyi2/lib/commonjs/components/Agora-RTC-JS/RtcSurfaceView.nvue

40 lines
727 B
Plaintext

<template>
<Agora-RTC-SurfaceView :zOrderMediaOverlay="zOrderMediaOverlay" :zOrderOnTop="zOrderOnTop" :renderMode="renderMode"
:data="{uid:uid, channelId:channelId}" :mirrorMode="mirrorMode"></Agora-RTC-SurfaceView>
</template>
<script>
import {
VideoRenderMode,
VideoMirrorMode
} from './common/Enums';
export default {
name: 'RtcSurfaceView',
props: {
zOrderMediaOverlay: {
type: Boolean,
default: false
},
zOrderOnTop: {
type: Boolean,
default: false
},
renderMode: {
type: Number,
default: VideoRenderMode.Hidden
},
uid: Number,
channelId: String,
mirrorMode: {
type: Number,
default: VideoMirrorMode.Auto
}
},
}
</script>
<style>
</style>