Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sdroege/gst-plugin-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorThibault Saunier <tsaunier@igalia.com>2022-10-20 13:37:47 +0300
committerThibault Saunier <tsaunier@igalia.com>2022-10-20 14:32:31 +0300
commit71ed04d89bb9dfaa6b3cf5747e6d72cafcf583d5 (patch)
tree53cd636b0a67086754f5375acb78b610d1d3b112 /net
parent25bda89ac8c6ecb7d0e1a1dba834cdf1189119a2 (diff)
webrtc: Rename signaller and protocol crates
Diffstat (limited to 'net')
-rw-r--r--net/webrtc/Cargo.toml2
-rw-r--r--net/webrtc/protocol/Cargo.toml2
-rw-r--r--net/webrtc/signalling/Cargo.toml4
-rw-r--r--net/webrtc/signalling/src/bin/server.rs4
-rw-r--r--net/webrtc/signalling/src/handlers/mod.rs2
-rw-r--r--net/webrtc/src/signaller/imp.rs2
6 files changed, 8 insertions, 8 deletions
diff --git a/net/webrtc/Cargo.toml b/net/webrtc/Cargo.toml
index 753bd3b8..225a0c10 100644
--- a/net/webrtc/Cargo.toml
+++ b/net/webrtc/Cargo.toml
@@ -27,7 +27,7 @@ async-tungstenite = { version = "0.17", features = ["async-std-runtime", "async-
serde = "1"
serde_json = "1"
fastrand = "1.0"
-webrtcsink-protocol = { version = "0.1", path="protocol" }
+gst_plugin_webrtc_protocol = { version = "0.1", path="protocol", package = "gst-plugin-webrtc-signalling-protocol" }
human_bytes = "0.3.1"
[dev-dependencies]
diff --git a/net/webrtc/protocol/Cargo.toml b/net/webrtc/protocol/Cargo.toml
index e20fe44f..19d32f1a 100644
--- a/net/webrtc/protocol/Cargo.toml
+++ b/net/webrtc/protocol/Cargo.toml
@@ -1,5 +1,5 @@
[package]
-name="webrtcsink-protocol"
+name="gst-plugin-webrtc-signalling-protocol"
version = "0.1.0"
edition = "2021"
authors = ["Mathieu Duponchelle <mathieu@centricular.com>"]
diff --git a/net/webrtc/signalling/Cargo.toml b/net/webrtc/signalling/Cargo.toml
index 1008b819..60482885 100644
--- a/net/webrtc/signalling/Cargo.toml
+++ b/net/webrtc/signalling/Cargo.toml
@@ -1,5 +1,5 @@
[package]
-name="webrtcsink-signalling"
+name="gst-plugin-webrtc-signalling"
version = "0.1.0"
edition = "2018"
authors = ["Mathieu Duponchelle <mathieu@centricular.com>"]
@@ -23,4 +23,4 @@ uuid = { version = "1", features = ["v4"] }
thiserror = "1"
test-log = { version = "0.2", features = ["trace"], default-features = false }
pin-project-lite = "0.2"
-webrtcsink-protocol = { version = "0.1", path="../protocol" }
+gst_plugin_webrtc_protocol = { version = "0.1", path="../protocol", package = "gst-plugin-webrtc-signalling-protocol" }
diff --git a/net/webrtc/signalling/src/bin/server.rs b/net/webrtc/signalling/src/bin/server.rs
index 1ccad92e..52219da9 100644
--- a/net/webrtc/signalling/src/bin/server.rs
+++ b/net/webrtc/signalling/src/bin/server.rs
@@ -2,9 +2,9 @@
use async_std::task;
use clap::Parser;
+use gst_plugin_webrtc_signalling::handlers::Handler;
+use gst_plugin_webrtc_signalling::server::Server;
use tracing_subscriber::prelude::*;
-use webrtcsink_signalling::handlers::Handler;
-use webrtcsink_signalling::server::Server;
use anyhow::Error;
use async_native_tls::TlsAcceptor;
diff --git a/net/webrtc/signalling/src/handlers/mod.rs b/net/webrtc/signalling/src/handlers/mod.rs
index abd05128..5095dc94 100644
--- a/net/webrtc/signalling/src/handlers/mod.rs
+++ b/net/webrtc/signalling/src/handlers/mod.rs
@@ -4,6 +4,7 @@ use anyhow::{anyhow, Error};
use anyhow::{bail, Context};
use futures::prelude::*;
use futures::ready;
+use gst_plugin_webrtc_protocol as p;
use p::PeerStatus;
use pin_project_lite::pin_project;
use std::collections::{HashMap, HashSet, VecDeque};
@@ -11,7 +12,6 @@ use std::pin::Pin;
use std::task::{Context as TaskContext, Poll};
use tracing::log::error;
use tracing::{info, instrument, warn};
-use webrtcsink_protocol as p;
type PeerId = String;
diff --git a/net/webrtc/src/signaller/imp.rs b/net/webrtc/src/signaller/imp.rs
index 81e24194..5757063c 100644
--- a/net/webrtc/src/signaller/imp.rs
+++ b/net/webrtc/src/signaller/imp.rs
@@ -10,11 +10,11 @@ use gst::glib::prelude::*;
use gst::glib::{self, Type};
use gst::prelude::*;
use gst::subclass::prelude::*;
+use gst_plugin_webrtc_protocol as p;
use once_cell::sync::Lazy;
use std::collections::HashMap;
use std::path::PathBuf;
use std::sync::Mutex;
-use webrtcsink_protocol as p;
static CAT: Lazy<gst::DebugCategory> = Lazy::new(|| {
gst::DebugCategory::new(