Owns the database, PIN rotation and all LiveKit token minting. Kiosk registration, session-stable joins, admin auth, layouts, branding, media uploads and the hosted installer script. Claude-Session: https://claude.ai/code/session_01SS9F92jb51bMCRCKem6QtD
10 lines
145 B
Rust
10 lines
145 B
Rust
use chrono::Utc;
|
|
|
|
pub fn now_ms() -> i64 {
|
|
Utc::now().timestamp_millis()
|
|
}
|
|
|
|
pub fn seconds_to_ms(seconds: i64) -> i64 {
|
|
seconds * 1000
|
|
}
|