mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-13 06:42:18 +00:00
wip: dual audio transmission server
This commit is contained in:
1 parent
e0f73ccc28
commit
28ad271693
3 files changed
+80
-1
No files matched your search
@@ -108,6 +108,12 @@ pub struct Connection {
|
||||
from_switch: bool,
|
||||
}
|
||||
|
||||
impl ConnInner {
|
||||
pub fn new(id: i32, tx: Option<Sender>, tx_video: Option<Sender>) -> Self {
|
||||
Self { id, tx, tx_video }
|
||||
}
|
||||
}
|
||||
|
||||
impl Subscriber for ConnInner {
|
||||
#[inline]
|
||||
fn id(&self) -> i32 {
|
||||
|
||||
Reference in new issue
Block a user