Merge the development branch: share menu, codec order, segmentation
Brings in the Share button's menu (Share screen / Stream Studio) and the removal of the separate Stream Studio button from the headers, the codecs every TeamSpeak client decodes ahead of H.264, the portal fix and person segmentation. The phone header keeps this branch's voice-channel button and hides the bell on the voice screen, and loses the Stream Studio button as the development branch wants. The studio's test table takes the segmentation rows and the Android camera row. MediaCodec follows the new codec order with no code change (Codecs orders every hardware factory's codecs); its description and docs/media.md now say so, including what that means on a phone without a hardware VP8, VP9 or AV1 encoder. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
698e5f911e
35 files changed
+24436
-224
No files matched your search
@@ -4,6 +4,8 @@ import { Theme } from "../theme.slint";
|
||||
import { Icons } from "../icons.slint";
|
||||
import { Bridge } from "../bridge.slint";
|
||||
import { Nav, SettingsSection } from "../nav.slint";
|
||||
import { StudioBridge } from "../studio-bridge.slint";
|
||||
import { ShareMenu } from "../share-menu.slint";
|
||||
import { Icon, IconButton, Avatar, Status } from "../components/index.slint";
|
||||
|
||||
// A rounded panel of the frame (sidebar, main area, right panel).
|
||||
@@ -143,12 +145,16 @@ export component VoiceButtons inherits HorizontalLayout {
|
||||
enabled: Bridge.voice-connected;
|
||||
clicked => { Bridge.set-output-muted(!Bridge.output-muted); }
|
||||
}
|
||||
if Bridge.streams-available && Bridge.can-share: IconButton {
|
||||
icon: Icons.monitor-up;
|
||||
label: Bridge.share-state == "live" ? @tr("Sharing") : @tr("Share screen");
|
||||
checked: Bridge.share-state == "live";
|
||||
size: root.size;
|
||||
clicked => { Nav.open-share(); }
|
||||
// A screen or window, or the Stream Studio (ShareMenu).
|
||||
if Bridge.streams-available && Bridge.can-share: VerticalLayout {
|
||||
IconButton {
|
||||
icon: Icons.monitor-up;
|
||||
label: Bridge.share-state == "live" ? @tr("Sharing") : StudioBridge.status.live ? @tr("Live in the Stream Studio") : @tr("Share or go live");
|
||||
checked: Bridge.share-state == "live" || StudioBridge.status.live;
|
||||
size: root.size;
|
||||
clicked => { share-menu.open(0, - root.size - share-menu.menu-height - 4px); }
|
||||
}
|
||||
share-menu := ShareMenu { }
|
||||
}
|
||||
IconButton {
|
||||
icon: Icons.settings;
|
||||
|
||||
@@ -218,13 +218,6 @@ export component TopBar inherits Rectangle {
|
||||
}
|
||||
}
|
||||
}
|
||||
IconButton {
|
||||
icon: Icons.radio;
|
||||
label: @tr("Stream Studio");
|
||||
checked: Nav.page == Page.studio;
|
||||
y: (parent.height - self.height) / 2;
|
||||
clicked => { Nav.open-studio(); }
|
||||
}
|
||||
IconButton {
|
||||
icon: Icons.users;
|
||||
label: @tr("Members");
|
||||
|
||||
@@ -172,15 +172,6 @@ export component MobileShell inherits Rectangle {
|
||||
Nav.show-voice(true);
|
||||
}
|
||||
}
|
||||
if !root.voice: IconButton {
|
||||
icon: Icons.radio;
|
||||
label: @tr("Stream Studio");
|
||||
round: true;
|
||||
filled: true;
|
||||
checked: Nav.page == Page.studio;
|
||||
y: (parent.height - self.height) / 2;
|
||||
clicked => { Nav.open-studio(); }
|
||||
}
|
||||
if !root.voice: IconButton {
|
||||
icon: Icons.bell;
|
||||
label: @tr("Notifications");
|
||||
|
||||
Reference in new issue
Block a user