Merge Wave 5B: the phone, Android, and the quick share's sound
The phone's voice channel screen (mockup 02), Home and bottom navigation; Android cameras through Camera2, the screen shared into MediaCodec's input surface without a copy, notifications with working actions, "Share to Voelin"; the multi-select audio picker with app icons; and, asked by the user, the quick share's sound: the share dialog shows the studio's mixer rows (meter, gain, mute) for `stream.audio_sources` and its picker, and a running share follows changes live. docs/android.md rewritten. Conflicts: both waves gave studio cameras a new backend (Windows Media Foundation from Wave 6A, Android Camera2 here); both are kept, in the docs and code. The Windows build caught what the merge could not: each side's `Capture` initializers lacked the other's field, and Media Foundation cameras lacked `Camera::mirrored` (webcams face the user, so true). Checked: fmt, clippy (host, x86_64-pc-windows-gnu for voelin-media, both Android runs), and the tests of stream, media, core, ui, android and voelinctl. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
d715444abd
73 files changed
+4398
-355
No files matched your search
+23
-4
@@ -181,6 +181,25 @@ game"), which is also what the gateway's directory shows. With sample data
|
||||
the synthetic camera with background blur, text, colours) and test tones,
|
||||
on settings in memory, and recordings go to a temporary folder.
|
||||
|
||||
### Sound in the quick share
|
||||
|
||||
The share dialog (`share`, and `share:live` for a running share) mixes its
|
||||
sound with the studio's pieces: while "Share system audio" is on (off: no
|
||||
audio at all) it shows the studio's mixer rows (`MixerRow`: meter, gain,
|
||||
mute, a menu) for `stream.audio_sources`, and Add opens the studio's picker
|
||||
(`PickDialog`) over it: the microphone, desktop audio without Voelin, the
|
||||
shared window's application, any application that plays (on Android the
|
||||
launchable apps with their icons), several at once. The rows read the
|
||||
main window's `StudioBridge`, filled without starting the studio
|
||||
(`App::mixer_show`). Starting a share hands the sources to the capture
|
||||
(`CaptureRequest::audio_sources`); while it runs the dialog shows the
|
||||
same rows with the share mixer's meters (about 15 times a second), and
|
||||
every change of `stream.audio_sources`, from the dialog or anywhere else,
|
||||
goes to the running capture at once (`Capture::follow_audio`, which calls
|
||||
`Streamer::reconfigure`). A share started without sound has no audio track
|
||||
to add sources to. With sample data `share:live` shares the test pattern
|
||||
with the sample studio's sources, live at once with sample viewers.
|
||||
|
||||
## Adding a screen
|
||||
|
||||
1. Write the screen in `ui/screens/<name>.slint` from the components
|
||||
@@ -243,7 +262,7 @@ Environment variables (see `src/dev.rs`):
|
||||
- `VOELIN_DEMO_UI=1`: sample servers, channels, members, chat with emoji and
|
||||
a stream, without a server (nothing is stored).
|
||||
- `VOELIN_OPEN=<what>[,<what>...]`: `home`, `server`, `settings[:voice|keybinds|streaming|privacy|appearance]`,
|
||||
`about`, `share`, `bookmark`, `emoji`, `client`, `panel`, `no-panel`,
|
||||
`about`, `share[:live]`, `bookmark`, `emoji`, `client`, `panel`, `no-panel`,
|
||||
`voice`, `pins`, `topics`, `topic:<id>`, `member`, `watch`, `popout`
|
||||
(the server page, above), `tab:<home|servers|chat|activity|you>` (phone
|
||||
layout). With sample data, `watch` plays the local test pattern in the
|
||||
@@ -296,13 +315,13 @@ the window's size so the pointer is not over the window, and passes
|
||||
|  |  |
|
||||
|  |  |
|
||||
|  |  |
|
||||
|  |  |
|
||||
|  | |
|
||||
|  |  |
|
||||
|  |  |
|
||||
|
||||
| Phone layout | | | | |
|
||||
|---|---|---|---|---|
|
||||
|  |  |  |  |  |
|
||||
|  | | | | |
|
||||
|  |  |  |  |  |
|
||||
|
||||
## Limits
|
||||
|
||||
|
||||
Reference in new issue
Block a user