更新记录
1.0.1(2026-03-19)
稍作修改
1.0.0(2026-03-19)
首次发布
平台兼容性
uni-app(4.76)
| Vue2 | Vue3 | Chrome | Safari | app-vue | app-nvue | Android | iOS | 鸿蒙 |
|---|---|---|---|---|---|---|---|---|
| √ | - | × | × | × | √ | 8.0 | 12 | - |
| 微信小程序 | 支付宝小程序 | 抖音小程序 | 百度小程序 | 快手小程序 | 京东小程序 | 鸿蒙元服务 | QQ小程序 | 飞书小程序 | 小红书小程序 | 快应用-华为 | 快应用-联盟 |
|---|---|---|---|---|---|---|---|---|---|---|---|
| × | × | × | × | × | × | × | × | × | - | × | × |
cs TLive 腾讯云直播美颜 UTS 插件
基于腾讯云直播 SDK 和 XMagic 美颜 SDK 的 UniApp UTS 插件,提供完整的直播推流、美颜、特效等功能。
功能特性
- 🎥 直播推流:支持摄像头推流和屏幕录制推流
- 💄 美颜功能:基础美颜、滤镜、贴纸、背景分割等
- 🎭 特效功能:2D/3D 动效、手势识别、人脸识别
- 📱 多端支持:Android 平台完整支持
- 🔧 易于集成:简单的 API 接口,快速集成
快速开始
安装
将 cs-tlive 模块复制到项目的 uni_modules 目录下。
基本使用
<template>
<live-camera-view
ref="cameraView"
@onpreviewstart="onPreviewStart"
/>
</template>
<script>
import { checkLivePermissions, requestLivePermissions } from '@/uni_modules/cs-tlive'
export default {
mounted() {
this.initCamera()
},
methods: {
initCamera() {
const hasPermission = checkLivePermissions()
if (hasPermission.granted) {
this.$refs.cameraView.init()
this.$refs.cameraView.startPreview()
}
}
}
}
</script>

收藏人数:
[object Object]
购买普通授权版(
试用
使用 HBuilderX 导入示例项目
赞赏(0)
下载 998
赞赏 0
下载 11481405
赞赏 1881
赞赏
京公网安备:11010802035340号