RTCEngine and SignalClient

This commit is contained in:
David Zhao
2021-07-20 15:38:30 -07:00
parent 941bbbdc32
commit b28466842f
8 changed files with 544 additions and 89 deletions
+18
View File
@@ -0,0 +1,18 @@
class LiveKitError extends Error {
String message;
LiveKitError(this.message);
@override
String toString() {
return message;
}
}
class ConnectError extends LiveKitError {
ConnectError([String msg = 'Failed to connect to server']) : super(msg);
}
class TrackPublishError extends LiveKitError {
TrackPublishError([String msg = 'Failed to publish track']) : super(msg);
}