Add audio-only WebRTC calls

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Paul Schneider 2026-11-16 01:42:53 +00:00
commit 97e197996f
Signed by: notazof
GPG key ID: AD4B9B545FBD7D12
26 changed files with 384 additions and 94 deletions

View file

@ -6,6 +6,7 @@ public static class CallHubMethods
{
public const string SetContactPreferences = "SetContactPreferences";
public const string Invite = "InviteCall";
public const string InviteAudio = "InviteAudioCall";
public const string InviteLan = "InviteLanCall";
public const string Accept = "AcceptCall";
public const string End = "EndCall";
@ -16,7 +17,8 @@ public static class CallHubMethods
public const string SignalReceived = "CallSignal";
}
public sealed record ContactPreferences(bool AllowAudioCalls, bool AllowVideoCalls, bool AllowPrivateMessages);
public sealed record ContactPreferences(bool AllowAudioCalls, bool AllowVideoCalls, bool AllowPrivateMessages,
bool SupportsAudioOnly = false);
public enum CallDisplayMode
{