voelin-ui: watch a stream as the design shows it
The viewer put a title bar above the picture and the chat in a column beside it. The design keeps the channel's header and puts the chat under the player, so the members panel stays beside it with the people in the channel first. The player is a card with the streamer, the title and the number of viewers over its top, LIVE and the picture's height (or the simulcast picker when the streamer offers layers) at the right, and the controls over its bottom: volume, the elapsed time, back to the chat while watching on, pop out and full screen. Under it a note says the stream belongs to the voice channel, then the chat and a Stream Info tab. In full screen and on a phone the player is alone and carries Leave. With sample data, `VOELIN_OPEN=watch` plays the local test pattern in the sample stream's place, so the screenshot shows a picture. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
6dfd501560
commit
2f2af64870
4 files changed
+324
-272
No files matched your search
@@ -154,12 +154,11 @@ pub(crate) fn start(ui: &MainWindow, switches: &Switches) -> Running {
|
||||
"member" => {
|
||||
with_app(|app| app.open_first_member());
|
||||
}
|
||||
"watch" => {
|
||||
with_app(|app| app.watch_first_stream());
|
||||
}
|
||||
"popout" => {
|
||||
with_app(|app| app.watch_first_stream());
|
||||
ui.global::<Bridge>().set_viewer_popped(true);
|
||||
"watch" | "popout" => {
|
||||
with_app(|app| {
|
||||
if switches.demo_ui { app.demo_watch() } else { app.watch_first_stream() }
|
||||
});
|
||||
ui.global::<Bridge>().set_viewer_popped(what == "popout");
|
||||
}
|
||||
// Opened once connected (settings_page.rs).
|
||||
"client" => {}
|
||||
|
||||
Reference in new issue
Block a user