feat: chat

feat: android setup
This commit is contained in:
2024-10-16 20:23:52 +01:00
parent f0a50918a8
commit 6017ce18d4
28 changed files with 556 additions and 146 deletions

20
src/bin/zap_stream_app.rs Normal file
View File

@ -0,0 +1,20 @@
use eframe::Renderer;
use egui::Vec2;
use zap_stream_app::app::ZapStreamApp;
#[tokio::main]
async fn main() {
pretty_env_logger::init();
// TODO: redirect FFMPEG logs to log file (noisy)
let mut options = eframe::NativeOptions::default();
options.renderer = Renderer::Glow;
options.viewport = options.viewport.with_inner_size(Vec2::new(360., 720.));
let _res = eframe::run_native(
"zap.stream",
options,
Box::new(move |cc| Ok(Box::new(ZapStreamApp::new(cc)))),
);
}