// Server configuration — update before building. class AppConfig { // ── Debug mode ────────────────────────────────────────────────────────── // true → از داده‌های فیک استفاده می‌کند (بدون نیاز به سرور) // false → به سرور واقعی وصل می‌شود static const bool debug = false; // ── Server ─────────────────────────────────────────────────────────────── static const String serverHost = '94.183.170.121'; static const String livekithost = '94.183.170.121'; static const int serverPort = 8000; static const int livekitPort = 7780; static const bool useSecure = false; static String get baseUrl => '${useSecure ? 'https' : 'http'}://$serverHost:$serverPort'; static String get wsBaseUrl => 'ws://$serverHost:$serverPort'; // آدرس سرور LiveKit (پورت جداگانه از بکند) static String get livekitUrl => 'ws://$livekithost:$livekitPort'; } // class AppConfig { // // ── Debug mode ────────────────────────────────────────────────────────── // // true → از داده‌های فیک استفاده می‌کند (بدون نیاز به سرور) // // false → به سرور واقعی وصل می‌شود // static const bool debug = true; // // ── Server ─────────────────────────────────────────────────────────────── // static const String serverHost = 'neda.wikm.ir'; // static const String livekithost = '94.183.170.121'; // static const int serverPort = 8000; // static const int livekitPort = 7780; // static const bool useSecure = false; // static String get baseUrl => // '${useSecure ? 'https' : 'http'}://$serverHost:$serverPort'; // static String get wsBaseUrl => // '${useSecure ? 'wss' : 'ws'}://$serverHost:$serverPort'; // // آدرس سرور LiveKit (پورت جداگانه از بکند) // static String get livekitUrl => '${useSecure ? 'wss' : 'ws'}://$livekithost:$livekitPort'; // }