feat: 集成 LiveKit 视频通话与状态指示器
- 添加 LiveKit SDK 依赖及 JitPack 仓库 - 新增 LiveKit 配置界面(URL、房间、Token、自动连接开关) - 实现 LiveKitManager 管理连接状态 - 在 MainActivity 中动态生成 Token 并处理权限申请 - 添加状态指示器(statusIndicator)实时显示 MQTT/LiveKit 连接状态 - 新增监控脚本 monitor.py 用于远程查看视频流 - 更新版本号至 2603131822
This commit is contained in:
@@ -20,6 +20,16 @@
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<View
|
||||
android:id="@+id/statusIndicator"
|
||||
android:layout_width="16dp"
|
||||
android:layout_height="16dp"
|
||||
android:layout_marginStart="24dp"
|
||||
android:layout_marginTop="24dp"
|
||||
android:background="@drawable/status_indicator"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<com.example.lzwcai_terminal_temi.AnimatedEmojiView
|
||||
android:id="@+id/animatedEmojiView"
|
||||
android:layout_width="0dp"
|
||||
@@ -49,4 +59,4 @@
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
Reference in New Issue
Block a user