diff --git a/.gitattributes b/.gitattributes deleted file mode 100644 index 118a802..0000000 --- a/.gitattributes +++ /dev/null @@ -1,4 +0,0 @@ -# Auto detect text files and perform LF normalization -* text=auto -# Git LFS -*.tar.gz filter=lfs diff=lfs merge=lfs -text diff --git a/config/settings.py b/config/settings.py index 40a60cf..4711aae 100644 --- a/config/settings.py +++ b/config/settings.py @@ -132,4 +132,41 @@ 'edge': 0.3 } } +} + +XIADIE_CONFIG = { + 'model_path': 'model/xiadie/model.pth', + 'device': 'cuda', # 或 'cpu' + 'batch_size': 1, + 'input_size': (256, 256), + # 其他配置参数... +} + +# 添加 Jitsi Meet 配置 +JITSI_CONFIG = { + 'domain': 'meet.jit.si', + 'options': { + 'width': '100%', + 'height': '100%', + 'configOverwrite': { + 'startWithAudioMuted': False, + 'startWithVideoMuted': True, + 'disableDeepLinking': True + }, + 'interfaceConfigOverwrite': { + 'TOOLBAR_BUTTONS': [ + 'microphone', 'camera', 'closedcaptions', 'desktop', + 'fullscreen', 'hangup', 'chat', 'settings', 'raisehand', + 'videoquality', 'filmstrip', 'shortcuts' + ] + } + } +} + +# 添加 WebSocket 配置 +SOCKET_CONFIG = { + 'ping_timeout': 60, + 'ping_interval': 25, + 'cors_allowed_origins': '*', + 'max_http_buffer_size': 1e8 } \ No newline at end of file diff --git a/frontend/pages/display.html b/frontend/pages/display.html index 3b81075..67700a2 100644 --- a/frontend/pages/display.html +++ b/frontend/pages/display.html @@ -6,6 +6,7 @@ Meeting Scene Saver + @@ -618,6 +681,7 @@

Meeting Scene Saver

摄像头预览 +
@@ -714,7 +778,16 @@

相机参数设置

- +
+
+

姿态会议

+
+ + +
+
+ +
@@ -769,7 +842,18 @@

音频流状态

- +
+
+ +
+
+ + +
+
+ +
+