Skip to content

Commit 6e97f96

Browse files
committed
ordering
1 parent d1797ca commit 6e97f96

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

webrtc/src/ice_transport/ice_connection_state.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,13 @@ impl From<&str> for RTCIceConnectionState {
8585
impl From<u8> for RTCIceConnectionState {
8686
fn from(v: u8) -> Self {
8787
match v {
88-
1 => RTCIceConnectionState::New,
89-
2 => RTCIceConnectionState::Checking,
90-
3 => RTCIceConnectionState::Connected,
91-
4 => RTCIceConnectionState::Completed,
92-
5 => RTCIceConnectionState::Disconnected,
93-
6 => RTCIceConnectionState::Failed,
94-
7 => RTCIceConnectionState::Closed,
88+
1 => RTCIceConnectionState::Closed,
89+
2 => RTCIceConnectionState::Failed,
90+
3 => RTCIceConnectionState::Disconnected,
91+
4 => RTCIceConnectionState::New,
92+
5 => RTCIceConnectionState::Checking,
93+
6 => RTCIceConnectionState::Completed,
94+
7 => RTCIceConnectionState::Connected,
9595
_ => RTCIceConnectionState::Unspecified,
9696
}
9797
}

0 commit comments

Comments
 (0)