Launching lib/main.dart on iPhone 13 in debug mode... Automatically signing iOS for device deployment using specified development team in Xcode project: XXXXXXX Running Xcode build... Xcode build done. 9.7s Installing and launching... [VERBOSE-2:FlutterObservatoryPublisher.mm(101)] Failed to register observatory port with mDNS with error -65555. [VERBOSE-2:FlutterObservatoryPublisher.mm(103)] On iOS 14+, local network broadcast in apps need to be declared in the app's Info.plist. Debug and profile Flutter apps and modules host VM services on the local network to support debugging features such as hot reload and DevTools. To make your Flutter app or module attachable and debuggable, add a '_dartobservatory._tcp' value to the 'NSBonjourServices' key in your Info.plist for the Debug/Profile configurations. For more information, see https://flutter.dev/docs/development/add-to-app/ios/project-setup#local-network-privacy-permissions [VERBOSE-2:FlutterObservatoryPublisher.mm(101)] Failed to register observatory port with mDNS with error -65555. [VERBOSE-2:FlutterObservatoryPublisher.mm(103)] On iOS 14+, local network broadcast in apps need to be declared in the app's Info.plist. Debug and profile Flutter apps and modules host VM services on the local network to support debugging features such as hot reload and DevTools. To make your Flutter app or module attachable and debuggable, add a '_dartobservatory._tcp' value to the 'NSBonjourServices' key in your Info.plist for the Debug/Profile configurations. For more information, see https://flutter.dev/docs/development/add-to-app/ios/project-setup#local-network-privacy-permissions Debug service listening on ws://127.0.0.1:55864/MqbBKa9rQ5w=/ws Syncing files to device iPhone 13... flutter: Connecting with url: wss://live.xxx-xxx.xxx, token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2NTQ3ODY4NTAsImlzcyI6IkFQSWFlb0JFeENOdG5CUyIsIm5iZiI6MTY1MjE5NDg1MCwic3ViIjoic2wiLCJ2aWRlbyI6eyJyb29tIjoidGVzdDAxIiwicm9vbUpvaW4iOnRydWV9fQ.7m6xVj3UFXIZfAucgqLjziZEefuX8ZLmgAMPYnEAWVE... flutter: 17:33:40: Engine ConnectionState disconnected -> connecting flutter: 17:33:40: [EngineEvent] Engine#316236384 EngineConnectionStateUpdatedEvent(newState: connecting, didReconnect: false, disconnectReason: null) flutter: 17:33:40: SignalClient connecting with url: wss://live.xxx-xxx.xxx/rtc?access_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2NTQ3ODY4NTAsImlzcyI6IkFQSWFlb0JFeENOdG5CUyIsIm5iZiI6MTY1MjE5NDg1MCwic3ViIjoic2wiLCJ2aWRlbyI6eyJyb29tIjoidGVzdDAxIiwicm9vbUpvaW4iOnRydWV9fQ.7m6xVj3UFXIZfAucgqLjziZEefuX8ZLmgAMPYnEAWVE&auto_subscribe=1&adaptive_stream=1&protocol=7&sdk=flutter&version=0.5.9&os=iOS&os_version=15.4.1&device_model=iPhone14%2C5 flutter: 17:33:40: SignalClient ConnectionState disconnected -> connecting flutter: 17:33:40: [SignalClient#43456863] cleanUp() flutter: 17:33:40: [SignalEvent] SignalConnectionStateUpdatedEvent(newState: connecting, didReconnect: false, disconnectReason: null) flutter: 17:33:40: [WebSocketIO] Connecting(uri: wss://live.xxx-xxx.xxx/rtc?access_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2NTQ3ODY4NTAsImlzcyI6IkFQSWFlb0JFeENOdG5CUyIsIm5iZiI6MTY1MjE5NDg1MCwic3ViIjoic2wiLCJ2aWRlbyI6eyJyb29tIjoidGVzdDAxIiwicm9vbUpvaW4iOnRydWV9fQ.7m6xVj3UFXIZfAucgqLjziZEefuX8ZLmgAMPYnEAWVE&auto_subscribe=1&adaptive_stream=1&protocol=7&sdk=flutter&version=0.5.9&os=iOS&os_version=15.4.1&device_model=iPhone14%2C5)... flutter: 17:33:40: [WebSocketIO] Connected flutter: 17:33:40: SignalClient ConnectionState connecting -> connected flutter: 17:33:40: [SignalEvent] SignalConnectionStateUpdatedEvent(newState: connected, didReconnect: false, disconnectReason: null) flutter: 17:33:40: [SignalEvent] Instance of 'SignalJoinResponseEvent' flutter: 17:33:40: onConnected subscriberPrimary: true, serverVersion: 0.15.7, iceServers: [urls: turn:23.88.43.252:443?transport=udp urls: turns:live-turn.xxx-xxx.xxx:443?transport=tcp username: test01 credential: tFGf19TDlxEkzZ93SdDzLZF3DH7GSK1UZdIpJ2nEU2d ] flutter: 17:33:40: [PCTransport] creating {sdpSemantics: unified-plan, iceServers: [{urls: [turn:23.88.43.252:443?transport=udp, turns:live-turn.xxx-xxx.xxx:443?transport=tcp], username: test01, credential: test01}]} flutter: 17:33:40: [Engine] Received JoinResponse, serverVersion: 0.15.7 flutter: 17:33:40: Room Connect completed flutter: 17:33:40: [ParticipantEvent] ParticipantPermissionsUpdatedEvent(participant: LocalParticipant(sid: PA_SuRBy8WDoTia, identity: sl), permissions: Instance of 'ParticipantPermissions'), will notifyListeners() flutter: 17:33:40: [RoomEvent] ParticipantPermissionsUpdatedEvent(participant: LocalParticipant(sid: PA_SuRBy8WDoTia, identity: sl), permissions: Instance of 'ParticipantPermissions'), will notifyListeners() flutter: 17:33:40: [SignalEvent] Instance of 'SignalTokenUpdatedEvent' flutter: 17:33:40: [PCTransport] creating {sdpSemantics: unified-plan, iceServers: [{urls: [turn:23.88.43.252:443?transport=udp, turns:live-turn.xxx-xxx.xxx:443?transport=tcp], username: test01, credential: test01}]} flutter: 17:33:40: EventsListener#445446567 event was cancelled by func flutter: 17:33:40: Waiting for engine to connect... flutter: 17:33:40: Server refreshed the token flutter: 17:33:40: [SignalEvent] Instance of 'SignalOfferEvent' flutter: 17:33:40: [Engine#316236384] Received server offer(type: offer, null) flutter: 17:33:40: [SignalEvent] Instance of 'SignalTrickleEvent' flutter: 17:33:40: [SignalEvent] Instance of 'SignalTrickleEvent' flutter: 17:33:40: [SignalEvent] Instance of 'SignalTrickleEvent' flutter: 17:33:40: [SignalEvent] Instance of 'SignalTrickleEvent' flutter: 17:33:40: [SignalEvent] Instance of 'SignalTrickleEvent' flutter: 17:33:40: Created answer flutter: 17:33:40: got ICE candidate from peer flutter: 17:33:40: subscriber onIceCandidate flutter: 17:33:40: subscriber onIceCandidate flutter: 17:33:40: subscriber onIceCandidate flutter: 17:33:40: subscriber onIceCandidate flutter: 17:33:40: subscriber onIceCandidate flutter: 17:33:40: subscriber onIceCandidate flutter: 17:33:40: pc.getRemoteDescription Instance of 'RTCSessionDescription' flutter: 17:33:40: got ICE candidate from peer flutter: 17:33:40: [EngineEvent] Engine#316236384 EngineSubscriberPeerStateUpdatedEvent(state: RTCPeerConnectionState.RTCPeerConnectionStateConnecting, isPrimary: true) flutter: 17:33:40: [SignalEvent] Instance of 'SignalTrickleEvent' flutter: 17:33:40: pc.getRemoteDescription Instance of 'RTCSessionDescription' flutter: 17:33:40: [SignalEvent] Instance of 'SignalTrickleEvent' flutter: 17:33:40: got ICE candidate from peer flutter: 17:33:40: pc.getRemoteDescription Instance of 'RTCSessionDescription' flutter: 17:33:40: got ICE candidate from peer flutter: 17:33:40: pc.getRemoteDescription Instance of 'RTCSessionDescription' flutter: 17:33:40: got ICE candidate from peer flutter: 17:33:40: pc.getRemoteDescription Instance of 'RTCSessionDescription' flutter: 17:33:40: got ICE candidate from peer flutter: 17:33:40: pc.getRemoteDescription Instance of 'RTCSessionDescription' flutter: 17:33:40: got ICE candidate from peer flutter: 17:33:40: pc.getRemoteDescription Instance of 'RTCSessionDescription' flutter: 17:33:40: subscriber onIceCandidate flutter: 17:33:40: [SignalEvent] Instance of 'SignalTrickleEvent' flutter: 17:33:40: got ICE candidate from peer flutter: 17:33:40: pc.getRemoteDescription Instance of 'RTCSessionDescription' flutter: 17:33:40: [SignalEvent] Instance of 'SignalTrickleEvent' flutter: 17:33:40: got ICE candidate from peer flutter: 17:33:40: pc.getRemoteDescription Instance of 'RTCSessionDescription' flutter: 17:33:41: [EngineEvent] Engine#316236384 EngineSubscriberPeerStateUpdatedEvent(state: RTCPeerConnectionState.RTCPeerConnectionStateConnected, isPrimary: true) flutter: 17:33:41: EventsEmitter#230896744 event was cancelled by func flutter: 17:33:41: Engine ConnectionState connecting -> connected flutter: 17:33:41: [EngineEvent] Engine#316236384 EngineConnectionStateUpdatedEvent(newState: connected, didReconnect: false, disconnectReason: null) flutter: 17:33:41: Server opened DC label: _reliable flutter: 17:33:41: Server opened DC label: _lossy flutter: 17:33:43: setSourceEnabled(source: TrackSource.camera, enabled: true) flutter: 17:33:43: Compute encodings with resolution: VideoDimensions(960x540), options: VideoPublishOptions(videoEncoding: null, simulcast: true) flutter: 17:33:43: using video encoding flutter: 17:33:43: Using encodings: ({active: true, rid: q, maxBitrate: 120000, maxFramerate: 15, scaleResolutionDownBy: 3.0}, {active: true, rid: h, maxBitrate: 300000, maxFramerate: 20, scaleResolutionDownBy: 1.5}, {active: true, rid: f, maxBitrate: 600000, maxFramerate: 25, scaleResolutionDownBy: 1.0}) flutter: 17:33:43: Video layers: (quality: LOW width: 320 height: 180 bitrate: 120000 , quality: MEDIUM width: 640 height: 360 bitrate: 300000 , quality: HIGH width: 960 height: 540 bitrate: 600000 ) flutter: 17:33:43: [SignalEvent] Instance of 'SignalLocalTrackPublishedEvent' flutter: 17:33:43: EventsListener#445446567 event was cancelled by func flutter: 17:33:43: publishVideoTrack addTrack response: sid: TR_VCzSDHaDcwbURf type: VIDEO name: camera width: 960 height: 540 source: CAMERA layers: { width: 320 height: 180 bitrate: 120000 } layers: { quality: MEDIUM width: 640 height: 360 bitrate: 300000 } layers: { quality: HIGH width: 960 height: 540 bitrate: 600000 } flutter: 17:33:43: LocalVideoTrack#980752284.start() flutter: 17:33:43: publishVideoTrack publisher: Instance of 'Transport' flutter: 17:33:43: LocalVideoTrack#980752284.publish() flutter: 17:33:43: setSourceEnabled(source: TrackSource.microphone, enabled: true) flutter: 17:33:43: [ParticipantEvent] LocalTrackPublishedEvent(participant: LocalParticipant(sid: PA_SuRBy8WDoTia, identity: sl), publication: LocalTrackPublication(sid: TR_VCzSDHaDcwbURf, source: TrackSource.camera)), will notifyListeners() flutter: 17:33:43: [RoomEvent] LocalTrackPublishedEvent(participant: LocalParticipant(sid: PA_SuRBy8WDoTia, identity: sl), publication: LocalTrackPublication(sid: TR_VCzSDHaDcwbURf, source: TrackSource.camera)), will notifyListeners() flutter: 17:33:43: [SignalEvent] Instance of 'SignalLocalTrackPublishedEvent' flutter: 17:33:43: EventsListener#445446567 event was cancelled by func flutter: 17:33:43: LocalAudioTrack#49534193.start() flutter: 17:33:43: LocalAudioTrack#49534193.publish() flutter: 17:33:43: onAudioTrackCountDidChange: local: 1, remote: 0 flutter: 17:33:43: didUpdateSate: AudioTrackState.localOnly flutter: 17:33:43: configuring for AudioTrackState.localOnly using Instance of 'NativeAudioConfiguration'... [LiveKit] Configuring category: AVAudioSessionCategoryPlayAndRecord [LiveKit] Configuring categoryOptions: ["allowBluetooth", "mixWithOthers"] [LiveKit] Configuring mode: AVAudioSessionModeVideoChat flutter: 17:33:43: starting to negotiate [LiveKit] RTCAudioSession Configure success flutter: 17:33:43: [ParticipantEvent] LocalTrackPublishedEvent(participant: LocalParticipant(sid: PA_SuRBy8WDoTia, identity: sl), publication: LocalTrackPublication(sid: TR_AMGDC8exftKS9K, source: TrackSource.microphone)), will notifyListeners() flutter: 17:33:43: [RoomEvent] LocalTrackPublishedEvent(participant: LocalParticipant(sid: PA_SuRBy8WDoTia, identity: sl), publication: LocalTrackPublication(sid: TR_AMGDC8exftKS9K, source: TrackSource.microphone)), will notifyListeners() flutter: 17:33:43: publisher onOffer flutter: 17:33:43: publisher onIceCandidate flutter: 17:33:43: publisher onIceCandidate flutter: 17:33:43: publisher onIceCandidate flutter: 17:33:43: publisher onIceCandidate flutter: 17:33:43: publisher onIceCandidate flutter: 17:33:43: publisher onIceCandidate flutter: 17:33:43: publisher onIceCandidate flutter: 17:33:43: publisher onIceCandidate flutter: 17:33:43: publisher onIceCandidate flutter: 17:33:43: publisher onIceCandidate flutter: 17:33:43: publisher onIceCandidate flutter: 17:33:43: publisher onIceCandidate flutter: 17:33:43: publisher onIceCandidate flutter: 17:33:43: publisher onIceCandidate flutter: 17:33:43: publisher onIceCandidate flutter: 17:33:43: publisher onIceCandidate flutter: 17:33:43: publisher onIceCandidate flutter: 17:33:43: publisher onIceCandidate flutter: 17:33:43: publisher onIceCandidate flutter: 17:33:43: publisher onIceCandidate flutter: 17:33:43: publisher onIceCandidate flutter: 17:33:43: [SignalEvent] Instance of 'SignalAnswerEvent' flutter: 17:33:43: received answer (type: answer) flutter: 17:33:43: [SignalEvent] Instance of 'SignalTrickleEvent' flutter: 17:33:43: [SignalEvent] Instance of 'SignalTrickleEvent' flutter: 17:33:43: [SignalEvent] Instance of 'SignalTrickleEvent' flutter: 17:33:43: [SignalEvent] Instance of 'SignalParticipantUpdateEvent' flutter: 17:33:43: [ParticipantEvent] ParticipantPermissionsUpdatedEvent(participant: LocalParticipant(sid: PA_SuRBy8WDoTia, identity: sl), permissions: Instance of 'ParticipantPermissions'), will notifyListeners() flutter: 17:33:43: [RoomEvent] ParticipantPermissionsUpdatedEvent(participant: LocalParticipant(sid: PA_SuRBy8WDoTia, identity: sl), permissions: Instance of 'ParticipantPermissions'), will notifyListeners() flutter: 17:33:43: [SignalEvent] Instance of 'SignalTrickleEvent' flutter: 17:33:43: got ICE candidate from peer flutter: 17:33:43: pc.getRemoteDescription Instance of 'RTCSessionDescription' flutter: 17:33:43: got ICE candidate from peer flutter: 17:33:43: [EngineEvent] Engine#316236384 EnginePublisherPeerStateUpdatedEvent(state: RTCPeerConnectionState.RTCPeerConnectionStateConnecting, isPrimary: false) flutter: 17:33:43: pc.getRemoteDescription Instance of 'RTCSessionDescription' flutter: 17:33:43: got ICE candidate from peer flutter: 17:33:43: pc.getRemoteDescription Instance of 'RTCSessionDescription' flutter: 17:33:43: got ICE candidate from peer flutter: 17:33:43: pc.getRemoteDescription Instance of 'RTCSessionDescription' flutter: 17:33:43: [SignalEvent] Instance of 'SignalTrickleEvent' flutter: 17:33:43: got ICE candidate from peer flutter: 17:33:43: pc.getRemoteDescription Instance of 'RTCSessionDescription' flutter: 17:33:43: [SignalEvent] Instance of 'SignalTrickleEvent' flutter: 17:33:43: got ICE candidate from peer flutter: 17:33:43: pc.getRemoteDescription Instance of 'RTCSessionDescription' flutter: 17:33:43: [SignalEvent] Instance of 'SignalTrickleEvent' flutter: 17:33:43: got ICE candidate from peer flutter: 17:33:43: pc.getRemoteDescription Instance of 'RTCSessionDescription' flutter: 17:33:43: [SignalEvent] Instance of 'SignalTrickleEvent' flutter: 17:33:43: got ICE candidate from peer flutter: 17:33:43: pc.getRemoteDescription Instance of 'RTCSessionDescription' flutter: 17:33:43: [SignalEvent] Instance of 'SignalTrickleEvent' flutter: 17:33:43: got ICE candidate from peer flutter: 17:33:43: pc.getRemoteDescription Instance of 'RTCSessionDescription' flutter: 17:33:43: [EngineEvent] Engine#316236384 EnginePublisherPeerStateUpdatedEvent(state: RTCPeerConnectionState.RTCPeerConnectionStateConnected, isPrimary: false) [VERBOSE-2:ui_dart_state.cc(209)] Unhandled Exception: type 'int' is not a subtype of type 'String' #0 RTCDataChannelNative.eventListener (package:flutter_webrtc/src/native/rtc_data_channel_impl.dart:54:42) #1 _rootRunUnary (dart:async/zone.dart:1434:47) #2 _CustomZone.runUnary (dart:async/zone.dart:1335:19) #3 _CustomZone.runUnaryGuarded (dart:async/zone.dart:1244:7) #4 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:341:11) #5 _DelayedData.perform (dart:async/stream_impl.dart:591:14) #6 _StreamImplEvents.handleNext (dart:async/stream_impl.dart:706:11) #7 _PendingEvents.schedule. (dart:async/stream_impl.dart:663:7) #8 _rootRun (dart:async/zone.dart:1418:47) #9 _CustomZone.run (dart:async/zone.dart:1328:19) #10 _CustomZone.runGuarded (dart:async/zone.dart:1236:7) #11 _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1276:23) #12 _rootRun (dart:async/zone.dart:1426:13) #13 _CustomZone.run (dart:async/zone.dart:1328:19) #14 _CustomZone.runGuarded (dart:async/zone.dart:1236:7) #15 _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1276:23) #16 _microtaskLoop (dart:async/schedule_microtask.dart:40:21) #17 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49:5) flutter: 17:33:44: [SignalEvent] Instance of 'SignalParticipantUpdateEvent' flutter: 17:33:44: [ParticipantEvent] ParticipantPermissionsUpdatedEvent(participant: LocalParticipant(sid: PA_SuRBy8WDoTia, identity: sl), permissions: Instance of 'ParticipantPermissions'), will notifyListeners() flutter: 17:33:44: [RoomEvent] ParticipantPermissionsUpdatedEvent(participant: LocalParticipant(sid: PA_SuRBy8WDoTia, identity: sl), permissions: Instance of 'ParticipantPermissions'), will notifyListeners() flutter: 17:33:44: [SignalEvent] Instance of 'SignalParticipantUpdateEvent' flutter: 17:33:44: [ParticipantEvent] ParticipantPermissionsUpdatedEvent(participant: LocalParticipant(sid: PA_SuRBy8WDoTia, identity: sl), permissions: Instance of 'ParticipantPermissions'), will notifyListeners() flutter: 17:33:44: [RoomEvent] ParticipantPermissionsUpdatedEvent(participant: LocalParticipant(sid: PA_SuRBy8WDoTia, identity: sl), permissions: Instance of 'ParticipantPermissions'), will notifyListeners() flutter: 17:33:45: [SignalEvent] Instance of 'SignalConnectionQualityUpdateEvent' flutter: 17:33:45: [ParticipantEvent] ParticipantConnectionQualityUpdatedEvent(participant: LocalParticipant(sid: PA_SuRBy8WDoTia, identity: sl), connectionQuality: ConnectionQuality.excellent), will notifyListeners() flutter: 17:33:45: [RoomEvent] ParticipantConnectionQualityUpdatedEvent(participant: LocalParticipant(sid: PA_SuRBy8WDoTia, identity: sl), connectionQuality: ConnectionQuality.excellent), will notifyListeners() flutter: 17:33:50: [SignalEvent] Instance of 'SignalConnectionQualityUpdateEvent' flutter: 17:33:54: [Room#964621628] cleanUp() flutter: 17:33:54: LocalVideoTrack#980752284 onDispose() flutter: 17:33:54: LocalVideoTrack#980752284.stop() flutter: 17:33:54: Stopping mediaStreamTrack... flutter: 17:33:54: [SignalEvent] Instance of 'SignalLeaveEvent' flutter: 17:33:54: [Engine#316236384] cleanUp() [VERBOSE-2:ui_dart_state.cc(209)] Unhandled Exception: type 'int' is not a subtype of type 'String' #0 RTCDataChannelNative.eventListener (package:flutter_webrtc/src/native/rtc_data_channel_impl.dart:54:42) #1 _rootRunUnary (dart:async/zone.dart:1434:47) #2 _CustomZone.runUnary (dart:async/zone.dart:1335:19) #3 _CustomZone.runUnaryGuarded (dart:async/zone.dart:1244:7) #4 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:341:11) #5 _DelayedData.perform (dart:async/stream_impl.dart:591:14) #6 _StreamImplEvents.handleNext (dart:async/stream_impl.dart:706:11) #7 _PendingEvents.schedule. (dart:async/stream_impl.dart:663:7) #8 _rootRun (dart:async/zone.dart:1418:47) #9 _CustomZone.run (dart:async/zone.dart:1328:19) #10 _CustomZone.runGuarded (dart:async/zone.dart:1236:7) #11 _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1276:23) #12 _rootRun (dart:async/zone.dart:1426:13) #13 _CustomZone.run (dart:async/zone.dart:1328:19) #14 _CustomZone.runGuarded (dart:async/zone.dart:1236:7) #15 _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1276:23) #16 _microtaskLoop (dart:async/schedule_microtask.dart:40:21) #17 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49:5) [VERBOSE-2:ui_dart_state.cc(209)] Unhandled Exception: type 'int' is not a subtype of type 'String' #0 RTCDataChannelNative.eventListener (package:flutter_webrtc/src/native/rtc_data_channel_impl.dart:54:42) #1 _rootRunUnary (dart:async/zone.dart:1434:47) #2 _CustomZone.runUnary (dart:async/zone.dart:1335:19) #3 _CustomZone.runUnaryGuarded (dart:async/zone.dart:1244:7) #4 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:341:11) #5 _DelayedData.perform (dart:async/stream_impl.dart:591:14) #6 _StreamImplEvents.handleNext (dart:async/stream_impl.dart:706:11) #7 _PendingEvents.schedule. (dart:async/stream_impl.dart:663:7) #8 _rootRun (dart:async/zone.dart:1418:47) #9 _CustomZone.run (dart:async/zone.dart:1328:19) #10 _CustomZone.runGuarded (dart:async/zone.dart:1236:7) #11 _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1276:23) #12 _rootRun (dart:async/zone.dart:1426:13) #13 _CustomZone.run (dart:async/zone.dart:1328:19) #14 _CustomZone.runGuarded (dart:async/zone.dart:1236:7) #15 _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1276:23) #16 _microtaskLoop (dart:async/schedule_microtask.dart:40:21) #17 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49:5) [VERBOSE-2:ui_dart_state.cc(209)] Unhandled Exception: type 'int' is not a subtype of type 'String' #0 RTCDataChannelNative.eventListener (package:flutter_webrtc/src/native/rtc_data_channel_impl.dart:54:42) #1 _rootRunUnary (dart:async/zone.dart:1434:47) #2 _CustomZone.runUnary (dart:async/zone.dart:1335:19) #3 _CustomZone.runUnaryGuarded (dart:async/zone.dart:1244:7) #4 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:341:11) #5 _DelayedData.perform (dart:async/stream_impl.dart:591:14) #6 _StreamImplEvents.handleNext (dart:async/stream_impl.dart:706:11) #7 _PendingEvents.schedule. (dart:async/stream_impl.dart:663:7) #8 _rootRun (dart:async/zone.dart:1418:47) #9 _CustomZone.run (dart:async/zone.dart:1328:19) #10 _CustomZone.runGuarded (dart:async/zone.dart:1236:7) #11 _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1276:23) #12 _rootRun (dart:async/zone.dart:1426:13) #13 _CustomZone.run (dart:async/zone.dart:1328:19) #14 _CustomZone.runGuarded (dart:async/zone.dart:1236:7) #15 _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1276:23) #16 _microtaskLoop (dart:async/schedule_microtask.dart:40:21) #17 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49:5) [VERBOSE-2:ui_dart_state.cc(209)] Unhandled Exception: type 'int' is not a subtype of type 'String' #0 RTCDataChannelNative.eventListener (package:flutter_webrtc/src/native/rtc_data_channel_impl.dart:54:42) #1 _rootRunUnary (dart:async/zone.dart:1434:47) #2 _CustomZone.runUnary (dart:async/zone.dart:1335:19) #3 _CustomZone.runUnaryGuarded (dart:async/zone.dart:1244:7) #4 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:341:11) #5 _DelayedData.perform (dart:async/stream_impl.dart:591:14) #6 _StreamImplEvents.handleNext (dart:async/stream_impl.dart:706:11) #7 _PendingEvents.schedule. (dart:async/stream_impl.dart:663:7) #8 _rootRun (dart:async/zone.dart:1418:47) #9 _CustomZone.run (dart:async/zone.dart:1328:19) #10 _CustomZone.runGuarded (dart:async/zone.dart:1236:7) #11 _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1276:23) #12 _rootRun (dart:async/zone.dart:1426:13) #13 _CustomZone.run (dart:async/zone.dart:1328:19) #14 _CustomZone.runGuarded (dart:async/zone.dart:1236:7) #15 _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1276:23) #16 _microtaskLoop (dart:async/schedule_microtask.dart:40:21) #17 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49:5) [VERBOSE-2:ui_dart_state.cc(209)] Unhandled Exception: type 'int' is not a subtype of type 'String' #0 RTCDataChannelNative.eventListener (package:flutter_webrtc/src/native/rtc_data_channel_impl.dart:54:42) #1 _rootRunUnary (dart:async/zone.dart:1434:47) #2 _CustomZone.runUnary (dart:async/zone.dart:1335:19) #3 _CustomZone.runUnaryGuarded (dart:async/zone.dart:1244:7) #4 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:341:11) #5 _DelayedData.perform (dart:async/stream_impl.dart:591:14) #6 _StreamImplEvents.handleNext (dart:async/stream_impl.dart:706:11) #7 _PendingEvents.schedule. (dart:async/stream_impl.dart:663:7) #8 _rootRun (dart:async/zone.dart:1418:47) #9 _CustomZone.run (dart:async/zone.dart:1328:19) #10 _CustomZone.runGuarded (dart:async/zone.dart:1236:7) #11 _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1276:23) #12 _rootRun (dart:async/zone.dart:1426:13) #13 _CustomZone.run (dart:async/zone.dart:1328:19) #14 _CustomZone.runGuarded (dart:async/zone.dart:1236:7) #15 _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1276:23) #16 _microtaskLoop (dart:async/schedule_microtask.dart:40:21) #17 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49:5) [VERBOSE-2:ui_dart_state.cc(209)] Unhandled Exception: type 'int' is not a subtype of type 'String' #0 RTCDataChannelNative.eventListener (package:flutter_webrtc/src/native/rtc_data_channel_impl.dart:54:42) #1 _rootRunUnary (dart:async/zone.dart:1434:47) #2 _CustomZone.runUnary (dart:async/zone.dart:1335:19) #3 _CustomZone.runUnaryGuarded (dart:async/zone.dart:1244:7) #4 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:341:11) #5 _DelayedData.perform (dart:async/stream_impl.dart:591:14) #6 _StreamImplEvents.handleNext (dart:async/stream_impl.dart:706:11) #7 _PendingEvents.schedule. (dart:async/stream_impl.dart:663:7) #8 _rootRun (dart:async/zone.dart:1418:47) #9 _CustomZone.run (dart:async/zone.dart:1328:19) #10 _CustomZone.runGuarded (dart:async/zone.dart:1236:7) #11 _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1276:23) #12 _rootRun (dart:async/zone.dart:1426:13) #13 _CustomZone.run (dart:async/zone.dart:1328:19) #14 _CustomZone.runGuarded (dart:async/zone.dart:1236:7) #15 _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1276:23) #16 _microtaskLoop (dart:async/schedule_microtask.dart:40:21) #17 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49:5) flutter: 17:33:54: [LocalParticipant#583635712] rtc.removeTrack() did throw Unable to RTCPeerConnection::removeTrack: Error: peerConnection not found! flutter: 17:33:54: LocalVideoTrack#980752284.unpublish() flutter: 17:33:54: [LocalTrackPublication#252252833] unnecessary dispose() called. flutter: 17:33:54: [ParticipantEvent] LocalTrackUnpublishedEvent(participant: LocalParticipant(sid: PA_SuRBy8WDoTia, identity: sl), publication: LocalTrackPublication(sid: TR_VCzSDHaDcwbURf, source: TrackSource.camera)), will notifyListeners() flutter: 17:33:54: [RoomEvent] LocalTrackUnpublishedEvent(participant: LocalParticipant(sid: PA_SuRBy8WDoTia, identity: sl), publication: LocalTrackPublication(sid: TR_VCzSDHaDcwbURf, source: TrackSource.camera)), will notifyListeners() flutter: 17:33:54: LocalAudioTrack#49534193 onDispose() flutter: 17:33:54: LocalAudioTrack#49534193.stop() flutter: 17:33:54: Stopping mediaStreamTrack... flutter: 17:33:54: LocalAudioTrack#49534193.unpublish() flutter: 17:33:54: onAudioTrackCountDidChange: local: 0, remote: 0 flutter: 17:33:54: didUpdateSate: AudioTrackState.none flutter: 17:33:54: configuring for AudioTrackState.none using Instance of 'NativeAudioConfiguration'... [LiveKit] Configuring category: AVAudioSessionCategorySoloAmbient [LiveKit] Configuring categoryOptions: [] [LiveKit] Configuring mode: AVAudioSessionModeDefault flutter: 17:33:54: [Transport#99712296] createAndSendOffer() already disposed [LiveKit] RTCAudioSession Configure success flutter: 17:33:54: [LocalTrackPublication#137434872] unnecessary dispose() called. flutter: 17:33:54: [ParticipantEvent] LocalTrackUnpublishedEvent(participant: LocalParticipant(sid: PA_SuRBy8WDoTia, identity: sl), publication: LocalTrackPublication(sid: TR_AMGDC8exftKS9K, source: TrackSource.microphone)), will notifyListeners() flutter: 17:33:54: [RoomEvent] LocalTrackUnpublishedEvent(participant: LocalParticipant(sid: PA_SuRBy8WDoTia, identity: sl), publication: LocalTrackPublication(sid: TR_AMGDC8exftKS9K, source: TrackSource.microphone)), will notifyListeners() flutter: 17:33:54: [Engine#316236384] cleanUp() flutter: 17:33:54: [Transport#787787932] unnecessary dispose() called. flutter: 17:33:54: [SignalClient#43456863] cleanUp() flutter: 17:33:54: Engine ConnectionState connected -> disconnected flutter: 17:33:54: [EngineEvent] Engine#316236384 EngineConnectionStateUpdatedEvent(newState: disconnected, didReconnect: false, disconnectReason: null) flutter: 17:33:54: [Room#964621628] cleanUp() flutter: 17:33:54: [Engine#316236384] cleanUp() flutter: 17:33:54: [SignalClient#43456863] cleanUp() flutter: 17:33:54: [RoomEvent] RoomDisconnectedEvent(), will notifyListeners() flutter: 17:33:54: [SignalClient#43456863] cleanUp() flutter: 17:33:54: SignalClient onSocketDispose ConnectionState.connected flutter: 17:33:54: SignalClient did disconnect ConnectionState.connected flutter: 17:33:54: SignalClient ConnectionState connected -> disconnected flutter: 17:33:54: [SignalEvent] SignalConnectionStateUpdatedEvent(newState: disconnected, didReconnect: false, disconnectReason: null) flutter: 17:33:54: onDisconnected state:ConnectionState.disconnected reason:signal flutter: 17:33:54: [Engine#316236384] Already disconnected... DisconnectReason.signal flutter: 17:33:54: [Room#964621628] cleanUp() flutter: 17:33:54: [Engine#316236384] cleanUp() flutter: 17:33:54: [SignalClient#43456863] cleanUp() flutter: 17:33:54: [Engine#316236384] cleanUp() flutter: 17:33:54: [SignalClient#43456863] cleanUp()