mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
wip: dual audio transmission server
This commit is contained in:
@@ -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