upgrade protocol verstion to v9.

This commit is contained in:
cloudwebrtc
2023-04-07 11:04:15 +08:00
parent 6a0416026e
commit 8d2220c274
3 changed files with 3 additions and 1 deletions
+1
View File
@@ -46,6 +46,7 @@ extension ProtocolVersionExt on ProtocolVersion {
ProtocolVersion.v6: '6',
ProtocolVersion.v7: '7',
ProtocolVersion.v8: '8',
ProtocolVersion.v9: '9',
}[this]!;
}
+1 -1
View File
@@ -44,7 +44,7 @@ class ConnectOptions {
const ConnectOptions({
this.autoSubscribe = true,
this.rtcConfiguration = const RTCConfiguration(),
this.protocolVersion = ProtocolVersion.v8,
this.protocolVersion = ProtocolVersion.v9,
this.timeouts = Timeouts.defaultTimeouts,
});
}
+1
View File
@@ -15,6 +15,7 @@ enum ProtocolVersion {
v6, // Session migration
v7, // Remote unpublish
v8,
v9,
}
/// Connection state type used throughout the SDK.