feat: Working VoIP calling implementation (Flutter + Android)
Working video and audio calls, as well as android integration
This commit is contained in:
commit
96a7e211a0
60 changed files with 2445 additions and 0 deletions
28
lib/models/call_state.dart
Normal file
28
lib/models/call_state.dart
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
enum CallState {
|
||||
Idle,
|
||||
IncomingReceived,
|
||||
PushIncomingReceived,
|
||||
OutgoingInit,
|
||||
OutgoingProgress,
|
||||
OutgoingRinging,
|
||||
OutgoingEarlyMedia,
|
||||
Connected,
|
||||
StreamsRunning,
|
||||
Pausing,
|
||||
Paused,
|
||||
Resuming,
|
||||
Referred,
|
||||
Error,
|
||||
End,
|
||||
PausedByRemote,
|
||||
UpdatedByRemote,
|
||||
IncomingEarlyMedia,
|
||||
Updating,
|
||||
Released,
|
||||
EarlyUpdatedByRemote,
|
||||
EarlyUpdating;
|
||||
|
||||
static CallState fromOrdinal(int ordinal) {
|
||||
return values[ordinal];
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue