feat: heatseeking
This commit is contained in:
@@ -1,20 +1,20 @@
|
||||
use typed_builder::TypedBuilder;
|
||||
|
||||
#[derive(Debug)]
|
||||
#[derive(Debug, Clone, Copy)]
|
||||
pub enum Microphone {
|
||||
Unmuted,
|
||||
ServerMuted,
|
||||
Muted,
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
#[derive(Debug, Clone, Copy)]
|
||||
pub enum Headphone {
|
||||
Undeafened,
|
||||
ServerDeafened,
|
||||
Deafened,
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
#[derive(Debug, Clone, Copy)]
|
||||
pub enum Camera {
|
||||
Showing,
|
||||
Off,
|
||||
@@ -30,7 +30,7 @@ impl From<bool> for Camera {
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
#[derive(Debug, Clone, Copy)]
|
||||
pub enum Stream {
|
||||
Sharing,
|
||||
None,
|
||||
@@ -46,7 +46,7 @@ impl From<bool> for Stream {
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct UserInVCData {
|
||||
pub microphone: Microphone,
|
||||
pub headphone: Headphone,
|
||||
@@ -54,7 +54,7 @@ pub struct UserInVCData {
|
||||
pub stream: Stream,
|
||||
}
|
||||
|
||||
#[derive(Debug, TypedBuilder)]
|
||||
#[derive(Debug, Clone, TypedBuilder)]
|
||||
pub struct VoiceStatus {
|
||||
server_deafened: bool,
|
||||
self_deafened: bool,
|
||||
|
||||
Reference in New Issue
Block a user