feat: 真实连接链路、移除虚拟数据、全量打包脚本
This commit is contained in:
1 parent
31b9a52eb4
commit
34340f4126
16 files changed
+601
-204
No files matched your search
@@ -5,7 +5,7 @@ class VideoView extends StatelessWidget {
|
||||
super.key,
|
||||
this.textureId,
|
||||
this.connected = false,
|
||||
this.resolution = '1920x1080',
|
||||
this.resolution = '',
|
||||
this.pts,
|
||||
});
|
||||
|
||||
@@ -50,15 +50,16 @@ class VideoView extends StatelessWidget {
|
||||
style: theme.textTheme.bodySmall),
|
||||
],
|
||||
),
|
||||
Positioned(
|
||||
top: 12,
|
||||
left: 12,
|
||||
child: _Badge(
|
||||
icon: Icons.videocam,
|
||||
label: resolution,
|
||||
color: connected ? theme.colorScheme.primary : theme.colorScheme.outline,
|
||||
if (resolution.isNotEmpty)
|
||||
Positioned(
|
||||
top: 12,
|
||||
left: 12,
|
||||
child: _Badge(
|
||||
icon: Icons.videocam,
|
||||
label: resolution,
|
||||
color: connected ? theme.colorScheme.primary : theme.colorScheme.outline,
|
||||
),
|
||||
),
|
||||
),
|
||||
if (pts != null)
|
||||
Positioned(
|
||||
top: 12,
|
||||
|
||||
@@ -184,7 +184,7 @@ class _SettingsPageState extends State<SettingsPage> {
|
||||
controller: _signalingUrl,
|
||||
decoration: const InputDecoration(
|
||||
labelText: '外部信令服务器',
|
||||
hintText: 'http://192.168.1.5:8080',
|
||||
hintText: 'http://<信令服务器IP>:8080',
|
||||
prefixIcon: Icon(Icons.cloud),
|
||||
border: OutlineInputBorder(),
|
||||
),
|
||||
|
||||
Reference in new issue
Block a user