-- LLDB integration loaded -- `UIScene` lifecycle will soon be required. Failure to adopt will result in an assert in the future. FlutterView implements focusItemsInRect: - caching for linear focus movement is limited as long as this view is on screen. Dart execution mode: JIT fopen failed for data file: errno = 2 (No such file or directory) Errors found! Invalidating cache... flutter: The Dart VM service is listening on http://127.0.0.1:55102/huaMmoHsEqU=/ fopen failed for data file: errno = 2 (No such file or directory) Errors found! Invalidating cache... ๐ŸŒ [AppDelegate] Setting up local network priority for 192.168.x.x ๐Ÿ”ง [AppDelegate] Configuring WiFi as preferred interface for RTSP traffic โš ๏ธ [AppDelegate] Could not detect WiFi interface, using default: en0 โœ… [AppDelegate] Found IPv4 address 192.168.0.106 for interface en0 โœ… [AppDelegate] Initial WiFi interface en0 with IP 192.168.0.106 โœ… [AppDelegate] WiFi path available for local network (192.168.x.x) ๐Ÿ”Œ [AppDelegate] WiFi interface: en0 ๐Ÿ”ง [AppDelegate] Establishing WiFi route priority for dashcam traffic... โœ… [AppDelegate] Route priming initiated (non-blocking) โœ… [AppDelegate] WiFi route priority auto-established nw_connection_copy_protocol_metadata_internal_block_invoke [C1] Client called nw_connection_copy_protocol_metadata_internal on unconnected nw_connection nw_connection_copy_protocol_metadata_internal_block_invoke [C1] Client called nw_connection_copy_protocol_metadata_internal on unconnected nw_connection nw_connection_copy_connected_local_endpoint_block_invoke [C1] Client called nw_connection_copy_connected_local_endpoint on unconnected nw_connection nw_connection_copy_connected_remote_endpoint_block_invoke [C1] Client called nw_connection_copy_connected_remote_endpoint on unconnected nw_connection nw_connection_copy_protocol_metadata_internal_block_invoke [C2] Client called nw_connection_copy_protocol_metadata_internal on unconnected nw_connection nw_connection_copy_protocol_metadata_internal_block_invoke [C2] Client called nw_connection_copy_protocol_metadata_internal on unconnected nw_connection nw_connection_copy_connected_local_endpoint_block_invoke [C2] Client called nw_connection_copy_connected_local_endpoint on unconnected nw_connection nw_connection_copy_connected_remote_endpoint_block_invoke [C2] Client called nw_connection_copy_connected_remote_endpoint on unconnected nw_connection โš ๏ธ [AppDelegate] Route priming failed (non-critical) โœ… [AppDelegate] WiFi path available for local network (192.168.x.x) ๐Ÿ”Œ [AppDelegate] WiFi interface: en0 ๐Ÿ”ง [AppDelegate] Establishing WiFi route priority for dashcam traffic... โœ… [AppDelegate] Route priming initiated (non-blocking) โœ… [AppDelegate] WiFi route priority auto-established nw_connection_copy_protocol_metadata_internal_block_invoke [C3] Client called nw_connection_copy_protocol_metadata_internal on unconnected nw_connection nw_connection_copy_protocol_metadata_internal_block_invoke [C3] Client called nw_connection_copy_protocol_metadata_internal on unconnected nw_connection nw_connection_copy_connected_local_endpoint_block_invoke [C3] Client called nw_connection_copy_connected_local_endpoint on unconnected nw_connection nw_connection_copy_connected_remote_endpoint_block_invoke [C3] Client called nw_connection_copy_connected_remote_endpoint on unconnected nw_connection nw_connection_copy_protocol_metadata_internal_block_invoke [C4] Client called nw_connection_copy_protocol_metadata_internal on unconnected nw_connection nw_connection_copy_protocol_metadata_internal_block_invoke [C4] Client called nw_connection_copy_protocol_metadata_internal on unconnected nw_connection nw_connection_copy_connected_local_endpoint_block_invoke [C4] Client called nw_connection_copy_connected_local_endpoint on unconnected nw_connection nw_connection_copy_connected_remote_endpoint_block_invoke [C4] Client called nw_connection_copy_connected_remote_endpoint on unconnected nw_connection XPC connection interrupted โš ๏ธ [AppDelegate] Route priming failed (non-critical) flutter: ๐Ÿ“ถ WiFi connectivity changed: [ConnectivityResult.wifi] flutter: Starting _checkWifiAndConnect... flutter: โ„น๏ธ iOS detected, skipping location permission request flutter: ๐Ÿ“ก Current WiFi IP: 192.168.0.106 flutter: Starting _checkWifiAndConnect... NEHotspotNetwork nehelper sent invalid result code [1] for Wi-Fi information request flutter: โš ๏ธ Trying to get SSID from device API... NEHotspotNetwork nehelper sent invalid result code [1] for Wi-Fi information request flutter: โš ๏ธ Cannot verify WiFi connection. IP: 192.168.0.106, SSID: null flutter: โš ๏ธ Could not get SSID from device API: DashcamException: Not connected to WiFi NEHotspotNetwork nehelper sent invalid result code [1] for Wi-Fi information request flutter: Current WiFi: "null", can connect: false flutter: ๐Ÿ”„ Connection status forced to: false flutter: ๐Ÿ”Œ Heartbeat stopped. unable to make sandbox extension: [22: Invalid argument] flutter: ๐Ÿ“ฑ App lifecycle changed: AppLifecycleState.inactive flutter: ๐Ÿ“ฑ App lifecycle changed: AppLifecycleState.hidden flutter: ๐Ÿ“ฑ App lifecycle changed: AppLifecycleState.paused flutter: ๐Ÿ“ฑ App paused The OS has terminated the Flutter debug connection for being inactive in the background for too long. There are no errors with your Flutter application. To reconnect, launch your application again via 'flutter run' โœ… [AppDelegate] WiFi path available for local network (192.168.x.x) ๐Ÿ”Œ [AppDelegate] WiFi interface: en0 ๐Ÿ”ง [AppDelegate] Establishing WiFi route priority for dashcam traffic... โœ… [AppDelegate] Route priming initiated (non-blocking) โœ… [AppDelegate] WiFi route priority auto-established โœ… [AppDelegate] WiFi path available for local network (192.168.x.x) ๐Ÿ”Œ [AppDelegate] WiFi interface: en0 ๐Ÿ”ง [AppDelegate] Establishing WiFi route priority for dashcam traffic... โœ… [AppDelegate] Route priming initiated (non-blocking) โœ… [AppDelegate] WiFi route priority auto-established โš ๏ธ [AppDelegate] Route priming failed (non-critical) nw_connection_copy_protocol_metadata_internal_block_invoke [C6] Client called nw_connection_copy_protocol_metadata_internal on unconnected nw_connection nw_connection_copy_protocol_metadata_internal_block_invoke [C6] Client called nw_connection_copy_protocol_metadata_internal on unconnected nw_connection nw_connection_copy_connected_local_endpoint_block_invoke [C6] Client called nw_connection_copy_connected_local_endpoint on unconnected nw_connection nw_connection_copy_connected_remote_endpoint_block_invoke [C6] Client called nw_connection_copy_connected_remote_endpoint on unconnected nw_connection nw_connection_copy_protocol_metadata_internal_block_invoke [C5] Client called nw_connection_copy_protocol_metadata_internal on unconnected nw_connection nw_connection_copy_protocol_metadata_internal_block_invoke [C5] Client called nw_connection_copy_protocol_metadata_internal on unconnected nw_connection nw_connection_copy_connected_local_endpoint_block_invoke [C5] Client called nw_connection_copy_connected_local_endpoint on unconnected nw_connection nw_connection_copy_connected_remote_endpoint_block_invoke [C5] Client called nw_connection_copy_connected_remote_endpoint on unconnected nw_connection โš ๏ธ [AppDelegate] WiFi path unavailable (NWPathMonitor) โš ๏ธ [AppDelegate] Could not detect WiFi interface, using default: en0 โš ๏ธ [AppDelegate] Could not find IPv4 address for interface en0 flutter: ๐Ÿ“ถ WiFi connectivity changed: [ConnectivityResult.none] flutter: Starting _checkWifiAndConnect... flutter: โ„น๏ธ iOS detected, skipping location permission request flutter: ๐Ÿ“ก Current WiFi IP: 169.254.35.3 โš ๏ธ [AppDelegate] Route priming failed (non-critical) NEHotspotNetwork nehelper sent invalid result code [1] for Wi-Fi information request flutter: โš ๏ธ Trying to get SSID from device API... NEHotspotNetwork nehelper sent invalid result code [1] for Wi-Fi information request flutter: โš ๏ธ Cannot verify WiFi connection. IP: 169.254.35.3, SSID: null flutter: โš ๏ธ Could not get SSID from device API: DashcamException: Not connected to WiFi NEHotspotNetwork nehelper sent invalid result code [1] for Wi-Fi information request flutter: Current WiFi: "null", can connect: false flutter: ๐Ÿ”„ Connection status forced to: false flutter: ๐Ÿ”Œ Heartbeat stopped. โš ๏ธ [AppDelegate] WiFi path unavailable (NWPathMonitor) โœ… [AppDelegate] Found WiFi interface en0 with dashcam IP: 192.168.10.180 โœ… [AppDelegate] Found IPv4 address 192.168.10.180 for interface en0 โœ… [AppDelegate] Recovered WiFi interface via direct detection: en0 with IP 192.168.10.180 โ„น๏ธ [AppDelegate] NWPathMonitor race condition handled - WiFi is actually available flutter: ๐Ÿ“ฑ App lifecycle changed: AppLifecycleState.hidden flutter: ๐Ÿ“ฑ App lifecycle changed: AppLifecycleState.inactive flutter: ๐Ÿ“ฑ App lifecycle changed: AppLifecycleState.resumed flutter: ๐Ÿ”„ Real app resume - checking connection flutter: Starting _checkWifiAndConnect... flutter: โ„น๏ธ iOS detected, skipping location permission request flutter: ๐Ÿ“ก Current WiFi IP: 192.168.10.180 flutter: โœ… IP indicates we're on dashcam network: 192.168.10.180 flutter: โœ… IP check indicates dashcam network - can connect to any dashcam device NEHotspotNetwork nehelper sent invalid result code [1] for Wi-Fi information request NEHotspotNetwork nehelper sent invalid result code [1] for Wi-Fi information request flutter: Current WiFi: "null", can connect: true flutter: ๐Ÿ” Dashcam Wiโ€‘Fi detected. Showing connected UI immediately. flutter: ๐Ÿ”„ Connection status forced to: true flutter: ๐Ÿ” Attempting to connect to device API (background)... flutter: โœ… WiFi connection verified by IP: 192.168.10.180 flutter: โœ… WiFi connection verified by IP: 192.168.10.180 ๐ŸŒ [AppDelegate] Starting WiFi network binding and route prioritization... โœ… [AppDelegate] Found IPv4 address 192.168.10.180 for interface en0 โœ… [AppDelegate] WiFi interface/IP detected - proceeding immediately - Using WiFi interface: en0 โœ… [AppDelegate] Found IPv4 address 192.168.10.180 for interface en0 - Using WiFi IP: 192.168.10.180 ๐Ÿ”ง [AppDelegate] Establishing WiFi route priority for dashcam traffic... โœ… [AppDelegate] Route priming initiated (non-blocking) flutter: โœ… WiFi network verified and available (iOS) flutter: Testing connection to dashcam at: http://192.168.10.1:8082/api/getdeviceinfo/?custom=1&cmd=2001 flutter: โŒ Error getting device SSID: ClientException with SocketException: Connection attempt cancelled, host: InternetAddress('192.168.10.1', IPv4), port: 8082, uri=http://192.168.10.1:8082/api/getdeviceinfo?custom=1&cmd=3007 โš ๏ธ [AppDelegate] Route priming failed (non-critical) flutter: ๐Ÿ“ฑ App lifecycle changed: AppLifecycleState.inactive flutter: โœ… Device is responding correctly. NEHotspotNetwork nehelper sent invalid result code [1] for Wi-Fi information request flutter: โฑ๏ธ connectToDevice completed in 935ms flutter: โœ… Heartbeat socket connected. flutter: ๐Ÿ“ฑ Fetching device info (attempt 1/3)... flutter: โœ… Device name fetched: null flutter: ๐Ÿ“ฑ App lifecycle changed: AppLifecycleState.resumed flutter: ๐Ÿ”„ Real app resume - checking connection flutter: Starting _checkWifiAndConnect... flutter: โ„น๏ธ iOS detected, skipping location permission request flutter: ๐Ÿ“ก Current WiFi IP: 192.168.10.180 flutter: โœ… IP indicates we're on dashcam network: 192.168.10.180 flutter: โœ… IP check indicates dashcam network - can connect to any dashcam device NEHotspotNetwork nehelper sent invalid result code [1] for Wi-Fi information request NEHotspotNetwork nehelper sent invalid result code [1] for Wi-Fi information request flutter: Current WiFi: "null", can connect: true flutter: ๐Ÿ” Dashcam Wiโ€‘Fi detected. Showing connected UI immediately. flutter: ๐Ÿ”„ Connection status forced to: true flutter: ๐Ÿ” Attempting to connect to device API (background)... flutter: โœ… WiFi connection verified by IP: 192.168.10.180 flutter: โœ… WiFi connection verified by IP: 192.168.10.180 flutter: โœ… Already connected to dashcam network, skipping reconnect. flutter: โฑ๏ธ connectToDevice completed in 2ms flutter: โš ๏ธ Socket connection closed by device flutter: ๐Ÿ”Œ Heartbeat stopped. flutter: โœ… Heartbeat socket connected. flutter: ๐Ÿ“ฑ Fetching device info (attempt 1/3)... flutter: โœ… Device name fetched: null flutter: ๐ŸŸข [CameraPreview] _buildPlayer called - isLoading: true, hasError: false, isInitialized: false flutter: โœ… [CameraPreview] Already connected to dashcam, proceeding with playback... flutter: Step 1: Setting video encoding type to H.264... flutter: โœ… WiFi connection verified by IP: 192.168.10.180 flutter: ๐ŸŸข [CameraPreview] _buildPlayer called - isLoading: true, hasError: false, isInitialized: false flutter: โœ… Video encoding type set to: H.264 flutter: Step 2: Notify the device that APP is entering preview mode flutter: Setting preview mode: true flutter: โœ… Preview mode set to: true flutter: โœ… Preview mode enabled successfully. flutter: โœ… Switched to front camera flutter: Using RTSP URL: rtsp://192.168.10.1:8554/ch00 flutter: ๐ŸŽฅ RTSP URL: rtsp://192.168.10.1:8554/ch00 โœ… [AppDelegate] Created (or reused) player slot with ID: 0 flutter: โœ… [TSPlayerService] Created iOS player with ID: 0 flutter: ๐ŸŽฌ [TSPlayerService] Starting iOS playback - Player ID: 0, View ID: 1, URL: rtsp://192.168.10.1:8554/ch00 flutter: โœ… [TSPlayerService] Wiโ€‘Fi IP ready: 192.168.10.180 โœ… [AppDelegate] Set VLC_SOURCE_ADDRESS to: 192.168.10.180 โณ [AppDelegate] Verifying network binding... ๐Ÿ“ก [AppDelegate] RTSP stream detected - using VLCKit (AVPlayer doesn't support RTSP) ๐ŸŽฌ [TSStreamPlayer] init ๐ŸŒ [TSStreamPlayer] Local IP set to: 192.168.10.180 ๐ŸŒ [TSStreamPlayer] WiFi interface set to: en0 ๐ŸŒ [AppDelegate] Configured player to use WiFi interface: en0 โœ… [AppDelegate] Created platform view with overlay for viewId: 1 ๐ŸŽฌ [TSStreamPlayer] playTSFromURL rtsp://192.168.10.1:8554/ch00 ๐ŸŒ [TSStreamPlayer] Priming WiFi route SYNCHRONOUSLY before RTSP connection... โœ… [TSStreamPlayer] Socket bound to interface: en0 (index: 22) โœ… [TSStreamPlayer] Socket connection established to 192.168.10.1:8554 โœ… [TSStreamPlayer] WiFi route primed successfully - VLC should connect fast creating player instance using shared library ๐Ÿ“ฑ [TSStreamPlayer] Physical device detected - optimizing for hardware decode โœ… [TSStreamPlayer] VLCKit player setup complete on main thread ๐ŸŒ [TSStreamPlayer] Forcing VLC to use interface: en0 (miface + network-interface) ๐ŸŒ [TSStreamPlayer] Also setting source address: 192.168.10.180 ๐Ÿ”ง [TSStreamPlayer] Applying 30 optimized RTSP options โ–ถ๏ธ [TSStreamPlayer] Executing play command - VLCKit will handle RTSP SETUP/PLAY โœ… [TSStreamPlayer] play command sent ๐Ÿ”„ [VLCKit] State changed to: Opening - Time: 0ms - Position: 0.0 - Is playing: false - Will play: true - Media state: 0 - Media URL: rtsp://192.168.10.1:8554/ch00 ๐Ÿ”„ [VLCKit] State changed to: Buffering - Time: 0ms - Position: 0.0 - Is playing: false - Will play: true - Media state: 0 - Media URL: rtsp://192.168.10.1:8554/ch00 โณ [TSStreamPlayer] Buffering (waiting for data)... ๐Ÿ”„ [VLCKit] State changed to: Error - Time: 0ms - Position: 0.0 - Is playing: false - Will play: false - Media state: 3 - Media URL: rtsp://192.168.10.1:8554/ch00 ๐Ÿ”„ [VLCKit] State changed to: Stopped - Time: 0ms - Position: 0.0 - Is playing: false - Will play: false - Media state: 0 - Media URL: rtsp://192.168.10.1:8554/ch00 โŒ [TSStreamPlayer] RTSP-specific error detected โŒ [TSStreamPlayer] Playback error occurred: RTSP connection error - check network and stream availability flutter: โŒ [TSPlayerService] iOS playback start failed: PlatformException(PLAYBACK_FAILED, RTSP connection error - check network and stream availability, null, null) flutter: โŒ iOS stream init failed: PlatformException(PLAYBACK_FAILED, RTSP connection error - check network and stream availability, null, null) flutter: ๐ŸŸข [CameraPreview] _buildPlayer called - isLoading: false, hasError: true, isInitialized: false flutter: ๐Ÿ“ฑ [IOSPlayerControlsService] Received method call: onSwitchCamera flutter: ๐ŸŸข [CameraPreview] _buildPlayer called - isLoading: true, hasError: true, isInitialized: false flutter: โœ… Switched to rear camera flutter: Using RTSP URL: rtsp://192.168.10.1:8554/ch01 flutter: ๐ŸŽฌ [TSPlayerService] Starting iOS playback - Player ID: 0, View ID: 1, URL: rtsp://192.168.10.1:8554/ch01 flutter: โœ… [TSPlayerService] Wiโ€‘Fi IP ready: 192.168.10.180 โœ… [AppDelegate] Set VLC_SOURCE_ADDRESS to: 192.168.10.180 โณ [AppDelegate] Verifying network binding... ๐ŸŒ [TSStreamPlayer] Local IP set to: 192.168.10.180 ๐ŸŒ [TSStreamPlayer] WiFi interface set to: en0 ๐ŸŒ [AppDelegate] Configured player to use WiFi interface: en0 ๐ŸŽฌ [TSStreamPlayer] playTSFromURL rtsp://192.168.10.1:8554/ch01 ๐ŸŒ [TSStreamPlayer] Priming WiFi route SYNCHRONOUSLY before RTSP connection... โœ… [TSStreamPlayer] Socket bound to interface: en0 (index: 22) โœ… [TSStreamPlayer] Socket connection established to 192.168.10.1:8554 โœ… [TSStreamPlayer] WiFi route primed successfully - VLC should connect fast ๐Ÿงน [TSStreamPlayer] Cleaning up old media before loading new stream ๐ŸŒ [TSStreamPlayer] Forcing VLC to use interface: en0 (miface + network-interface) ๐ŸŒ [TSStreamPlayer] Also setting source address: 192.168.10.180 ๐Ÿ”ง [TSStreamPlayer] Applying 30 optimized RTSP options โ–ถ๏ธ [TSStreamPlayer] Executing play command - VLCKit will handle RTSP SETUP/PLAY โœ… [TSStreamPlayer] play command sent ๐Ÿ”„ [VLCKit] State changed to: Opening - Time: 0ms - Position: 0.0 - Is playing: false - Will play: true - Media state: 0 - Media URL: rtsp://192.168.10.1:8554/ch01 ๐Ÿ”„ [VLCKit] State changed to: Buffering - Time: 0ms - Position: 0.0 - Is playing: false - Will play: true - Media state: 0 - Media URL: rtsp://192.168.10.1:8554/ch01 โณ [TSStreamPlayer] Buffering (waiting for data)... Unable to determine our source address: This computer has an invalid IP address: 0.0.0.0 flutter: ๐Ÿซ€ Heartbeat sent: {"cmd_id":"4016"} flutter: โš ๏ธ Socket connection closed by device flutter: ๐Ÿ”Œ Heartbeat stopped. Unable to determine our source address: This computer has an invalid IP address: 0.0.0.0 Unable to determine our source address: This computer has an invalid IP address: 0.0.0.0 Unable to determine our source address: This computer has an invalid IP address: 0.0.0.0 ๐Ÿ”„ [VLCKit] State changed to: ES Added - Time: 0ms - Position: 0.0 - Is playing: false - Will play: true - Media state: 0 - Media URL: rtsp://192.168.10.1:8554/ch01 โœ… [TSStreamPlayer] Stream ES added - connection established flutter: โœ… [TSPlayerService] iOS playback started successfully flutter: ๐ŸŸข [CameraPreview] _buildPlayer called - isLoading: false, hasError: false, isInitialized: true Unable to determine our source address: This computer has an invalid IP address: 0.0.0.0 Unable to determine our source address: This computer has an invalid IP address: 0.0.0.0 ๐Ÿ”„ [VLCKit] State changed to: ES Added - Time: 0ms - Position: 0.0 - Is playing: false - Will play: true - Media state: 0 - Media URL: rtsp://192.168.10.1:8554/ch01 ๐Ÿ”„ [VLCKit] State changed to: Playing - Time: 0ms - Position: 0.0 - Is playing: true - Will play: true - Media state: 2 - Media URL: rtsp://192.168.10.1:8554/ch01 ๐Ÿ”„ [VLCKit] State changed to: Buffering - Time: 0ms - Position: 0.0 - Is playing: true - Will play: true - Media state: 2 - Media URL: rtsp://192.168.10.1:8554/ch01 ๐Ÿ”„ [VLCKit] State changed to: Buffering - Time: 0ms - Position: 0.0 - Is playing: true - Will play: true - Media state: 2 - Media URL: rtsp://192.168.10.1:8554/ch01 ๐Ÿ”„ [VLCKit] State changed to: Buffering - Time: 0ms - Position: 0.0 - Is playing: true - Will play: true - Media state: 2 - Media URL: rtsp://192.168.10.1:8554/ch01 ๐Ÿ”„ [VLCKit] State changed to: Buffering - Time: 0ms - Position: 0.0 - Is playing: true - Will play: true - Media state: 2 - Media URL: rtsp://192.168.10.1:8554/ch01 <<<< FigApplicationStateMonitor >>>> signalled err=-19431 at <>:474 <<<< FigApplicationStateMonitor >>>> signalled err=-19431 at <>:474 <<<< FigApplicationStateMonitor >>>> signalled err=-19431 at <>:474 ๐Ÿ”„ [VLCKit] State changed to: Buffering - Time: 0ms - Position: 0.0 - Is playing: true - Will play: true - Media state: 2 - Media URL: rtsp://192.168.10.1:8554/ch01 Modifying properties of a view's layer off the main thread is not allowed: view with nearest ancestor view controller ; backtrace: ( 0 UIKitCore 0x0000000193cd43ac A0E1CEFB-FD01-36F9-B823-51B092E4DBC6 + 26850220 1 UIKitCore 0x0000000193cd4900 A0E1CEFB-FD01-36F9-B823-51B092E4DBC6 + 26851584 2 QuartzCore 0x000000018d667614 D31F46C9-2BD4-3BB6-A626-9D08D2576E58 + 2823700 3 QuartzCore 0x000000018d445c90 D31F46C9-2BD4-3BB6-A626-9D08D2576E58 + 588944 4 QuartzCore 0x000000018d668984 D31F46C9-2BD4-3BB6-A626-9D08D2576E58 + 2828676 5 QuartzCore 0x000000018d60235c D31F46C9-2BD4-3BB6-A626-9D08D2576E58 + 2409308 6 OpenGLES 0x0000000243a1ddb0 998BEA18-049C-3768-B3CD-C01358669669 + 23984 7 libglInterpose.dylib 0x0000000101cd1f70 _ZL43EAGLContext_renderbufferStorageFromDrawableP11EAGLContextP13objc_selectormPU23objcproto12EAGLDrawable11objc_object + 816 8 MobileVLCKit 0x000000010530d20c -[VLCOpenGLES2VideoView doResetBuffers:] + 172 9 libsystem_pthread.dylib 0x00000001e8a5d8cc thread_start + 8 ) fopen failed for data file: errno = 2 (No such file or directory) Errors found! Invalidating cache... fopen failed for data file: errno = 2 (No such file or directory) Errors found! Invalidating cache... โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! ๐Ÿ”™ [TSPlayerControlsOverlay] Back button tapped ๐Ÿ”™ [AppDelegate] Back button callback triggered for viewId: 1 flutter: ๐Ÿ“ฑ [IOSPlayerControlsService] Received method call: onBack flutter: ๐Ÿ”™ [IOSPlayerControlsService] Back button event received flutter: ๐Ÿ”™ [CameraPreviewScreen] Back button pressed ๐Ÿ›‘ [TSStreamPlayer] stop ๐Ÿ›‘ [AppDelegate] Stopped player 0 โœ… [AppDelegate] Back button method channel success flutter: โœ… [TSPlayerService] Stopped iOS player 0 ๐Ÿ”„ [VLCKit] State changed to: Stopped - Time: 3574ms - Position: 0.0 - Is playing: false - Will play: false - Media state: 0 - Media URL: rtsp://192.168.10.1:8554/ch01 ๐Ÿ—‘๏ธ [AppDelegate] Removing platform view for viewId: 1 ๐Ÿ—‘๏ธ [AppDelegate] Disposing player 0 ๐Ÿ›‘ [TSStreamPlayer] stop ๐Ÿ—‘๏ธ [TSStreamPlayer] dispose โœ… [AppDelegate] Removed platform view container for viewId: 1 flutter: โœ… [TSPlayerService] Removed iOS platform view for viewId: 1 flutter: Disabling Live Preview mode... flutter: Setting preview mode: false flutter: โœ… Preview mode set to: false flutter: โœ… Live preview disabled. flutter: โš ๏ธ [TSPlayerService] No active player to stop ๐Ÿ—‘๏ธ [AppDelegate] Removing platform view for viewId: 1 flutter: โœ… [TSPlayerService] Removed iOS platform view for viewId: 1 flutter: ๐ŸŸข [CameraPreview] _buildPlayer called - isLoading: true, hasError: false, isInitialized: false flutter: โœ… [CameraPreview] Already connected to dashcam, proceeding with playback... flutter: Step 1: Setting video encoding type to H.264... flutter: โœ… WiFi connection verified by IP: 192.168.10.180 flutter: ๐ŸŸข [CameraPreview] _buildPlayer called - isLoading: true, hasError: false, isInitialized: false flutter: โœ… Video encoding type set to: H.264 flutter: Step 2: Notify the device that APP is entering preview mode flutter: Setting preview mode: true flutter: โœ… Preview mode set to: true flutter: โœ… Preview mode enabled successfully. flutter: โœ… Switched to front camera flutter: Using RTSP URL: rtsp://192.168.10.1:8554/ch00 flutter: ๐ŸŽฅ RTSP URL: rtsp://192.168.10.1:8554/ch00 โœ… [AppDelegate] Created (or reused) player slot with ID: 0 flutter: โœ… [TSPlayerService] Created iOS player with ID: 0 flutter: ๐ŸŽฌ [TSPlayerService] Starting iOS playback - Player ID: 0, View ID: 1, URL: rtsp://192.168.10.1:8554/ch00 flutter: โœ… [TSPlayerService] Wiโ€‘Fi IP ready: 192.168.10.180 โœ… [AppDelegate] Set VLC_SOURCE_ADDRESS to: 192.168.10.180 โณ [AppDelegate] Verifying network binding... ๐Ÿ“ก [AppDelegate] RTSP stream detected - using VLCKit (AVPlayer doesn't support RTSP) ๐ŸŽฌ [TSStreamPlayer] init ๐ŸŒ [TSStreamPlayer] Local IP set to: 192.168.10.180 ๐ŸŒ [TSStreamPlayer] WiFi interface set to: en0 ๐ŸŒ [AppDelegate] Configured player to use WiFi interface: en0 โœ… [AppDelegate] Created platform view with overlay for viewId: 1 ๐ŸŽฌ [TSStreamPlayer] playTSFromURL rtsp://192.168.10.1:8554/ch00 ๐ŸŒ [TSStreamPlayer] Priming WiFi route SYNCHRONOUSLY before RTSP connection... โœ… [TSStreamPlayer] Socket bound to interface: en0 (index: 22) โœ… [TSStreamPlayer] Socket connection established to 192.168.10.1:8554 โœ… [TSStreamPlayer] WiFi route primed successfully - VLC should connect fast creating player instance using shared library ๐Ÿ“ฑ [TSStreamPlayer] Physical device detected - optimizing for hardware decode โœ… [TSStreamPlayer] VLCKit player setup complete on main thread ๐ŸŒ [TSStreamPlayer] Forcing VLC to use interface: en0 (miface + network-interface) ๐ŸŒ [TSStreamPlayer] Also setting source address: 192.168.10.180 ๐Ÿ”ง [TSStreamPlayer] Applying 30 optimized RTSP options โ–ถ๏ธ [TSStreamPlayer] Executing play command - VLCKit will handle RTSP SETUP/PLAY โœ… [TSStreamPlayer] play command sent ๐Ÿ”„ [VLCKit] State changed to: Opening - Time: 0ms - Position: 0.0 - Is playing: false - Will play: true - Media state: 0 - Media URL: rtsp://192.168.10.1:8554/ch00 ๐Ÿ”„ [VLCKit] State changed to: Buffering - Time: 0ms - Position: 0.0 - Is playing: false - Will play: true - Media state: 0 - Media URL: rtsp://192.168.10.1:8554/ch00 โณ [TSStreamPlayer] Buffering (waiting for data)... ๐Ÿ”„ [VLCKit] State changed to: Error - Time: 0ms - Position: 0.0 - Is playing: false - Will play: false - Media state: 3 - Media URL: rtsp://192.168.10.1:8554/ch00 ๐Ÿ”„ [VLCKit] State changed to: Stopped - Time: 0ms - Position: 0.0 - Is playing: false - Will play: false - Media state: 0 - Media URL: rtsp://192.168.10.1:8554/ch00 โŒ [TSStreamPlayer] RTSP-specific error detected โŒ [TSStreamPlayer] Playback error occurred: RTSP connection error - check network and stream availability flutter: โŒ [TSPlayerService] iOS playback start failed: PlatformException(PLAYBACK_FAILED, RTSP connection error - check network and stream availability, null, null) flutter: โŒ iOS stream init failed: PlatformException(PLAYBACK_FAILED, RTSP connection error - check network and stream availability, null, null) flutter: ๐ŸŸข [CameraPreview] _buildPlayer called - isLoading: false, hasError: true, isInitialized: false flutter: ๐Ÿ“ฑ [IOSPlayerControlsService] Received method call: onSwitchCamera flutter: ๐ŸŸข [CameraPreview] _buildPlayer called - isLoading: true, hasError: true, isInitialized: false flutter: โœ… Switched to rear camera flutter: Using RTSP URL: rtsp://192.168.10.1:8554/ch01 flutter: ๐ŸŽฌ [TSPlayerService] Starting iOS playback - Player ID: 0, View ID: 1, URL: rtsp://192.168.10.1:8554/ch01 flutter: โœ… [TSPlayerService] Wiโ€‘Fi IP ready: 192.168.10.180 โœ… [AppDelegate] Set VLC_SOURCE_ADDRESS to: 192.168.10.180 โณ [AppDelegate] Verifying network binding... ๐ŸŒ [TSStreamPlayer] Local IP set to: 192.168.10.180 ๐ŸŒ [TSStreamPlayer] WiFi interface set to: en0 ๐ŸŒ [AppDelegate] Configured player to use WiFi interface: en0 ๐ŸŽฌ [TSStreamPlayer] playTSFromURL rtsp://192.168.10.1:8554/ch01 ๐ŸŒ [TSStreamPlayer] Priming WiFi route SYNCHRONOUSLY before RTSP connection... โœ… [TSStreamPlayer] Socket bound to interface: en0 (index: 22) โœ… [TSStreamPlayer] Socket connection established to 192.168.10.1:8554 โœ… [TSStreamPlayer] WiFi route primed successfully - VLC should connect fast ๐Ÿงน [TSStreamPlayer] Cleaning up old media before loading new stream ๐ŸŒ [TSStreamPlayer] Forcing VLC to use interface: en0 (miface + network-interface) ๐ŸŒ [TSStreamPlayer] Also setting source address: 192.168.10.180 ๐Ÿ”ง [TSStreamPlayer] Applying 30 optimized RTSP options โ–ถ๏ธ [TSStreamPlayer] Executing play command - VLCKit will handle RTSP SETUP/PLAY โœ… [TSStreamPlayer] play command sent ๐Ÿ”„ [VLCKit] State changed to: Opening - Time: 0ms - Position: 0.0 - Is playing: false - Will play: true - Media state: 0 - Media URL: rtsp://192.168.10.1:8554/ch01 ๐Ÿ”„ [VLCKit] State changed to: Buffering - Time: 0ms - Position: 0.0 - Is playing: false - Will play: true - Media state: 0 - Media URL: rtsp://192.168.10.1:8554/ch01 โณ [TSStreamPlayer] Buffering (waiting for data)... Unable to determine our source address: This computer has an invalid IP address: 0.0.0.0 Unable to determine our source address: This computer has an invalid IP address: 0.0.0.0 Unable to determine our source address: This computer has an invalid IP address: 0.0.0.0 Unable to determine our source address: This computer has an invalid IP address: 0.0.0.0 ๐Ÿ”„ [VLCKit] State changed to: ES Added - Time: 0ms - Position: 0.0 - Is playing: false - Will play: true - Media state: 0 - Media URL: rtsp://192.168.10.1:8554/ch01 โœ… [TSStreamPlayer] Stream ES added - connection established flutter: โœ… [TSPlayerService] iOS playback started successfully flutter: ๐ŸŸข [CameraPreview] _buildPlayer called - isLoading: false, hasError: false, isInitialized: true Unable to determine our source address: This computer has an invalid IP address: 0.0.0.0 Unable to determine our source address: This computer has an invalid IP address: 0.0.0.0 Unable to determine our source address: This computer has an invalid IP address: 0.0.0.0 Unable to determine our source address: This computer has an invalid IP address: 0.0.0.0 ๐Ÿ”„ [VLCKit] State changed to: ES Added - Time: 0ms - Position: 0.0 - Is playing: false - Will play: true - Media state: 0 - Media URL: rtsp://192.168.10.1:8554/ch01 ๐Ÿ”„ [VLCKit] State changed to: Playing - Time: 0ms - Position: 0.0 - Is playing: true - Will play: true - Media state: 2 - Media URL: rtsp://192.168.10.1:8554/ch01 ๐Ÿ”„ [VLCKit] State changed to: Buffering - Time: 0ms - Position: 0.0 - Is playing: true - Will play: true - Media state: 2 - Media URL: rtsp://192.168.10.1:8554/ch01 ๐Ÿ”„ [VLCKit] State changed to: Buffering - Time: 0ms - Position: 0.0 - Is playing: true - Will play: true - Media state: 2 - Media URL: rtsp://192.168.10.1:8554/ch01 ๐Ÿ”„ [VLCKit] State changed to: Buffering - Time: 0ms - Position: 0.0 - Is playing: true - Will play: true - Media state: 2 - Media URL: rtsp://192.168.10.1:8554/ch01 ๐Ÿ”„ [VLCKit] State changed to: Buffering - Time: 0ms - Position: 0.0 - Is playing: true - Will play: true - Media state: 2 - Media URL: rtsp://192.168.10.1:8554/ch01 Modifying properties of a view's layer off the main thread is not allowed: view with nearest ancestor view controller ; backtrace: ( 0 UIKitCore 0x0000000193cd43ac A0E1CEFB-FD01-36F9-B823-51B092E4DBC6 + 26850220 1 UIKitCore 0x0000000193cd4900 A0E1CEFB-FD01-36F9-B823-51B092E4DBC6 + 26851584 2 QuartzCore 0x000000018d667614 D31F46C9-2BD4-3BB6-A626-9D08D2576E58 + 2823700 3 QuartzCore 0x000000018d445c90 D31F46C9-2BD4-3BB6-A626-9D08D2576E58 + 588944 4 QuartzCore 0x000000018d668984 D31F46C9-2BD4-3BB6-A626-9D08D2576E58 + 2828676 5 QuartzCore 0x000000018d60235c D31F46C9-2BD4-3BB6-A626-9D08D2576E58 + 2409308 6 OpenGLES 0x0000000243a1ddb0 998BEA18-049C-3768-B3CD-C01358669669 + 23984 7 libglInterpose.dylib 0x0000000101cd1f70 _ZL43EAGLContext_renderbufferStorageFromDrawableP11EAGLContextP13objc_selectormPU23objcproto12EAGLDrawable11objc_object + 816 8 MobileVLCKit 0x000000010530d20c -[VLCOpenGLES2VideoView doResetBuffers:] + 172 9 libsystem_pthread.dylib 0x00000001e8a5d8cc thread_start + 8 ) ๐Ÿ”„ [VLCKit] State changed to: Buffering - Time: 0ms - Position: 0.0 - Is playing: true - Will play: true - Media state: 2 - Media URL: rtsp://192.168.10.1:8554/ch01 โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! flutter: ๐Ÿ“ฑ [IOSPlayerControlsService] Received method call: onScreenshot โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! ๐Ÿ”„ [VLCKit] State changed to: Buffering - Time: 10935ms - Position: 0.0 - Is playing: true - Will play: true - Media state: 2 - Media URL: rtsp://192.168.10.1:8554/ch01 ๐Ÿ”„ [VLCKit] State changed to: Buffering - Time: 10935ms - Position: 0.0 - Is playing: true - Will play: true - Media state: 2 - Media URL: rtsp://192.168.10.1:8554/ch01 ๐Ÿ”„ [VLCKit] State changed to: Buffering - Time: 10935ms - Position: 0.0 - Is playing: true - Will play: true - Media state: 2 - Media URL: rtsp://192.168.10.1:8554/ch01 ๐Ÿ”„ [VLCKit] State changed to: Buffering - Time: 10935ms - Position: 0.0 - Is playing: true - Will play: true - Media state: 2 - Media URL: rtsp://192.168.10.1:8554/ch01 ๐Ÿ”„ [VLCKit] State changed to: Buffering - Time: 10935ms - Position: 0.0 - Is playing: true - Will play: true - Media state: 2 - Media URL: rtsp://192.168.10.1:8554/ch01 โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! ๐Ÿ”™ [TSPlayerControlsOverlay] Back button tapped ๐Ÿ”™ [AppDelegate] Back button callback triggered for viewId: 1 flutter: ๐Ÿ“ฑ [IOSPlayerControlsService] Received method call: onBack flutter: ๐Ÿ”™ [IOSPlayerControlsService] Back button event received flutter: ๐Ÿ”™ [CameraPreviewScreen] Back button pressed ๐Ÿ›‘ [TSStreamPlayer] stop ๐Ÿ›‘ [AppDelegate] Stopped player 0 โœ… [AppDelegate] Back button method channel success flutter: โœ… [TSPlayerService] Stopped iOS player 0 ๐Ÿ”„ [VLCKit] State changed to: Stopped - Time: 21105ms - Position: 0.0 - Is playing: false - Will play: false - Media state: 0 - Media URL: rtsp://192.168.10.1:8554/ch01 โš ๏ธ [TSStreamPlayer] State change ignored - view setup not complete ๐Ÿ—‘๏ธ [AppDelegate] Removing platform view for viewId: 1 ๐Ÿ—‘๏ธ [AppDelegate] Disposing player 0 ๐Ÿ›‘ [TSStreamPlayer] stop ๐Ÿ—‘๏ธ [TSStreamPlayer] dispose โœ… [AppDelegate] Removed platform view container for viewId: 1 flutter: โœ… [TSPlayerService] Removed iOS platform view for viewId: 1 flutter: Disabling Live Preview mode... flutter: Setting preview mode: false flutter: โœ… Preview mode set to: false flutter: โœ… Live preview disabled. flutter: โš ๏ธ [TSPlayerService] No active player to stop ๐Ÿ—‘๏ธ [AppDelegate] Removing platform view for viewId: 1 flutter: โœ… [TSPlayerService] Removed iOS platform view for viewId: 1 flutter: ๐ŸŸข [CameraPreview] _buildPlayer called - isLoading: true, hasError: false, isInitialized: false flutter: โœ… [CameraPreview] Already connected to dashcam, proceeding with playback... flutter: Step 1: Setting video encoding type to H.264... flutter: โœ… WiFi connection verified by IP: 192.168.10.180 flutter: ๐ŸŸข [CameraPreview] _buildPlayer called - isLoading: true, hasError: false, isInitialized: false flutter: โœ… Video encoding type set to: H.264 flutter: Step 2: Notify the device that APP is entering preview mode flutter: Setting preview mode: true flutter: โœ… Preview mode set to: true flutter: โœ… Preview mode enabled successfully. flutter: โœ… Switched to front camera flutter: Using RTSP URL: rtsp://192.168.10.1:8554/ch00 flutter: ๐ŸŽฅ RTSP URL: rtsp://192.168.10.1:8554/ch00 โœ… [AppDelegate] Created (or reused) player slot with ID: 0 flutter: โœ… [TSPlayerService] Created iOS player with ID: 0 flutter: ๐ŸŽฌ [TSPlayerService] Starting iOS playback - Player ID: 0, View ID: 1, URL: rtsp://192.168.10.1:8554/ch00 flutter: โœ… [TSPlayerService] Wiโ€‘Fi IP ready: 192.168.10.180 โœ… [AppDelegate] Set VLC_SOURCE_ADDRESS to: 192.168.10.180 โณ [AppDelegate] Verifying network binding... ๐Ÿ“ก [AppDelegate] RTSP stream detected - using VLCKit (AVPlayer doesn't support RTSP) ๐ŸŽฌ [TSStreamPlayer] init ๐ŸŒ [TSStreamPlayer] Local IP set to: 192.168.10.180 ๐ŸŒ [TSStreamPlayer] WiFi interface set to: en0 ๐ŸŒ [AppDelegate] Configured player to use WiFi interface: en0 โœ… [AppDelegate] Created platform view with overlay for viewId: 1 ๐ŸŽฌ [TSStreamPlayer] playTSFromURL rtsp://192.168.10.1:8554/ch00 ๐ŸŒ [TSStreamPlayer] Priming WiFi route SYNCHRONOUSLY before RTSP connection... โœ… [TSStreamPlayer] Socket bound to interface: en0 (index: 22) โœ… [TSStreamPlayer] Socket connection established to 192.168.10.1:8554 โœ… [TSStreamPlayer] WiFi route primed successfully - VLC should connect fast creating player instance using shared library ๐Ÿ“ฑ [TSStreamPlayer] Physical device detected - optimizing for hardware decode โœ… [TSStreamPlayer] VLCKit player setup complete on main thread ๐ŸŒ [TSStreamPlayer] Forcing VLC to use interface: en0 (miface + network-interface) ๐ŸŒ [TSStreamPlayer] Also setting source address: 192.168.10.180 ๐Ÿ”ง [TSStreamPlayer] Applying 30 optimized RTSP options โ–ถ๏ธ [TSStreamPlayer] Executing play command - VLCKit will handle RTSP SETUP/PLAY โœ… [TSStreamPlayer] play command sent ๐Ÿ”„ [VLCKit] State changed to: Opening - Time: 0ms - Position: 0.0 - Is playing: false - Will play: true - Media state: 0 - Media URL: rtsp://192.168.10.1:8554/ch00 ๐Ÿ”„ [VLCKit] State changed to: Buffering - Time: 0ms - Position: 0.0 - Is playing: false - Will play: true - Media state: 0 - Media URL: rtsp://192.168.10.1:8554/ch00 โณ [TSStreamPlayer] Buffering (waiting for data)... ๐Ÿ”„ [VLCKit] State changed to: Error - Time: 0ms - Position: 0.0 - Is playing: false - Will play: false - Media state: 3 - Media URL: rtsp://192.168.10.1:8554/ch00 ๐Ÿ”„ [VLCKit] State changed to: Stopped - Time: 0ms - Position: 0.0 - Is playing: false - Will play: false - Media state: 0 - Media URL: rtsp://192.168.10.1:8554/ch00 โŒ [TSStreamPlayer] RTSP-specific error detected โŒ [TSStreamPlayer] Playback error occurred: RTSP connection error - check network and stream availability flutter: โŒ [TSPlayerService] iOS playback start failed: PlatformException(PLAYBACK_FAILED, RTSP connection error - check network and stream availability, null, null) flutter: โŒ iOS stream init failed: PlatformException(PLAYBACK_FAILED, RTSP connection error - check network and stream availability, null, null) flutter: ๐ŸŸข [CameraPreview] _buildPlayer called - isLoading: false, hasError: true, isInitialized: false flutter: ๐Ÿ“ฑ [IOSPlayerControlsService] Received method call: onSwitchCamera flutter: ๐ŸŸข [CameraPreview] _buildPlayer called - isLoading: true, hasError: true, isInitialized: false flutter: โœ… Switched to rear camera flutter: Using RTSP URL: rtsp://192.168.10.1:8554/ch01 flutter: ๐ŸŽฌ [TSPlayerService] Starting iOS playback - Player ID: 0, View ID: 1, URL: rtsp://192.168.10.1:8554/ch01 flutter: โœ… [TSPlayerService] Wiโ€‘Fi IP ready: 192.168.10.180 โœ… [AppDelegate] Set VLC_SOURCE_ADDRESS to: 192.168.10.180 โณ [AppDelegate] Verifying network binding... ๐ŸŒ [TSStreamPlayer] Local IP set to: 192.168.10.180 ๐ŸŒ [TSStreamPlayer] WiFi interface set to: en0 ๐ŸŒ [AppDelegate] Configured player to use WiFi interface: en0 ๐ŸŽฌ [TSStreamPlayer] playTSFromURL rtsp://192.168.10.1:8554/ch01 ๐ŸŒ [TSStreamPlayer] Priming WiFi route SYNCHRONOUSLY before RTSP connection... โœ… [TSStreamPlayer] Socket bound to interface: en0 (index: 22) โœ… [TSStreamPlayer] Socket connection established to 192.168.10.1:8554 โœ… [TSStreamPlayer] WiFi route primed successfully - VLC should connect fast ๐Ÿงน [TSStreamPlayer] Cleaning up old media before loading new stream ๐ŸŒ [TSStreamPlayer] Forcing VLC to use interface: en0 (miface + network-interface) ๐ŸŒ [TSStreamPlayer] Also setting source address: 192.168.10.180 ๐Ÿ”ง [TSStreamPlayer] Applying 30 optimized RTSP options โ–ถ๏ธ [TSStreamPlayer] Executing play command - VLCKit will handle RTSP SETUP/PLAY โœ… [TSStreamPlayer] play command sent ๐Ÿ”„ [VLCKit] State changed to: Opening - Time: 0ms - Position: 0.0 - Is playing: false - Will play: true - Media state: 0 - Media URL: rtsp://192.168.10.1:8554/ch01 ๐Ÿ”„ [VLCKit] State changed to: Buffering - Time: 0ms - Position: 0.0 - Is playing: false - Will play: true - Media state: 0 - Media URL: rtsp://192.168.10.1:8554/ch01 โณ [TSStreamPlayer] Buffering (waiting for data)... Unable to determine our source address: This computer has an invalid IP address: 0.0.0.0 Unable to determine our source address: This computer has an invalid IP address: 0.0.0.0 Unable to determine our source address: This computer has an invalid IP address: 0.0.0.0 Unable to determine our source address: This computer has an invalid IP address: 0.0.0.0 Unable to determine our source address: This computer has an invalid IP address: 0.0.0.0 ๐Ÿ”„ [VLCKit] State changed to: ES Added - Time: 0ms - Position: 0.0 - Is playing: false - Will play: true - Media state: 0 - Media URL: rtsp://192.168.10.1:8554/ch01 โœ… [TSStreamPlayer] Stream ES added - connection established flutter: โœ… [TSPlayerService] iOS playback started successfully flutter: ๐ŸŸข [CameraPreview] _buildPlayer called - isLoading: false, hasError: false, isInitialized: true Unable to determine our source address: This computer has an invalid IP address: 0.0.0.0 Unable to determine our source address: This computer has an invalid IP address: 0.0.0.0 ๐Ÿ”„ [VLCKit] State changed to: ES Added - Time: 0ms - Position: 0.0 - Is playing: false - Will play: true - Media state: 0 - Media URL: rtsp://192.168.10.1:8554/ch01 ๐Ÿ”„ [VLCKit] State changed to: Playing - Time: 0ms - Position: 0.0 - Is playing: true - Will play: true - Media state: 2 - Media URL: rtsp://192.168.10.1:8554/ch01 ๐Ÿ”„ [VLCKit] State changed to: Buffering - Time: 0ms - Position: 0.0 - Is playing: true - Will play: true - Media state: 2 - Media URL: rtsp://192.168.10.1:8554/ch01 ๐Ÿ”„ [VLCKit] State changed to: Buffering - Time: 0ms - Position: 0.0 - Is playing: true - Will play: true - Media state: 2 - Media URL: rtsp://192.168.10.1:8554/ch01 ๐Ÿ”„ [VLCKit] State changed to: Buffering - Time: 0ms - Position: 0.0 - Is playing: true - Will play: true - Media state: 2 - Media URL: rtsp://192.168.10.1:8554/ch01 ๐Ÿ”„ [VLCKit] State changed to: Buffering - Time: 0ms - Position: 0.0 - Is playing: true - Will play: true - Media state: 2 - Media URL: rtsp://192.168.10.1:8554/ch01 ๐Ÿ”„ [VLCKit] State changed to: Buffering - Time: 0ms - Position: 0.0 - Is playing: true - Will play: true - Media state: 2 - Media URL: rtsp://192.168.10.1:8554/ch01 Modifying properties of a view's layer off the main thread is not allowed: view with nearest ancestor view controller ; backtrace: ( 0 UIKitCore 0x0000000193cd43ac A0E1CEFB-FD01-36F9-B823-51B092E4DBC6 + 26850220 1 UIKitCore 0x0000000193cd4900 A0E1CEFB-FD01-36F9-B823-51B092E4DBC6 + 26851584 2 QuartzCore 0x000000018d667614 D31F46C9-2BD4-3BB6-A626-9D08D2576E58 + 2823700 3 QuartzCore 0x000000018d445c90 D31F46C9-2BD4-3BB6-A626-9D08D2576E58 + 588944 4 QuartzCore 0x000000018d668984 D31F46C9-2BD4-3BB6-A626-9D08D2576E58 + 2828676 5 QuartzCore 0x000000018d60235c D31F46C9-2BD4-3BB6-A626-9D08D2576E58 + 2409308 6 OpenGLES 0x0000000243a1ddb0 998BEA18-049C-3768-B3CD-C01358669669 + 23984 7 libglInterpose.dylib 0x0000000101cd1f70 _ZL43EAGLContext_renderbufferStorageFromDrawableP11EAGLContextP13objc_selectormPU23objcproto12EAGLDrawable11objc_object + 816 8 MobileVLCKit 0x000000010530d20c -[VLCOpenGLES2VideoView doResetBuffers:] + 172 9 libsystem_pthread.dylib 0x00000001e8a5d8cc thread_start + 8 ) โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! flutter: ๐Ÿ“ฑ [IOSPlayerControlsService] Received method call: onSwitchCamera flutter: ๐ŸŸข [CameraPreview] _buildPlayer called - isLoading: true, hasError: false, isInitialized: true โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! flutter: โœ… Switched to front camera โฐ [VLCKit] Time changed - stream is live! flutter: Using RTSP URL: rtsp://192.168.10.1:8554/ch00 flutter: ๐ŸŽฌ [TSPlayerService] Starting iOS playback - Player ID: 0, View ID: 1, URL: rtsp://192.168.10.1:8554/ch00 flutter: โœ… [TSPlayerService] Wiโ€‘Fi IP ready: 192.168.10.180 โœ… [AppDelegate] Set VLC_SOURCE_ADDRESS to: 192.168.10.180 โณ [AppDelegate] Verifying network binding... ๐ŸŒ [TSStreamPlayer] Local IP set to: 192.168.10.180 ๐ŸŒ [TSStreamPlayer] WiFi interface set to: en0 ๐ŸŒ [AppDelegate] Configured player to use WiFi interface: en0 ๐ŸŽฌ [TSStreamPlayer] playTSFromURL rtsp://192.168.10.1:8554/ch00 ๐Ÿ›‘ [TSStreamPlayer] Stopping existing playback before loading new stream ๐ŸŒ [TSStreamPlayer] Priming WiFi route SYNCHRONOUSLY before RTSP connection... โœ… [TSStreamPlayer] Socket bound to interface: en0 (index: 22) โœ… [TSStreamPlayer] Socket connection established to 192.168.10.1:8554 โœ… [TSStreamPlayer] WiFi route primed successfully - VLC should connect fast ๐Ÿงน [TSStreamPlayer] Cleaning up old media before loading new stream ๐ŸŒ [TSStreamPlayer] Forcing VLC to use interface: en0 (miface + network-interface) ๐ŸŒ [TSStreamPlayer] Also setting source address: 192.168.10.180 ๐Ÿ”ง [TSStreamPlayer] Applying 30 optimized RTSP options โ–ถ๏ธ [TSStreamPlayer] Executing play command - VLCKit will handle RTSP SETUP/PLAY โœ… [TSStreamPlayer] play command sent ๐Ÿ”„ [VLCKit] State changed to: Stopped - Time: 3333ms - Position: 0.0 - Is playing: false - Will play: false - Media state: 0 - Media URL: rtsp://192.168.10.1:8554/ch00 ๐Ÿ”„ [VLCKit] State changed to: Opening - Time: 0ms - Position: 0.0 - Is playing: false - Will play: true - Media state: 0 - Media URL: rtsp://192.168.10.1:8554/ch00 ๐Ÿ”„ [VLCKit] State changed to: Buffering - Time: 0ms - Position: 0.0 - Is playing: false - Will play: true - Media state: 0 - Media URL: rtsp://192.168.10.1:8554/ch00 โณ [TSStreamPlayer] Buffering (waiting for data)... ๐Ÿ”„ [VLCKit] State changed to: Error - Time: 0ms - Position: 0.0 - Is playing: false - Will play: false - Media state: 3 - Media URL: rtsp://192.168.10.1:8554/ch00 ๐Ÿ”„ [VLCKit] State changed to: Stopped - Time: 0ms - Position: 0.0 - Is playing: false - Will play: false - Media state: 0 - Media URL: rtsp://192.168.10.1:8554/ch00 โŒ [TSStreamPlayer] RTSP-specific error detected โŒ [TSStreamPlayer] Playback error occurred: RTSP connection error - check network and stream availability flutter: โŒ [TSPlayerService] iOS playback start failed: PlatformException(PLAYBACK_FAILED, RTSP connection error - check network and stream availability, null, null) flutter: โŒ iOS stream init failed: PlatformException(PLAYBACK_FAILED, RTSP connection error - check network and stream availability, null, null) flutter: ๐ŸŸข [CameraPreview] _buildPlayer called - isLoading: false, hasError: true, isInitialized: true flutter: ๐Ÿ“ฑ [IOSPlayerControlsService] Received method call: onSwitchCamera flutter: ๐ŸŸข [CameraPreview] _buildPlayer called - isLoading: true, hasError: true, isInitialized: true flutter: โœ… Switched to rear camera flutter: Using RTSP URL: rtsp://192.168.10.1:8554/ch01 flutter: ๐ŸŽฌ [TSPlayerService] Starting iOS playback - Player ID: 0, View ID: 1, URL: rtsp://192.168.10.1:8554/ch01 flutter: โœ… [TSPlayerService] Wiโ€‘Fi IP ready: 192.168.10.180 โœ… [AppDelegate] Set VLC_SOURCE_ADDRESS to: 192.168.10.180 โณ [AppDelegate] Verifying network binding... ๐ŸŒ [TSStreamPlayer] Local IP set to: 192.168.10.180 ๐ŸŒ [TSStreamPlayer] WiFi interface set to: en0 ๐ŸŒ [AppDelegate] Configured player to use WiFi interface: en0 ๐ŸŽฌ [TSStreamPlayer] playTSFromURL rtsp://192.168.10.1:8554/ch01 ๐ŸŒ [TSStreamPlayer] Priming WiFi route SYNCHRONOUSLY before RTSP connection... โœ… [TSStreamPlayer] Socket bound to interface: en0 (index: 22) โœ… [TSStreamPlayer] Socket connection established to 192.168.10.1:8554 โœ… [TSStreamPlayer] WiFi route primed successfully - VLC should connect fast ๐Ÿงน [TSStreamPlayer] Cleaning up old media before loading new stream ๐ŸŒ [TSStreamPlayer] Forcing VLC to use interface: en0 (miface + network-interface) ๐ŸŒ [TSStreamPlayer] Also setting source address: 192.168.10.180 ๐Ÿ”ง [TSStreamPlayer] Applying 30 optimized RTSP options โ–ถ๏ธ [TSStreamPlayer] Executing play command - VLCKit will handle RTSP SETUP/PLAY โœ… [TSStreamPlayer] play command sent ๐Ÿ”„ [VLCKit] State changed to: Opening - Time: 0ms - Position: 0.0 - Is playing: false - Will play: true - Media state: 0 - Media URL: rtsp://192.168.10.1:8554/ch01 ๐Ÿ”„ [VLCKit] State changed to: Buffering - Time: 0ms - Position: 0.0 - Is playing: false - Will play: true - Media state: 0 - Media URL: rtsp://192.168.10.1:8554/ch01 โณ [TSStreamPlayer] Buffering (waiting for data)... Unable to determine our source address: This computer has an invalid IP address: 0.0.0.0 Unable to determine our source address: This computer has an invalid IP address: 0.0.0.0 Unable to determine our source address: This computer has an invalid IP address: 0.0.0.0 Unable to determine our source address: This computer has an invalid IP address: 0.0.0.0 Unable to determine our source address: This computer has an invalid IP address: 0.0.0.0 ๐Ÿ”„ [VLCKit] State changed to: ES Added - Time: 0ms - Position: 0.0 - Is playing: false - Will play: true - Media state: 0 - Media URL: rtsp://192.168.10.1:8554/ch01 โœ… [TSStreamPlayer] Stream ES added - connection established flutter: โœ… [TSPlayerService] iOS playback started successfully flutter: ๐ŸŸข [CameraPreview] _buildPlayer called - isLoading: false, hasError: false, isInitialized: true Unable to determine our source address: This computer has an invalid IP address: 0.0.0.0 Unable to determine our source address: This computer has an invalid IP address: 0.0.0.0 ๐Ÿ”„ [VLCKit] State changed to: ES Added - Time: 0ms - Position: 0.0 - Is playing: false - Will play: true - Media state: 0 - Media URL: rtsp://192.168.10.1:8554/ch01 ๐Ÿ”„ [VLCKit] State changed to: Playing - Time: 0ms - Position: 0.0 - Is playing: true - Will play: true - Media state: 2 - Media URL: rtsp://192.168.10.1:8554/ch01 ๐Ÿ”„ [VLCKit] State changed to: Buffering - Time: 0ms - Position: 0.0 - Is playing: true - Will play: true - Media state: 2 - Media URL: rtsp://192.168.10.1:8554/ch01 ๐Ÿ”„ [VLCKit] State changed to: Buffering - Time: 0ms - Position: 0.0 - Is playing: true - Will play: true - Media state: 2 - Media URL: rtsp://192.168.10.1:8554/ch01 ๐Ÿ”„ [VLCKit] State changed to: Buffering - Time: 0ms - Position: 0.0 - Is playing: true - Will play: true - Media state: 2 - Media URL: rtsp://192.168.10.1:8554/ch01 ๐Ÿ”„ [VLCKit] State changed to: Buffering - Time: 0ms - Position: 0.0 - Is playing: true - Will play: true - Media state: 2 - Media URL: rtsp://192.168.10.1:8554/ch01 ๐Ÿ”„ [VLCKit] State changed to: Buffering - Time: 0ms - Position: 0.0 - Is playing: true - Will play: true - Media state: 2 - Media URL: rtsp://192.168.10.1:8554/ch01 โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! โฐ [VLCKit] Time changed - stream is live! ๐Ÿ”™ [TSPlayerControlsOverlay] Back button tapped ๐Ÿ”™ [AppDelegate] Back button callback triggered for viewId: 1 flutter: ๐Ÿ“ฑ [IOSPlayerControlsService] Received method call: onBack flutter: ๐Ÿ”™ [IOSPlayerControlsService] Back button event received flutter: ๐Ÿ”™ [CameraPreviewScreen] Back button pressed ๐Ÿ›‘ [TSStreamPlayer] stop ๐Ÿ›‘ [AppDelegate] Stopped player 0 โœ… [AppDelegate] Back button method channel success flutter: โœ… [TSPlayerService] Stopped iOS player 0 ๐Ÿ”„ [VLCKit] State changed to: Stopped - Time: 10106ms - Position: 0.0 - Is playing: false - Will play: false - Media state: 0 - Media URL: rtsp://192.168.10.1:8554/ch01 ๐Ÿ—‘๏ธ [AppDelegate] Removing platform view for viewId: 1 ๐Ÿ—‘๏ธ [AppDelegate] Disposing player 0 ๐Ÿ›‘ [TSStreamPlayer] stop ๐Ÿ—‘๏ธ [TSStreamPlayer] dispose โœ… [AppDelegate] Removed platform view container for viewId: 1 flutter: โœ… [TSPlayerService] Removed iOS platform view for viewId: 1 flutter: Disabling Live Preview mode... flutter: Setting preview mode: false flutter: โœ… Preview mode set to: false flutter: โœ… Live preview disabled. flutter: โš ๏ธ [TSPlayerService] No active player to stop ๐Ÿ—‘๏ธ [AppDelegate] Removing platform view for viewId: 1 flutter: โœ… [TSPlayerService] Removed iOS platform view for viewId: 1 Message from debugger: killed