From 003e419ff55dc1d02cb538161e936978c64f2c3f Mon Sep 17 00:00:00 2001 From: Eva Pace Date: Fri, 8 Sep 2023 16:18:11 -0300 Subject: [PATCH] examples: webrtc: rust: i64 -> u64 for session and handle ids Part-of: --- subprojects/gst-examples/webrtc/janus/rust/src/janus.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/subprojects/gst-examples/webrtc/janus/rust/src/janus.rs b/subprojects/gst-examples/webrtc/janus/rust/src/janus.rs index a3c71c9e49..de7aad49dd 100644 --- a/subprojects/gst-examples/webrtc/janus/rust/src/janus.rs +++ b/subprojects/gst-examples/webrtc/janus/rust/src/janus.rs @@ -101,13 +101,13 @@ pub struct Args { struct Base { janus: String, transaction: Option, - session_id: Option, + session_id: Option, sender: Option, } #[derive(Serialize, Deserialize, Debug)] struct DataHolder { - id: i64, + id: u64, } #[derive(Serialize, Deserialize, Debug)] @@ -186,8 +186,8 @@ impl std::ops::Deref for Peer { #[derive(Clone, Copy, Debug)] struct ConnectionHandle { - id: i64, - session_id: i64, + id: u64, + session_id: u64, } // Actual peer state