T1.6: Protocol version negotiation in handshake
This commit is contained in:
@@ -119,6 +119,8 @@ fn wzp_signal_serializes_into_fc_callsignal_payload() {
|
||||
signature: vec![3u8; 64],
|
||||
supported_profiles: vec![wzp_proto::QualityProfile::GOOD],
|
||||
alias: None,
|
||||
protocol_version: 2,
|
||||
supported_versions: vec![2],
|
||||
};
|
||||
|
||||
// Encode as featherChat CallSignal payload
|
||||
@@ -301,6 +303,8 @@ fn all_signal_types_map_correctly() {
|
||||
signature: vec![],
|
||||
supported_profiles: vec![],
|
||||
alias: None,
|
||||
protocol_version: 2,
|
||||
supported_versions: vec![2],
|
||||
},
|
||||
"Offer",
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user