diff --git a/src/rfc3711.rs b/src/rfc3711.rs index 89a067b..d4e427e 100644 --- a/src/rfc3711.rs +++ b/src/rfc3711.rs @@ -161,10 +161,10 @@ pub struct SrtcpContext { // TODO: support other fields pub master_key: Vec, pub master_salt: Vec, - pub highest_recv_index: PacketIndex, // NOTE: 47-bits + pub highest_recv_index: u32, // NOTE: 31-bits pub encryption: EncryptionAlgorithm, pub authentication: AuthenticationAlgorithm, - pub replay_list: SplaySet, + pub replay_list: SplaySet, pub session_encr_key: Vec, pub session_salt_key: Vec, pub session_auth_key: Vec,