75edf0aa71
- Rust-based digital asset management system - Video analysis: ASR, OCR, YOLO, Face, Pose - RAG capabilities with Qdrant vector database - Multi-database support: PostgreSQL, Redis, MongoDB - Monitoring system with launchd plists - n8n workflow automation integration
23 lines
575 B
Rust
23 lines
575 B
Rust
use crate::core::overlay::OverlayFlags;
|
|
|
|
pub struct PlayerConfig {
|
|
pub sync_delay_ms: u64,
|
|
pub overlay_flags: OverlayFlags,
|
|
}
|
|
|
|
impl Default for PlayerConfig {
|
|
fn default() -> Self {
|
|
Self {
|
|
sync_delay_ms: 800,
|
|
overlay_flags: OverlayFlags::default(),
|
|
}
|
|
}
|
|
}
|
|
|
|
pub async fn play_video(path: &str, config: PlayerConfig) -> anyhow::Result<()> {
|
|
// TODO: Implement video player with overlay
|
|
// Will integrate existing video_player functionality
|
|
println!("Playing: {} with config: {:?}", path, config);
|
|
Ok(())
|
|
}
|