feat/calls #62

Open
notazof wants to merge 104 commits from feat/calls into main
Owner
No description provided.
Remux completed broadcasts with FFmpeg, retain source segments and account for both formats. Serve authenticated byte ranges and add native Android/Desktop replay controls with auto-hide.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Reuse oriented Android EGL frames and duplicate Desktop video output before encoding without microphone monitoring. Cover preview lifecycle, rendering and recording with targeted tests and document the feature.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Store HideIpAddressInCalls on user accounts, expose it in the profile API and PostIt editor, and preserve preferences for older clients. Add the EF migration, regression tests and architecture documentation.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Wire shared PostIt call signaling, account-derived relay policy and temporary TURN credentials. Keep calls disabled pending native Android/Linux media integration. Document experimental Android crash and laboratory removal.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Reuse existing ChatHub consent and Podcast LibVLC capture for direct bidirectional H.264/AAC media, with embedded call controls and cleanup. Require HTTPS key exchange and reject IP-masking policies for this opt-in LAN/VPN transport.

Add native SRTP, signaling and lifecycle tests; document setup and remaining physical-device validation.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Share the LibVLC SRTP engine with Linux and feed Android MediaRecorder output through its native pipe without transcoding or HLS files. Reuse front-camera capture, preview, remote rendering and foreground service with consent-based controls and background cleanup.

Use separate RTP/RTCP ports to avoid the diagnosed Android VLC SDP crash. Add physical-device media checks and lifecycle regressions; document LAN/VPN scope and remaining separate-device validation.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Persist scheduled emissions, expose owner-only planning controls in PostIt and publish optional presentation-only announcements on Yavsc.Org. Preserve manual broadcasting and authenticated playback.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Persist PostIt podcast device and title preferences
All checks were successful
Forgejo Release / release (push) Successful in 13m7s
ff1a016c91
Remember detected capture devices, camera and microphone selections, and the default podcast title in user settings. Restore preferences on page creation and surface save failures.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Reuse camera and microphone preferences across podcast and chat-room pages. Restore available LAN/VPN addresses without persisting disclosure consent, and cover shared preferences and save failures with regression tests.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Use shared unicast IPv4 validation for interface discovery, media endpoints and server signaling. Preserve disclosure consent and privacy constraints, and document direct connectivity requirements.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Extend shared endpoint validation, interface discovery and native media sockets to IPv6. Add real bidirectional IPv6 SRTP, wrong-key rejection and port lifecycle tests, and document connectivity limitations.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Share the chat transport between UI, calls and an opt-in background service. Restore account rooms and attempt boot restart, keeping event alerts independent from connection permissions. Document Android limits and add lifecycle regressions.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Detach preview callbacks through the retained surface holder before deferred native view destruction. Cover native preview teardown followed by camera capture and document the regression check.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Calculate and enforce configurable resource consumption, expose balances in PostIt and document the rule in CGU. Add confirmed monthly PayPal credits and disk quotas of twice the free default for Discovery and five times for Premium, with payment reconciliation, migrations and regression tests.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Persist per-file storage receipts, preserve refundability on rename, account for PDF replacements and permit deletion at the consumption limit. Update CGU, installation documentation and regression tests.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Support scoped RTMPS publishing through MediaMTX, authenticated replay, resource accounting and PostIt activation/revocation. Close withdrawn accounts, erase managed files and purge eligible payment residues after one year. Include migrations, documentation and regression tests.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Manage bounded UDP listeners directly in Yavsc.Api, expose secret SRT URLs in PostIt, and preserve quotas, revocation and replay. Update deployment and privacy documentation, remove relay configuration, and add real-media lifecycle regressions.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Don(t block the administration
Some checks failed
Dotnet build and test / build (pull_request) Failing after 15s
2ff595a3ef
allow partial restore
Some checks failed
Dotnet build and test / build (pull_request) Failing after 13m52s
7325a8ec8a
test needs ffmpeg
Some checks failed
Dotnet build and test / build (pull_request) Failing after 12m7s
f54cb90172
ffmpeg from the build image
Some checks failed
Dotnet build and test / build (pull_request) Failing after 12m23s
2179a5b22f
use Npgsql @CI
Some checks failed
Dotnet build and test / build (pull_request) Failing after 11s
47b2a1bd27
try Npgsql in CI
Some checks failed
Dotnet build and test / build (pull_request) Failing after 15m45s
Forgejo Release / release (push) Successful in 10m25s
3795d6c5f5
Start Postgres
Some checks are pending
Dotnet build and test / build (pull_request) Has started running
24e4d9f8a3
removes 'docker run' usages
Some checks failed
Dotnet build and test / build (pull_request) Failing after 18s
737145dd2c
removes confilct between 'run on' and conainer image
Some checks failed
Dotnet build and test / build (pull_request) Failing after 11s
362e3aa142
pgsql17
Some checks failed
Dotnet build and test / build (pull_request) Failing after 29s
b1be8e16c5
Add bearer-authenticated subscription checkout, reconciliation and cancellation on the authority host, reuse web subscription services, and document the flow with regression tests.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Replace the direct chat call panel with native Android and Linux WebRTC engines, enforce relay-only privacy, and cover consent, lifecycle, rendering and coturn interoperability. Document deployment and upgrade Avalonia to 12.1.6.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
test reorg/filtering
Some checks failed
Dotnet build and test / build (pull_request) Failing after 25s
4f95a8840c
Postgres should already be running
Some checks failed
Dotnet build and test / build (pull_request) Failing after 10m20s
3ca07a8c1c
Fixes the build
All checks were successful
Dotnet build and test / build (pull_request) Successful in 14m30s
e35cc5a87f
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Own the headless session lifecycle, centralize window cleanup, migrate subscription page bindings, and guard shared runtime access during the progressive migration.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add Category=non-reg to all 75 test classes across the four server test projects, preserve existing traits, document filtered execution, and remove the empty Services class.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Recreate the anchored SQLite test schema before seeding, restore haircut command seeds, and preserve problem+json error responses with matching OpenAPI metadata. Add regression coverage for repeated resets and response contracts. Verified all 227 API SQLite tests pass.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
better
All checks were successful
Dotnet build and test / build (pull_request) Successful in 20m29s
9a0b5cc06c
Persist private alerts at 50, 75, 90, 95 and 99 percent of net consumption, reporting only the highest crossed threshold and rearming after consumption decreases. Keep notification reading and dismissal accessible at quota. Add crossing, concurrency, rollback and privacy tests. Verified 229 API and 238 server tests pass.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
restores the blogs page header height, and fixes the bool 'is in a romm and connected'
Some checks failed
Forgejo Release / release (push) Has been cancelled
Dotnet build and test / build (pull_request) Has been cancelled
b709d4dd6d
feat(postit): keep sessions online and replace banner with auth modal
All checks were successful
Forgejo Release / release (push) Successful in 10m4s
Dotnet build and test / build (pull_request) Successful in 15m16s
0ac6970e9d
Remove the sticky session banner, keep the app connected when possible, restore sessions silently on startup, and show a blocking authentication modal with login, register, and forgot-password actions when auto-reconnect cannot resume the session. Add targeted auth and responsive-layout regressions and update the architecture notes to match the session lifecycle.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
No more Platform menu.
Some checks failed
Forgejo Release / release (push) Successful in 14m11s
Dotnet build and test / build (pull_request) Failing after 16m7s
0b0a6e6040
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Persist contact options and announce them on chat connection and reconnection. Prepare the audio-only call contract; enforcement and audio-only media remain unimplemented.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Filter video calls and private messages per connection and prepare mode-aware call signaling. Audio-only media remains unimplemented.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Use the shared LibVLC audio-video pipeline for camera-free calls on Linux and Android. Add capability signaling, microphone-only Android capture, avatar lifecycle handling and regression tests.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- ReplayEditPlan turns removed ranges into kept ranges (merge, clamp,
  reject empty, out-of-range, total or excessive removals).
- FfmpegPodcastReplayEditor renders kept ranges with one accurate-seek
  FFmpeg input per range, concat and H.264/AAC re-encoding (faststart).
- Share the FFmpeg runner (FfmpegProcess) with the replay remuxer.
- Tests check exact kept frames, audio/video durations, faststart and
  quota, with and without a start offset.
- Document the server prototype results in doc/video-edition.md.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Emissions opted into RefineReplay (ignored for OBS) get an owner-only
source.mp4 draft after the live or an interruption. The owner saves
revisioned marks and removed ranges, streams the source and queues an
idempotent publication; the worker renders or copies it within quota and
atomically replaces replay.mp4. Originals and drafts stay private until
publication, and the web catalogue shows "Replay en preparation".

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
RetentionDays (0-365, default 7) sets OriginalsExpireAt from the end of
the live, or from publication with 0 days. The replay worker purges the
segments, source and draft of published emissions and deletes emissions
never published by the deadline, marking their flow deleted. Owners can
purge published originals early with DELETE podcasts/{id}/originals.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Create lives with RefineReplay and RetentionDays, save and publish drafts,
delete published originals and read the owner-only draft source by bounded,
verified byte ranges. PodcastReplayMediaInput can stream the draft source.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Replace [AvaloniaFact]/[AvaloniaTheory] and direct GetOrStartForAssembly
dispatches with ui.RunAsync in AvaloniaUiCollection, avoiding a second
headless session that could hang PodcastBroadcasterTests. Add a synchronous
RunAsync overload and update MessagingSessionTests contact-preference
assertions for the audio-only capabilities announced on Linux desktop.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Ajoute à la page podcasts le choix du raffinage et de la conservation des
originaux (émission préparée et direct immédiat), l'état du brouillon et
l'échéance pour l'auteur, la publication du brouillon tel quel et la
suppression confirmée des originaux après publication. La lecture choisit
le MP4 publié, sinon les originaux pour l'auteur, et informe les autres
utilisateurs que le replay est en cours de finalisation.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
L'auteur édite le brouillon d'un replay raffiné depuis PostIt desktop :
navigation image par image, marques au temps courant (Ctrl+M) avec
miniatures locales, plages supprimées entre deux marques, rétablissement,
enregistrement avec contrôle de révision (un conflit conserve les
modifications locales) et publication après enregistrement.

ReplayEditPlan passe dans Yavsc.Abstract pour que le client fusionne et
valide les plages comme le serveur.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Le brouillon accepte un titre facultatif par marque (120 caractères au
plus) ; la publication convertit les temps vers la chronologie du MP4,
intègre les chapitres par FFmpeg sans réencodage et les expose dans
PodcastResponse.Chapters. L'éditeur PostIt nomme les marques, le lecteur
PostIt et la page web des podcasts listent les chapitres cliquables.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
En portrait, le panneau des marques et des plages passe sous la vidéo
native. La barre native du replay affiche l'image pendant le glissement
(dernière position, au plus toutes les 60 ms). Les miniatures des marques
sont copiées depuis la surface native avec PixelCopy via la nouvelle
interface IVideoFrameCapture, l'instantané LibVLC ne lisant pas le
décodage matériel.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Preserve the shared SQLite schema while resetting
Some checks failed
Dotnet build and test / build (pull_request) Failing after 9m27s
56f9ad3706
Drops Android 23 support
Some checks failed
Dotnet build and test / build (pull_request) Has been cancelled
76df9a8c9b
target android sdk version is now 37
All checks were successful
Dotnet build and test / build (pull_request) Successful in 19m2s
b8e58f5b0c
All checks were successful
Dotnet build and test / build (pull_request) Successful in 19m2s
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin feat/calls:feat/calls
git switch feat/calls

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff feat/calls
git switch feat/calls
git rebase main
git switch main
git merge --ff-only feat/calls
git switch feat/calls
git rebase main
git switch main
git merge --no-ff feat/calls
git switch main
git merge --squash feat/calls
git switch main
git merge --ff-only feat/calls
git switch main
git merge feat/calls
git push origin main
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
notazof/yavsc!62
No description provided.