use crate::settings::settings_file;
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct LiveKitSettings {
pub api_key: String,
pub api_secret: String,
pub public_url: String,
pub service_url: String,
}
impl From<settings_file::livekit::LiveKitSettings> for LiveKitSettings {
fn from(value: settings_file::livekit::LiveKitSettings) -> Self {
Self {
api_key: value.api_key,
api_secret: value.api_secret,
public_url: value.public_url,
service_url: value.service_url,
}
}
}