Exchange ClientIntroductionFrame/ClientIntroductionAckFrame after reconnected successfully

PiperOrigin-RevId: 544683178
This commit is contained in:
hai007
2023-06-30 09:58:09 -07:00
committed by Copybara-Service
parent 49965a6cf1
commit 036d4ee490
@@ -46,6 +46,7 @@ message V1Frame {
AUTHENTICATION_MESSAGE = 8;
AUTHENTICATION_RESULT = 9;
AUTO_RESUME = 10;
AUTO_RECONNECT = 11;
}
optional FrameType type = 1;
@@ -60,6 +61,7 @@ message V1Frame {
optional AuthenticationMessageFrame authentication_message = 9;
optional AuthenticationResultFrame authentication_result = 10;
optional AutoResumeFrame auto_resume = 11;
optional AutoReconnectFrame auto_reconnect = 12;
}
message ConnectionRequestFrame {
@@ -357,6 +359,16 @@ message AutoResumeFrame {
optional int32 next_payload_chunk_index = 3;
}
message AutoReconnectFrame {
enum EventType {
UNKNOWN_EVENT_TYPE = 0;
CLIENT_INTRODUCTION = 1;
CLIENT_INTRODUCTION_ACK = 2;
}
optional string endpoint_id = 1;
optional EventType event_type = 2;
}
message MediumMetadata {
// True if local device supports 5GHz.
optional bool supports_5_ghz = 1;