Add audio-only WebRTC calls
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
parent
9e4f9d55ea
commit
97e197996f
26 changed files with 384 additions and 94 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue