mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 08:17:01 +00:00
examples: webrtc: rust: i64 -> u64 for session and handle ids
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5307>
This commit is contained in:
parent
c7e6463e9e
commit
003e419ff5
1 changed files with 4 additions and 4 deletions
|
@ -101,13 +101,13 @@ pub struct Args {
|
|||
struct Base {
|
||||
janus: String,
|
||||
transaction: Option<String>,
|
||||
session_id: Option<i64>,
|
||||
session_id: Option<u64>,
|
||||
sender: Option<i64>,
|
||||
}
|
||||
|
||||
#[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
|
||||
|
|
Loading…
Reference in a new issue