Description
We're experiencing a calling issue in our Flutter project using:
- hms_room_kit: ^1.1.6
- flutter_callkit_incoming: ^2.5.2
When a call is made to an iOS receiver, and the receiver accepts the call using CallKit, the caller does not get updated — the app doesn’t reflect that the receiver has joined the 100ms room.
This issue occurs in the following scenarios:
- iOS-to-iOS → Issue occurs
- Android-to-iOS → Same issue occurs
- ✅ iOS-to-Android → Works as expected
In the failed scenarios, the caller only receives an update after the iOS receiver leaves and rejoins the room manually.
Actual Behavior:
- iOS receiver accepts the call and joins the room.
- Caller (iOS or Android) does not receive any update — no peer join event, no audio/video indication.
- Caller only updates when the iOS receiver leaves and rejoins the room manually.
Device Info:
- Caller Devices: iPhone / Android
- Receiver Device: iPhone
- OS Versions: iOS (e.g., 16.7, 18.5), Android (e.g., 14)
- Flutter Version: e.g., 3.29.3
- hms_room_kit Version: 1.1.6
- flutter_callkit_incoming Version: 2.5.2
100ms Flutter Version
Flutter (3.29.2)
Steps to reproduce
- User A (iOS or Android) initiates a call to User B (iOS).
- User B receives the incoming call via flutter_callkit_incoming.
- User B taps “Accept” → receiver joins 100ms room.
- User A does not receive any peer join/update.
- User B manually leaves and rejoins → only then does User A see the peer.
Expected results
Once the iOS receiver accepts the incoming call and joins the 100ms room, the caller (iOS or Android) should immediately see the peer joined and be able to proceed with the call.
Code example, screenshot, or link to a repository
Code Snippet:
HMSPrebuilt(
roomCode: ControllerScreenShare.to.roomCode,
onLeave: () async{
debugPrint("------[Screen Share Stop]------onLeave");
await FlutterCallkitIncoming.endAllCalls();
isScreenShare.value = false;
Future.delayed(const Duration(seconds: 2), () => TabbarController.to.currentIndex.value = 0);
},
options: HMSPrebuiltOptions(
userName: ControllerScreenShare.to.name,
userId: "11",
debugInfo: true,
enableNoiseCancellation: true,
// isAutomaticGainControlEnabled: true,
iOSScreenshareConfig: HMSIOSScreenshareConfig(
appGroup: "group.xxx.xxx",
preferredExtension: "com.xxx.xxx",
),
),
),
IOS_to_IOS-Android: https://uploadnow.io/f/tlz5XVw
IOS_to_IOS: https://uploadnow.io/f/XlzRJDD
Logs
ANDROID_to_IOS
Android(Sender)
------[ControllerScreenShare onInit]------roomCode: xwb-hkgo-xfh , name: rihan s
D/KrispLoading(10341): Present: Library false, Dashboard false
W/HmsNoiseCancellation(10341): Noise Cancellation not loaded. Library added: false, Enabled from dashboard false
D/Profiling(10341): Time taken (:SafeVariable>webrtc>initialize): 45ms thread name safe-variable-thread
W/System (10341): ClassLoader referenced unknown path: system/framework/mediatek-cta.jar
D/NCReportingUseCase(10341): Local peer role changed, ignoring since NC is not enabled by default or join: false
E/sctp_data_channel.cc(10341): (line 85): Accepting maxRetransmits < 0 for backwards compatibility
E/sctp_data_channel.cc(10341):
E/sctp_data_channel.cc(10341): (line 95): Accepting maxRetransmitTime < 0 for backwards compatibility
E/sctp_data_channel.cc(10341):
D/SFUMIGRATION(10341): NodeInfo: set for class role :=PUBLISH
D/SFUMIGRATION(10341): NodeInfo: set for class role :=SUBSCRIBE
I/AudioManager(10341): In isBluetoothScoAvailableOffCall(), calling appilication: com.xxx.xxx, return value: true
I/AudioManager(10341): In setSpeakerphoneOn(), on: true, calling application: com.xxx.xxx
D/AudioManager(10341): setSpeakerphoneOn keys: get_speaker_authority=com.xxx.xxx, mAuthoriyStr = true
E/stun_port.cc(10341): (line 632): UDP send of 20 bytes to host turn-in.100ms.live:443 (35.244.46.x:443) failed with error 0 : [0x00000016] Invalid argument
E/stun_port.cc(10341):
E/stun_port.cc(10341): (line 632): UDP send of 20 bytes to host turn-in.100ms.live:3478 (35.244.46.x:3478) failed with error 0 : [0x00000016] Invalid argument
E/stun_port.cc(10341):
D/SFUMIGRATION(10341): NodeInfo: set for class sfu-5ea56b8d-0906-4e12-a006-a80ca006c22f role :=PUBLISH
D/SFUMIGRATION(10341): NodeInfo: set for class sfu-5ea56b8d-0906-4e12-a006-a80ca006c22f role :=SUBSCRIBE
E/basic_packet_socket_factory.cc(10341): (line 167): TCP connect failed with error 22
E/basic_packet_socket_factory.cc(10341):
E/turn_port.cc(10341): (line 401): Failed to create TURN client socket
E/turn_port.cc(10341):
E/basic_packet_socket_factory.cc(10341): (line 167): TCP connect failed with error 22
E/basic_packet_socket_factory.cc(10341):
E/turn_port.cc(10341): (line 401): Failed to create TURN client socket
E/turn_port.cc(10341):
E/turn_port.cc(10341): (line 880): Port[cc621600:0:1:0:relay:Net[lo:127.0.0.x/8:Loopback:id=1]]: Failed to send TURN message, error: 22
E/turn_port.cc(10341):
E/turn_port.cc(10341): (line 880): Port[cc622200:0:1:0:relay:Net[lo:127.0.0.x/8:Loopback:id=1]]: Failed to send TURN message, error: 22
E/turn_port.cc(10341):
D/CheckPacketP(10341): Returning bundle with lost: []
D/IAtlas (10341): IAtlas::init CallingPid 10341
D/IAtlas (10341): IAtlas::init this 0x783079b1a0
D/AudioRecord(10341): set(): 0x780edbef00, inputSource 7, sampleRate 48000, format 0x1, channelMask 0x10, frameCount 3840, notificationFrames 0, sessionId 0, transferType 0, flags 0, opPackageName com.xxx.xxx uid -1, pid -1
D/AudioRecord(10341): top_package_name =
D/AudioRecord(10341): 7(): inputSource already
D/AudioRecord(10341): openRecord_l: 0x780edbef00, mCblk = 0x767bd87000
D/AudioRecord(10341): start(250): 0x780edbef00, sync event 0 trigger session 0
E/stun_port.cc(10341): (line 632): UDP send of 20 bytes to host turn-in.100ms.live:443 (35.244.46.x:443) failed with error 0 : [0x00000016] Invalid argument
E/stun_port.cc(10341):
E/stun_port.cc(10341): (line 632): UDP send of 20 bytes to host turn-in.100ms.live:3478 (35.244.46.x:3478) failed with error 0 : [0x00000016] Invalid argument
E/stun_port.cc(10341):
E/stun_port.cc(10341): (line 334): Port[e15b900:0:1:0:local:Net[lo:127.0.0.x/8:Loopback:id=1]]: UDP send of 112 bytes to host 10.169.0.x:15448 failed with error 22
E/stun_port.cc(10341):
D/OPPOBlockingMicDetecting(10341): init, 433, pid = 10341, source = 7, sample_rate = 48000
D/AudioRecord(10341): start(250): return status 0
E/turn_port.cc(10341): (line 880): Port[cc621600:0:1:0:relay:Net[lo:127.0.0.x/8:Loopback:id=1]]: Failed to send TURN message, error: 22
E/turn_port.cc(10341):
E/turn_port.cc(10341): (line 880): Port[cc622200:0:1:0:relay:Net[lo:127.0.0.x/8:Loopback:id=1]]: Failed to send TURN message, error: 22
E/turn_port.cc(10341):
E/stun_port.cc(10341): (line 632): UDP send of 20 bytes to host turn-in.100ms.live:3478 (35.244.46.x:3478) failed with error 0 : [0x00000016] Invalid argument
E/stun_port.cc(10341):
E/stun_port.cc(10341): (line 632): UDP send of 20 bytes to host turn-in.100ms.live:443 (35.244.46.x:443) failed with error 0 : [0x00000016] Invalid argument
E/stun_port.cc(10341):
E/stun_port.cc(10341): (line 334): Port[e178600:0:1:0:local:Net[lo:127.0.0.x/8:Loopback:id=1]]: UDP send of 108 bytes to host 10.169.0.x:34111 failed with error 22
E/stun_port.cc(10341):
E/stun_port.cc(10341): (line 334): Port[e15b900:0:1:0:local:Net[lo:127.0.0.x/8:Loopback:id=1]]: UDP send of 112 bytes to host 34.93.202.x:45248 failed with error 22
E/stun_port.cc(10341):
E/turn_port.cc(10341): (line 880): Port[f8c2400:0:1:0:relay:Net[lo:127.0.0.x/8:Loopback:id=1]]: Failed to send TURN message, error: 22
E/turn_port.cc(10341):
E/basic_packet_socket_factory.cc(10341): (line 167): TCP connect failed with error 22
E/basic_packet_socket_factory.cc(10341):
E/turn_port.cc(10341): (line 401): Failed to create TURN client socket
E/turn_port.cc(10341):
E/turn_port.cc(10341): (line 880): Port[f8ee000:0:1:0:relay:Net[lo:127.0.0.x/8:Loopback:id=1]]: Failed to send TURN message, error: 22
E/turn_port.cc(10341):
E/basic_packet_socket_factory.cc(10341): (line 167): TCP connect failed with error 22
E/basic_packet_socket_factory.cc(10341):
E/turn_port.cc(10341): (line 401): Failed to create TURN client socket
E/turn_port.cc(10341):
[log] meeting onRoomUpdate-> room: HMSRoom{id: 68483ccb576aae6c969c404c, name: rihan s-room, metaData: , hmsBrowserRecordingState: Instance of 'HMSBrowserRecordingState', hmsRtmpStreamingState: Instance of 'HMSRtmpStreamingState', hmsServerRecordingState: Instance of 'HMSServerRecordingState', peers: [HMSPeer{name: rihan s, isLocal: true}], sessiosId: } update: roomPeerCountUpdated
E/stun_port.cc(10341): (line 632): UDP send of 20 bytes to host turn-in.100ms.live:3478 (35.244.46.x:3478) failed with error 22 : [0x00000016] Invalid argument
E/stun_port.cc(10341):
E/stun_port.cc(10341): (line 632): UDP send of 20 bytes to host turn-in.100ms.live:443 (35.244.46.x:443) failed with error 22 : [0x00000016] Invalid argument
E/stun_port.cc(10341):
[log] onJoin-> room: HMSRoom{id: 68483ccb576aae6c969c404c, name: rihan s-room, metaData: , hmsBrowserRecordingState: Instance of 'HMSBrowserRecordingState', hmsRtmpStreamingState: Instance of 'HMSRtmpStreamingState', hmsServerRecordingState: Instance of 'HMSServerRecordingState', peers: [HMSPeer{name: rihan s, isLocal: true}], sessiosId: 684c227ff5dd49869fc9f621}
[log] onPeerListUpdate -> addedPeers: [HMSPeer{name: rihan s, isLocal: true}] removedPeers: []
E/turn_port.cc(10341): (line 880): Port[f8c2400:0:1:0:relay:Net[lo:127.0.0.x/8:Loopback:id=1]]: Failed to send TURN message, error: 22
E/turn_port.cc(10341):
E/turn_port.cc(10341): (line 880): Port[f8ee000:0:1:0:relay:Net[lo:127.0.0.x/8:Loopback:id=1]]: Failed to send TURN message, error: 22
E/turn_port.cc(10341):
E/stun_port.cc(10341): (line 334): Port[e15b900:0:1:0:local:Net[lo:127.0.0.x/8:Loopback:id=1]]: UDP send of 112 bytes to host 10.169.0.x:15448 failed with error 22
E/stun_port.cc(10341):
E/stun_port.cc(10341): (line 632): UDP send of 20 bytes to host turn-in.100ms.live:443 (35.244.46.x:443) failed with error 22 : [0x00000016] Invalid argument
E/stun_port.cc(10341):
E/stun_port.cc(10341): (line 632): UDP send of 20 bytes to host turn-in.100ms.live:3478 (35.244.46.x:3478) failed with error 22 : [0x00000016] Invalid argument
E/stun_port.cc(10341):
E/stun_port.cc(10341): (line 334): Port[e15b900:0:1:0:local:Net[lo:127.0.0.x/8:Loopback:id=1]]: UDP send of 112 bytes to host 34.93.202.x:45248 failed with error 22
E/stun_port.cc(10341):
E/turn_port.cc(10341): (line 880): Port[cc621600:0:1:0:relay:Net[lo:127.0.0.x/8:Loopback:id=1]]: Failed to send TURN message, error: 22
E/turn_port.cc(10341):
E/turn_port.cc(10341): (line 880): Port[cc622200:0:1:0:relay:Net[lo:127.0.0.x/8:Loopback:id=1]]: Failed to send TURN message, error: 22
E/turn_port.cc(10341):
[log] meeting onRoomUpdate-> room: HMSRoom{id: 68483ccb576aae6c969c404c, name: rihan s-room, metaData: , hmsBrowserRecordingState: Instance of 'HMSBrowserRecordingState', hmsRtmpStreamingState: Instance of 'HMSRtmpStreamingState', hmsServerRecordingState: Instance of 'HMSServerRecordingState', peers: [HMSPeer{name: rihan s, isLocal: true}], sessiosId: 684c227ff5dd49869fc9f621} update: roomPeerCountUpdated
[log] onTrackUpdate-> track: HMSTrack{trackId: afb98c14-3cce-43c5-be9d-5fcad7dbe94a, kind: HMSTrackKind.kHMSTrackKindAudio, source: REGULAR, trackDescription: ,isMute: true} peer: rihan s update: trackAdded
E/stun_port.cc(10341): (line 334): Port[e15b900:0:1:0:local:Net[lo:127.0.0.x/8:Loopback:id=1]]: UDP send of 112 bytes to host 10.169.0.x:15448 failed with error 22
E/stun_port.cc(10341):
I/Choreographer(10341): Skipped 2 frames! The application may be doing too much work on its main thread.
E/stun_port.cc(10341): (line 632): UDP send of 20 bytes to host turn-in.100ms.live:3478 (35.244.46.x:3478) failed with error 22 : [0x00000016] Invalid argument
E/stun_port.cc(10341):
E/stun_port.cc(10341): (line 632): UDP send of 20 bytes to host turn-in.100ms.live:443 (35.244.46.x:443) failed with error 22 : [0x00000016] Invalid argument
E/stun_port.cc(10341):
E/turn_port.cc(10341): (line 880): Port[f8c2400:0:1:0:relay:Net[lo:127.0.0.x/8:Loopback:id=1]]: Failed to send TURN message, error: 22
E/turn_port.cc(10341):
E/turn_port.cc(10341): (line 880): Port[f8ee000:0:1:0:relay:Net[lo:127.0.0.x/8:Loopback:id=1]]: Failed to send TURN message, error: 22
E/turn_port.cc(10341):
D/CheckPacketP(10341): Returning bundle with lost: []
I/BufferQueue(10341): unnamed-10341-6 BufferQueue core=(10341:com.xxx.xxx)
W/com.xxx.xxx(10341): type=1400 audit(0.0:31372): avc: denied { read } for name="u:object_r:debug_bq_dump_prop:s0" dev="tmpfs" ino=8566 scontext=u:r:untrusted_app:s0:c221,c256,c512,c768 tcontext=u:object_r:debug_bq_dump_prop:s0 tclass=file permissive=0
E/libc (10341): Access denied finding property "vendor.debug.bq.dump"
I/BufferQueueConsumer(10341): unnamed-10341-6 connect(C): consumer=(10341:com.xxx.xxx) controlledByApp=true
E/libc (10341): Access denied finding property "vendor.debug.bq.dump"
I/BufferQueueConsumer(10341): unnamed-10341-6 setConsumerName: unnamed-10341-6
E/libc (10341): Access denied finding property "vendor.debug.bq.dump"
onKeyChanged --> key: chatMessageBlacklist value: null
[log] fetchPollList error: Instance of 'HMSException'
[log] onKeyChanged --> key: chatPeerBlacklist value: null
[log] onKeyChanged --> key: chatState value: null
[log] onKeyChanged --> key: pinnedMessages value: null
[log] onKeyChanged --> key: spotlight value: null
E/stun_port.cc(10341): (line 334): Port[e178600:0:1:0:local:Net[lo:127.0.0.x/8:Loopback:id=1]]: UDP send of 108 bytes to host 34.93.202.x:44029 failed with error 22
IOS(Receiver)
2025-06-13 18:37:09.547017+0530 Runner[23774:1232329] flutter: ---[CallKit]-----[Flutter FlutterCallkitIncoming.onEvent Event.actionCallIncoming]
2025-06-13 18:37:09.547111+0530 Runner[23774:1232329] flutter: Event.actionCallIncoming------------------------11
Error Domain=NSOSStatusErrorDomain Code=561017449 "Session activation failed" UserInfo={NSLocalizedDescription=Session activation failed}
LOG: onAccept
2025-06-13 18:37:16.080369+0530 Runner[23774:1232329] flutter: ---[CallKit]-----[Flutter FlutterCallkitIncoming.onEvent Event.actionCallAccept]
2025-06-13 18:37:16.080433+0530 Runner[23774:1232329] flutter: MAIN->ROOM : Flutter FlutterCallkitIncoming------------------------22
2025-06-13 18:37:16.080621+0530 Runner[23774:1232329] flutter:
2025-06-13 18:37:16.080649+0530 Runner[23774:1232329] flutter: ------[Gust Room Code]----->>> ner-ucvz-fns
2025-06-13 18:37:16.085335+0530 Runner[23774:1232329] flutter: Notification permission already granted
2025-06-13 18:37:16.085730+0530 Runner[23774:1232329] flutter: Camera permission already granted
2025-06-13 18:37:16.085945+0530 Runner[23774:1232329] flutter: microphone permission already granted
2025-06-13 18:37:16.086181+0530 Runner[23774:1232329] flutter: bluetooth permission already granted
2025-06-13 18:37:16.091628+0530 Runner[23774:1232329] flutter: ALL PERMISSIONS ARE GRANTED
Requested transaction successfully: endCallAlls
LOG: onEnd
2025-06-13 18:37:16.105913+0530 Runner[23774:1232329] flutter: ---[CallKit]-----[Flutter FlutterCallkitIncoming.onEvent Event.actionCallEnded]
2025-06-13 18:37:16.121721+0530 Runner[23774:1232329] flutter: ------[ControllerScreenShare onInit]------roomCode: ner-ucvz-fns , name: pk
WEIGHT /var/containers/Bundle/Application/2A1776E4-833B-4FA2-9A9D-26C1B48398CB/Runner.app/Frameworks/HMSNoiseCancellationModels.framework/HMSNoiseCancellationModels.bundle/c6.f.s.ced125.kw
2025-06-13 18:37:16.571408+0530 Runner[23774:1233285] [connection] nw_connection_copy_protocol_metadata_internal_block_invoke [C7] Client called nw_connection_copy_protocol_metadata_internal on unconnected nw_connection
2025-06-13 18:37:16.571564+0530 Runner[23774:1233285] [connection] nw_connection_copy_protocol_metadata_internal_block_invoke [C7] Client called nw_connection_copy_protocol_metadata_internal on unconnected nw_connection
2025-06-13 18:37:16.571593+0530 Runner[23774:1233285] [connection] nw_connection_copy_protocol_metadata_internal_block_invoke [C7] Client called nw_connection_copy_protocol_metadata_internal on unconnected nw_connection
2025-06-13 18:37:16.571627+0530 Runner[23774:1233285] [connection] nw_connection_copy_protocol_metadata_internal_block_invoke [C7] Client called nw_connection_copy_protocol_metadata_internal on unconnected nw_connection
2025-06-13 18:37:16.571648+0530 Runner[23774:1233285] [connection] nw_connection_copy_connected_local_endpoint_block_invoke [C7] Client called nw_connection_copy_connected_local_endpoint on unconnected nw_connection
2025-06-13 18:37:16.571668+0530 Runner[23774:1233285] [connection] nw_connection_copy_connected_remote_endpoint_block_invoke [C7] Client called nw_connection_copy_connected_remote_endpoint on unconnected nw_connection
2025-06-13 18:37:16.571686+0530 Runner[23774:1233285] [connection] nw_connection_copy_connected_path_block_invoke [C7] Client called nw_connection_copy_connected_path on unconnected nw_connection
2025-06-13 18:37:16.571723+0530 Runner[23774:1233285] [connection] nw_connection_copy_protocol_metadata_internal_block_invoke [C7] Client called nw_connection_copy_protocol_metadata_internal on unconnected nw_connection
2025-06-13 18:37:16.571950+0530 Runner[23774:1233285] [connection] nw_connection_copy_protocol_metadata_internal_block_invoke [C7] Client called nw_connection_copy_protocol_metadata_internal on unconnected nw_connection
2025-06-13 18:37:16.572016+0530 Runner[23774:1233285] [connection] nw_flow_add_write_request [C7 api.100ms.live:443 failed parent-flow (satisfied (Path is satisfied), interface: en0[802.11], ipv4, ipv6, dns)] cannot accept write requests
2025-06-13 18:37:16.572050+0530 Runner[23774:1233285] [connection] nw_write_request_report [C7] Send failed with error "Socket is not connected"
2025-06-13 18:37:16.572080+0530 Runner[23774:1233285] [connection] nw_connection_copy_metadata_block_invoke [C7] Client called nw_connection_copy_metadata on unconnected nw_connection
Error: The data couldn’t be read because it isn’t in the correct format.
2025-06-13 18:37:16.708910+0530 Runner[23774:1233331] [tcp] tcp_input [C4.1.1.1:3] flags=[R] seq=1075167738, ack=0, win=0 state=LAST_ACK rcv_nxt=1075167738, snd_una=3760171619
2025-06-13 18:37:16.709039+0530 Runner[23774:1233331] [tcp] tcp_input [C4.1.1.1:3] flags=[R] seq=1075167738, ack=0, win=0 state=CLOSED rcv_nxt=1075167738, snd_una=3760171619
2025-06-13 18:37:16.983194+0530 Runner[23774:1232329] [User Defaults] Couldn't read values in CFPrefsPlistSource<0x28326a800> (Domain: group.com.xxx.xxx, User: kCFPreferencesAnyUser, ByHost: Yes, Container: (null), Contents Need Refresh: Yes): Using kCFPreferencesAnyUser with a container is only allowed for System Containers, detaching from cfprefsd
Error: The data couldn’t be read because it isn’t in the correct format.
2025-06-13 18:37:17.218565+0530 Runner[23774:1232843] [tcp] tcp_input [C6.1.1:3] flags=[R] seq=3392910482, ack=0, win=0 state=LAST_ACK rcv_nxt=3392910482, snd_una=2280199847
2025-06-13 18:37:17.226226+0530 Runner[23774:1232843] [tcp] tcp_input [C6.1.1:3] flags=[R] seq=3392910482, ack=0, win=0 state=CLOSED rcv_nxt=3392910482, snd_una=2280199847
Error Domain=NSOSStatusErrorDomain Code=561017449 "Session activation failed" UserInfo={NSLocalizedDescription=Session activation failed}
IOS_to_IOS
IOS(Sender)
flutter: [URL ==> screen-sharing-invite-development] - [FormData : {device_token: XXXXX, language_id: 1, user_id: 771, device_type: 1, invited_user_id: ["763"]}]
flutter:
flutter: ResponseJson ==> {code: 200, message: success, data: {hostRoomCode: xwb-hkgo-xfh, senderName: rihan s, room_id: 68483ccb576aae6c969c404c}}
flutter:
flutter: ------[ControllerScreenShare onInit]------roomCode: xwb-hkgo-xfh , name: rihan s
WEIGHT /var/containers/Bundle/Application/69C76021-3AFD-47FA-91EB-A99A424CE795/Runner.app/Frameworks/HMSNoiseCancellationModels.framework/HMSNoiseCancellationModels.bundle/c6.f.s.ced125.kw
nw_path_necp_check_for_updates Failed to copy updated result (22)
nw_endpoint_flow_failed_with_error [C5.1.1.1 34.93.156.168:443 in_progress channel-flow (satisfied (Path is satisfied), viable, interface: en0[802.11], ipv4, ipv6, dns, uses wifi)] already failing, returning
nw_endpoint_flow_failed_with_error [C5.1.1.1 34.93.156.168:443 cancelled channel-flow ((null))] already failing, returning
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_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_path_block_invoke [C5] Client called nw_connection_copy_connected_path 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
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_flow_add_write_request [C5 api.100ms.live:443 failed parent-flow (satisfied (Path is satisfied), interface: en0[802.11], ipv4, ipv6, dns, uses wifi)] cannot accept write requests
nw_write_request_report [C5] Send failed with error "Socket is not connected"
nw_connection_copy_metadata_block_invoke [C5] Client called nw_connection_copy_metadata on unconnected nw_connection
Couldn't read values in CFPrefsPlistSource<0x11f1e7800> (Domain: group.com.xxx, User: kCFPreferencesAnyUser, ByHost: Yes, Container: (null), Contents Need Refresh: Yes): Using kCFPreferencesAnyUser with a container is only allowed for System Containers, detaching from cfprefsd
App is being debugged, do not track this hang
Hang detected: 1.56s (debugger attached, not reporting)
IOS(Receiver)
didReceiveIncomingPushWith
Unable to load icon CallKitLogo.
2025-06-13 19:50:10.317881+0530 Runner[24213:1254227] flutter: ---[CallKit]-----[Flutter FlutterCallkitIncoming.onEvent Event.actionCallIncoming]
2025-06-13 19:50:10.318003+0530 Runner[24213:1254227] flutter: Event.actionCallIncoming------------------------11
Error Domain=NSOSStatusErrorDomain Code=561017449 "Session activation failed" UserInfo={NSLocalizedDescription=Session activation failed}
LOG: onAccept
2025-06-13 19:50:23.915938+0530 Runner[24213:1254227] flutter: ---[CallKit]-----[Flutter FlutterCallkitIncoming.onEvent Event.actionCallAccept]
2025-06-13 19:50:23.916104+0530 Runner[24213:1254227] flutter: MAIN->ROOM : Flutter FlutterCallkitIncoming------------------------22
2025-06-13 19:50:23.916513+0530 Runner[24213:1254227] flutter:
2025-06-13 19:50:23.916594+0530 Runner[24213:1254227] flutter: ------[Gust Room Code]----->>> ner-ucvz-fns
Requested transaction successfully: endCallAlls
2025-06-13 19:50:23.923136+0530 Runner[24213:1254227] flutter: Notification permission already granted
2025-06-13 19:50:23.923868+0530 Runner[24213:1254227] flutter: Camera permission already granted
2025-06-13 19:50:23.924296+0530 Runner[24213:1254227] flutter: microphone permission already granted
2025-06-13 19:50:23.924861+0530 Runner[24213:1254227] flutter: bluetooth permission already granted
LOG: onEnd
2025-06-13 19:50:23.933102+0530 Runner[24213:1254227] flutter: ---[CallKit]-----[Flutter FlutterCallkitIncoming.onEvent Event.actionCallEnded]
2025-06-13 19:50:23.934436+0530 Runner[24213:1254227] flutter: ALL PERMISSIONS ARE GRANTED
2025-06-13 19:50:23.956958+0530 Runner[24213:1254227] flutter: ------[ControllerScreenShare onInit]------roomCode: ner-ucvz-fns , name: pk
WEIGHT /var/containers/Bundle/Application/700CC979-634A-40A2-AF46-B4A08A7584DB/Runner.app/Frameworks/HMSNoiseCancellationModels.framework/HMSNoiseCancellationModels.bundle/c6.f.s.ced125.kw
2025-06-13 19:50:24.565225+0530 Runner[24213:1255749] [connection] nw_connection_copy_protocol_metadata_internal_block_invoke [C6] Client called nw_connection_copy_protocol_metadata_internal on unconnected nw_connection
2025-06-13 19:50:24.565293+0530 Runner[24213:1255749] [connection] nw_connection_copy_protocol_metadata_internal_block_invoke [C6] Client called nw_connection_copy_protocol_metadata_internal on unconnected nw_connection
2025-06-13 19:50:24.565325+0530 Runner[24213:1255749] [connection] nw_connection_copy_protocol_metadata_internal_block_invoke [C6] Client called nw_connection_copy_protocol_metadata_internal on unconnected nw_connection
2025-06-13 19:50:24.565359+0530 Runner[24213:1255749] [connection] nw_connection_copy_protocol_metadata_internal_block_invoke [C6] Client called nw_connection_copy_protocol_metadata_internal on unconnected nw_connection
2025-06-13 19:50:24.565389+0530 Runner[24213:1255749] [connection] nw_connection_copy_connected_local_endpoint_block_invoke [C6] Client called nw_connection_copy_connected_local_endpoint on unconnected nw_connection
2025-06-13 19:50:24.565428+0530 Runner[24213:1255749] [connection] nw_connection_copy_connected_remote_endpoint_block_invoke [C6] Client called nw_connection_copy_connected_remote_endpoint on unconnected nw_connection
2025-06-13 19:50:24.565542+0530 Runner[24213:1255749] [connection] nw_connection_copy_connected_path_block_invoke [C6] Client called nw_connection_copy_connected_path on unconnected nw_connection
2025-06-13 19:50:24.565790+0530 Runner[24213:1255749] [connection] nw_connection_copy_protocol_metadata_internal_block_invoke [C6] Client called nw_connection_copy_protocol_metadata_internal on unconnected nw_connection
2025-06-13 19:50:24.566265+0530 Runner[24213:1255749] [connection] nw_connection_copy_protocol_metadata_internal_block_invoke [C6] Client called nw_connection_copy_protocol_metadata_internal on unconnected nw_connection
2025-06-13 19:50:24.566358+0530 Runner[24213:1255749] [connection] nw_flow_add_write_request [C6 api.100ms.live:443 failed parent-flow (satisfied (Path is satisfied), interface: en0[802.11], ipv4, ipv6, dns)] cannot accept write requests
2025-06-13 19:50:24.566408+0530 Runner[24213:1255749] [connection] nw_write_request_report [C6] Send failed with error "Socket is not connected"
2025-06-13 19:50:24.566712+0530 Runner[24213:1255749] [connection] nw_connection_copy_metadata_block_invoke [C6] Client called nw_connection_copy_metadata on unconnected nw_connection
2025-06-13 19:50:24.614430+0530 Runner[24213:1255727] [tcp] tcp_input [C3.1.1.1:3] flags=[R] seq=470205225, ack=0, win=0 state=LAST_ACK rcv_nxt=470205225, snd_una=2966544678
2025-06-13 19:50:24.614942+0530 Runner[24213:1255727] [tcp] tcp_input [C3.1.1.1:3] flags=[R] seq=470205225, ack=0, win=0 state=CLOSED rcv_nxt=470205225, snd_una=2966544678
Error: The data couldn’t be read because it isn’t in the correct format.
2025-06-13 19:50:25.005164+0530 Runner[24213:1254227] [User Defaults] Couldn't read values in CFPrefsPlistSource<0x2829b7280> (Domain: group.com.XXXX, User: kCFPreferencesAnyUser, ByHost: Yes, Container: (null), Contents Need Refresh: Yes): Using kCFPreferencesAnyUser with a container is only allowed for System Containers, detaching from cfprefsd
Error: The data couldn’t be read because it isn’t in the correct format.
2025-06-13 19:50:25.104533+0530 Runner[24213:1255783] [tcp] tcp_input [C5.1.1:3] flags=[R] seq=1697888439, ack=0, win=0 state=LAST_ACK rcv_nxt=1697888439, snd_una=1234913898
2025-06-13 19:50:25.104785+0530 Runner[24213:1255783] [tcp] tcp_input [C5.1.1:3] flags=[R] seq=1697888439, ack=0, win=0 state=CLOSED rcv_nxt=1697888439, snd_una=1234913898
2025-06-13 19:50:25.104831+0530 Runner[24213:1255783] [tcp] tcp_input [C5.1.1:3] flags=[R] seq=1697888439, ack=0, win=0 state=CLOSED rcv_nxt=1697888439, snd_una=1234913898
Error Domain=NSOSStatusErrorDomain Code=561017449 "Session activation failed" UserInfo={NSLocalizedDescription=Session activation failed}
Flutter Doctor output
[✓] Flutter (Channel stable, 3.29.2, on macOS 15.3.1 24D70 darwin-arm64, locale en-IN)
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.1)
[✓] Xcode - develop for iOS and macOS (Xcode 16.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2024.2)
[✓] Connected device (6 available)
[✓] Network resources
Description
We're experiencing a calling issue in our Flutter project using:
When a call is made to an iOS receiver, and the receiver accepts the call using CallKit, the caller does not get updated — the app doesn’t reflect that the receiver has joined the 100ms room.
This issue occurs in the following scenarios:
In the failed scenarios, the caller only receives an update after the iOS receiver leaves and rejoins the room manually.
Actual Behavior:
Device Info:
100ms Flutter Version
Flutter (3.29.2)
Steps to reproduce
Expected results
Once the iOS receiver accepts the incoming call and joins the 100ms room, the caller (iOS or Android) should immediately see the peer joined and be able to proceed with the call.
Code example, screenshot, or link to a repository
Code Snippet:
HMSPrebuilt(
roomCode: ControllerScreenShare.to.roomCode,
onLeave: () async{
debugPrint("------[Screen Share Stop]------onLeave");
await FlutterCallkitIncoming.endAllCalls();
isScreenShare.value = false;
Future.delayed(const Duration(seconds: 2), () => TabbarController.to.currentIndex.value = 0);
},
options: HMSPrebuiltOptions(
userName: ControllerScreenShare.to.name,
userId: "11",
debugInfo: true,
enableNoiseCancellation: true,
// isAutomaticGainControlEnabled: true,
iOSScreenshareConfig: HMSIOSScreenshareConfig(
appGroup: "group.xxx.xxx",
preferredExtension: "com.xxx.xxx",
),
),
),
IOS_to_IOS-Android: https://uploadnow.io/f/tlz5XVw
IOS_to_IOS: https://uploadnow.io/f/XlzRJDD
Logs
ANDROID_to_IOS
Android(Sender)
------[ControllerScreenShare onInit]------roomCode: xwb-hkgo-xfh , name: rihan s D/KrispLoading(10341): Present: Library false, Dashboard false
W/HmsNoiseCancellation(10341): Noise Cancellation not loaded. Library added: false, Enabled from dashboard false
D/Profiling(10341): Time taken (:SafeVariable>webrtc>initialize): 45ms thread name safe-variable-thread
W/System (10341): ClassLoader referenced unknown path: system/framework/mediatek-cta.jar
D/NCReportingUseCase(10341): Local peer role changed, ignoring since NC is not enabled by default or join: false
E/sctp_data_channel.cc(10341): (line 85): Accepting maxRetransmits < 0 for backwards compatibility
E/sctp_data_channel.cc(10341):
E/sctp_data_channel.cc(10341): (line 95): Accepting maxRetransmitTime < 0 for backwards compatibility
E/sctp_data_channel.cc(10341):
D/SFUMIGRATION(10341): NodeInfo: set for class role :=PUBLISH
D/SFUMIGRATION(10341): NodeInfo: set for class role :=SUBSCRIBE
I/AudioManager(10341): In isBluetoothScoAvailableOffCall(), calling appilication: com.xxx.xxx, return value: true I/AudioManager(10341): In setSpeakerphoneOn(), on: true, calling application: com.xxx.xxx
D/AudioManager(10341): setSpeakerphoneOn keys: get_speaker_authority=com.xxx.xxx, mAuthoriyStr = true
E/stun_port.cc(10341): (line 632): UDP send of 20 bytes to host turn-in.100ms.live:443 (35.244.46.x:443) failed with error 0 : [0x00000016] Invalid argument
E/stun_port.cc(10341):
E/stun_port.cc(10341): (line 632): UDP send of 20 bytes to host turn-in.100ms.live:3478 (35.244.46.x:3478) failed with error 0 : [0x00000016] Invalid argument
E/stun_port.cc(10341):
D/SFUMIGRATION(10341): NodeInfo: set for class sfu-5ea56b8d-0906-4e12-a006-a80ca006c22f role :=PUBLISH
D/SFUMIGRATION(10341): NodeInfo: set for class sfu-5ea56b8d-0906-4e12-a006-a80ca006c22f role :=SUBSCRIBE
E/basic_packet_socket_factory.cc(10341): (line 167): TCP connect failed with error 22
E/basic_packet_socket_factory.cc(10341):
E/turn_port.cc(10341): (line 401): Failed to create TURN client socket
E/turn_port.cc(10341):
E/basic_packet_socket_factory.cc(10341): (line 167): TCP connect failed with error 22
E/basic_packet_socket_factory.cc(10341):
E/turn_port.cc(10341): (line 401): Failed to create TURN client socket
E/turn_port.cc(10341):
E/turn_port.cc(10341): (line 880): Port[cc621600:0:1:0:relay:Net[lo:127.0.0.x/8:Loopback:id=1]]: Failed to send TURN message, error: 22
E/turn_port.cc(10341):
E/turn_port.cc(10341): (line 880): Port[cc622200:0:1:0:relay:Net[lo:127.0.0.x/8:Loopback:id=1]]: Failed to send TURN message, error: 22
E/turn_port.cc(10341):
D/CheckPacketP(10341): Returning bundle with lost: []
D/IAtlas (10341): IAtlas::init CallingPid 10341
D/IAtlas (10341): IAtlas::init this 0x783079b1a0
D/AudioRecord(10341): set(): 0x780edbef00, inputSource 7, sampleRate 48000, format 0x1, channelMask 0x10, frameCount 3840, notificationFrames 0, sessionId 0, transferType 0, flags 0, opPackageName com.xxx.xxx uid -1, pid -1
D/AudioRecord(10341): top_package_name =
D/AudioRecord(10341): 7(): inputSource already
D/AudioRecord(10341): openRecord_l: 0x780edbef00, mCblk = 0x767bd87000
D/AudioRecord(10341): start(250): 0x780edbef00, sync event 0 trigger session 0
E/stun_port.cc(10341): (line 632): UDP send of 20 bytes to host turn-in.100ms.live:443 (35.244.46.x:443) failed with error 0 : [0x00000016] Invalid argument
E/stun_port.cc(10341):
E/stun_port.cc(10341): (line 632): UDP send of 20 bytes to host turn-in.100ms.live:3478 (35.244.46.x:3478) failed with error 0 : [0x00000016] Invalid argument
E/stun_port.cc(10341):
E/stun_port.cc(10341): (line 334): Port[e15b900:0:1:0:local:Net[lo:127.0.0.x/8:Loopback:id=1]]: UDP send of 112 bytes to host 10.169.0.x:15448 failed with error 22
E/stun_port.cc(10341):
D/OPPOBlockingMicDetecting(10341): init, 433, pid = 10341, source = 7, sample_rate = 48000
D/AudioRecord(10341): start(250): return status 0
E/turn_port.cc(10341): (line 880): Port[cc621600:0:1:0:relay:Net[lo:127.0.0.x/8:Loopback:id=1]]: Failed to send TURN message, error: 22
E/turn_port.cc(10341):
E/turn_port.cc(10341): (line 880): Port[cc622200:0:1:0:relay:Net[lo:127.0.0.x/8:Loopback:id=1]]: Failed to send TURN message, error: 22
E/turn_port.cc(10341):
E/stun_port.cc(10341): (line 632): UDP send of 20 bytes to host turn-in.100ms.live:3478 (35.244.46.x:3478) failed with error 0 : [0x00000016] Invalid argument
E/stun_port.cc(10341):
E/stun_port.cc(10341): (line 632): UDP send of 20 bytes to host turn-in.100ms.live:443 (35.244.46.x:443) failed with error 0 : [0x00000016] Invalid argument
E/stun_port.cc(10341):
E/stun_port.cc(10341): (line 334): Port[e178600:0:1:0:local:Net[lo:127.0.0.x/8:Loopback:id=1]]: UDP send of 108 bytes to host 10.169.0.x:34111 failed with error 22
E/stun_port.cc(10341):
E/stun_port.cc(10341): (line 334): Port[e15b900:0:1:0:local:Net[lo:127.0.0.x/8:Loopback:id=1]]: UDP send of 112 bytes to host 34.93.202.x:45248 failed with error 22
E/stun_port.cc(10341):
E/turn_port.cc(10341): (line 880): Port[f8c2400:0:1:0:relay:Net[lo:127.0.0.x/8:Loopback:id=1]]: Failed to send TURN message, error: 22
E/turn_port.cc(10341):
E/basic_packet_socket_factory.cc(10341): (line 167): TCP connect failed with error 22
E/basic_packet_socket_factory.cc(10341):
E/turn_port.cc(10341): (line 401): Failed to create TURN client socket
E/turn_port.cc(10341):
E/turn_port.cc(10341): (line 880): Port[f8ee000:0:1:0:relay:Net[lo:127.0.0.x/8:Loopback:id=1]]: Failed to send TURN message, error: 22
E/turn_port.cc(10341):
E/basic_packet_socket_factory.cc(10341): (line 167): TCP connect failed with error 22
E/basic_packet_socket_factory.cc(10341):
E/turn_port.cc(10341): (line 401): Failed to create TURN client socket
E/turn_port.cc(10341):
[log] meeting onRoomUpdate-> room: HMSRoom{id: 68483ccb576aae6c969c404c, name: rihan s-room, metaData: , hmsBrowserRecordingState: Instance of 'HMSBrowserRecordingState', hmsRtmpStreamingState: Instance of 'HMSRtmpStreamingState', hmsServerRecordingState: Instance of 'HMSServerRecordingState', peers: [HMSPeer{name: rihan s, isLocal: true}], sessiosId: } update: roomPeerCountUpdated
E/stun_port.cc(10341): (line 632): UDP send of 20 bytes to host turn-in.100ms.live:3478 (35.244.46.x:3478) failed with error 22 : [0x00000016] Invalid argument
E/stun_port.cc(10341):
E/stun_port.cc(10341): (line 632): UDP send of 20 bytes to host turn-in.100ms.live:443 (35.244.46.x:443) failed with error 22 : [0x00000016] Invalid argument
E/stun_port.cc(10341):
[log] onJoin-> room: HMSRoom{id: 68483ccb576aae6c969c404c, name: rihan s-room, metaData: , hmsBrowserRecordingState: Instance of 'HMSBrowserRecordingState', hmsRtmpStreamingState: Instance of 'HMSRtmpStreamingState', hmsServerRecordingState: Instance of 'HMSServerRecordingState', peers: [HMSPeer{name: rihan s, isLocal: true}], sessiosId: 684c227ff5dd49869fc9f621}
[log] onPeerListUpdate -> addedPeers: [HMSPeer{name: rihan s, isLocal: true}] removedPeers: []
E/turn_port.cc(10341): (line 880): Port[f8c2400:0:1:0:relay:Net[lo:127.0.0.x/8:Loopback:id=1]]: Failed to send TURN message, error: 22
E/turn_port.cc(10341):
E/turn_port.cc(10341): (line 880): Port[f8ee000:0:1:0:relay:Net[lo:127.0.0.x/8:Loopback:id=1]]: Failed to send TURN message, error: 22
E/turn_port.cc(10341):
E/stun_port.cc(10341): (line 334): Port[e15b900:0:1:0:local:Net[lo:127.0.0.x/8:Loopback:id=1]]: UDP send of 112 bytes to host 10.169.0.x:15448 failed with error 22
E/stun_port.cc(10341):
E/stun_port.cc(10341): (line 632): UDP send of 20 bytes to host turn-in.100ms.live:443 (35.244.46.x:443) failed with error 22 : [0x00000016] Invalid argument
E/stun_port.cc(10341):
E/stun_port.cc(10341): (line 632): UDP send of 20 bytes to host turn-in.100ms.live:3478 (35.244.46.x:3478) failed with error 22 : [0x00000016] Invalid argument
E/stun_port.cc(10341):
E/stun_port.cc(10341): (line 334): Port[e15b900:0:1:0:local:Net[lo:127.0.0.x/8:Loopback:id=1]]: UDP send of 112 bytes to host 34.93.202.x:45248 failed with error 22
E/stun_port.cc(10341):
E/turn_port.cc(10341): (line 880): Port[cc621600:0:1:0:relay:Net[lo:127.0.0.x/8:Loopback:id=1]]: Failed to send TURN message, error: 22
E/turn_port.cc(10341):
E/turn_port.cc(10341): (line 880): Port[cc622200:0:1:0:relay:Net[lo:127.0.0.x/8:Loopback:id=1]]: Failed to send TURN message, error: 22
E/turn_port.cc(10341):
[log] meeting onRoomUpdate-> room: HMSRoom{id: 68483ccb576aae6c969c404c, name: rihan s-room, metaData: , hmsBrowserRecordingState: Instance of 'HMSBrowserRecordingState', hmsRtmpStreamingState: Instance of 'HMSRtmpStreamingState', hmsServerRecordingState: Instance of 'HMSServerRecordingState', peers: [HMSPeer{name: rihan s, isLocal: true}], sessiosId: 684c227ff5dd49869fc9f621} update: roomPeerCountUpdated
[log] onTrackUpdate-> track: HMSTrack{trackId: afb98c14-3cce-43c5-be9d-5fcad7dbe94a, kind: HMSTrackKind.kHMSTrackKindAudio, source: REGULAR, trackDescription: ,isMute: true} peer: rihan s update: trackAdded
E/stun_port.cc(10341): (line 334): Port[e15b900:0:1:0:local:Net[lo:127.0.0.x/8:Loopback:id=1]]: UDP send of 112 bytes to host 10.169.0.x:15448 failed with error 22
E/stun_port.cc(10341):
I/Choreographer(10341): Skipped 2 frames! The application may be doing too much work on its main thread.
E/stun_port.cc(10341): (line 632): UDP send of 20 bytes to host turn-in.100ms.live:3478 (35.244.46.x:3478) failed with error 22 : [0x00000016] Invalid argument
E/stun_port.cc(10341):
E/stun_port.cc(10341): (line 632): UDP send of 20 bytes to host turn-in.100ms.live:443 (35.244.46.x:443) failed with error 22 : [0x00000016] Invalid argument
E/stun_port.cc(10341):
E/turn_port.cc(10341): (line 880): Port[f8c2400:0:1:0:relay:Net[lo:127.0.0.x/8:Loopback:id=1]]: Failed to send TURN message, error: 22
E/turn_port.cc(10341):
E/turn_port.cc(10341): (line 880): Port[f8ee000:0:1:0:relay:Net[lo:127.0.0.x/8:Loopback:id=1]]: Failed to send TURN message, error: 22
E/turn_port.cc(10341):
D/CheckPacketP(10341): Returning bundle with lost: []
I/BufferQueue(10341): unnamed-10341-6 BufferQueue core=(10341:com.xxx.xxx)
W/com.xxx.xxx(10341): type=1400 audit(0.0:31372): avc: denied { read } for name="u:object_r:debug_bq_dump_prop:s0" dev="tmpfs" ino=8566 scontext=u:r:untrusted_app:s0:c221,c256,c512,c768 tcontext=u:object_r:debug_bq_dump_prop:s0 tclass=file permissive=0
E/libc (10341): Access denied finding property "vendor.debug.bq.dump"
I/BufferQueueConsumer(10341): unnamed-10341-6 connect(C): consumer=(10341:com.xxx.xxx) controlledByApp=true
E/libc (10341): Access denied finding property "vendor.debug.bq.dump"
I/BufferQueueConsumer(10341): unnamed-10341-6 setConsumerName: unnamed-10341-6
E/libc (10341): Access denied finding property "vendor.debug.bq.dump" onKeyChanged --> key: chatMessageBlacklist value: null
[log] fetchPollList error: Instance of 'HMSException'
[log] onKeyChanged --> key: chatPeerBlacklist value: null
[log] onKeyChanged --> key: chatState value: null
[log] onKeyChanged --> key: pinnedMessages value: null
[log] onKeyChanged --> key: spotlight value: null E/stun_port.cc(10341): (line 334): Port[e178600:0:1:0:local:Net[lo:127.0.0.x/8:Loopback:id=1]]: UDP send of 108 bytes to host 34.93.202.x:44029 failed with error 22
IOS(Receiver)
2025-06-13 18:37:09.547017+0530 Runner[23774:1232329] flutter: ---[CallKit]-----[Flutter FlutterCallkitIncoming.onEvent Event.actionCallIncoming]
2025-06-13 18:37:09.547111+0530 Runner[23774:1232329] flutter: Event.actionCallIncoming------------------------11
Error Domain=NSOSStatusErrorDomain Code=561017449 "Session activation failed" UserInfo={NSLocalizedDescription=Session activation failed}
LOG: onAccept
2025-06-13 18:37:16.080369+0530 Runner[23774:1232329] flutter: ---[CallKit]-----[Flutter FlutterCallkitIncoming.onEvent Event.actionCallAccept]
2025-06-13 18:37:16.080433+0530 Runner[23774:1232329] flutter: MAIN->ROOM : Flutter FlutterCallkitIncoming------------------------22
2025-06-13 18:37:16.080621+0530 Runner[23774:1232329] flutter:
2025-06-13 18:37:16.080649+0530 Runner[23774:1232329] flutter: ------[Gust Room Code]----->>> ner-ucvz-fns
2025-06-13 18:37:16.085335+0530 Runner[23774:1232329] flutter: Notification permission already granted
2025-06-13 18:37:16.085730+0530 Runner[23774:1232329] flutter: Camera permission already granted
2025-06-13 18:37:16.085945+0530 Runner[23774:1232329] flutter: microphone permission already granted
2025-06-13 18:37:16.086181+0530 Runner[23774:1232329] flutter: bluetooth permission already granted
2025-06-13 18:37:16.091628+0530 Runner[23774:1232329] flutter: ALL PERMISSIONS ARE GRANTED
Requested transaction successfully: endCallAlls
LOG: onEnd
2025-06-13 18:37:16.105913+0530 Runner[23774:1232329] flutter: ---[CallKit]-----[Flutter FlutterCallkitIncoming.onEvent Event.actionCallEnded]
2025-06-13 18:37:16.121721+0530 Runner[23774:1232329] flutter: ------[ControllerScreenShare onInit]------roomCode: ner-ucvz-fns , name: pk
WEIGHT /var/containers/Bundle/Application/2A1776E4-833B-4FA2-9A9D-26C1B48398CB/Runner.app/Frameworks/HMSNoiseCancellationModels.framework/HMSNoiseCancellationModels.bundle/c6.f.s.ced125.kw
2025-06-13 18:37:16.571408+0530 Runner[23774:1233285] [connection] nw_connection_copy_protocol_metadata_internal_block_invoke [C7] Client called nw_connection_copy_protocol_metadata_internal on unconnected nw_connection
2025-06-13 18:37:16.571564+0530 Runner[23774:1233285] [connection] nw_connection_copy_protocol_metadata_internal_block_invoke [C7] Client called nw_connection_copy_protocol_metadata_internal on unconnected nw_connection
2025-06-13 18:37:16.571593+0530 Runner[23774:1233285] [connection] nw_connection_copy_protocol_metadata_internal_block_invoke [C7] Client called nw_connection_copy_protocol_metadata_internal on unconnected nw_connection
2025-06-13 18:37:16.571627+0530 Runner[23774:1233285] [connection] nw_connection_copy_protocol_metadata_internal_block_invoke [C7] Client called nw_connection_copy_protocol_metadata_internal on unconnected nw_connection
2025-06-13 18:37:16.571648+0530 Runner[23774:1233285] [connection] nw_connection_copy_connected_local_endpoint_block_invoke [C7] Client called nw_connection_copy_connected_local_endpoint on unconnected nw_connection
2025-06-13 18:37:16.571668+0530 Runner[23774:1233285] [connection] nw_connection_copy_connected_remote_endpoint_block_invoke [C7] Client called nw_connection_copy_connected_remote_endpoint on unconnected nw_connection
2025-06-13 18:37:16.571686+0530 Runner[23774:1233285] [connection] nw_connection_copy_connected_path_block_invoke [C7] Client called nw_connection_copy_connected_path on unconnected nw_connection
2025-06-13 18:37:16.571723+0530 Runner[23774:1233285] [connection] nw_connection_copy_protocol_metadata_internal_block_invoke [C7] Client called nw_connection_copy_protocol_metadata_internal on unconnected nw_connection
2025-06-13 18:37:16.571950+0530 Runner[23774:1233285] [connection] nw_connection_copy_protocol_metadata_internal_block_invoke [C7] Client called nw_connection_copy_protocol_metadata_internal on unconnected nw_connection
2025-06-13 18:37:16.572016+0530 Runner[23774:1233285] [connection] nw_flow_add_write_request [C7 api.100ms.live:443 failed parent-flow (satisfied (Path is satisfied), interface: en0[802.11], ipv4, ipv6, dns)] cannot accept write requests
2025-06-13 18:37:16.572050+0530 Runner[23774:1233285] [connection] nw_write_request_report [C7] Send failed with error "Socket is not connected"
2025-06-13 18:37:16.572080+0530 Runner[23774:1233285] [connection] nw_connection_copy_metadata_block_invoke [C7] Client called nw_connection_copy_metadata on unconnected nw_connection
Error: The data couldn’t be read because it isn’t in the correct format.
2025-06-13 18:37:16.708910+0530 Runner[23774:1233331] [tcp] tcp_input [C4.1.1.1:3] flags=[R] seq=1075167738, ack=0, win=0 state=LAST_ACK rcv_nxt=1075167738, snd_una=3760171619
2025-06-13 18:37:16.709039+0530 Runner[23774:1233331] [tcp] tcp_input [C4.1.1.1:3] flags=[R] seq=1075167738, ack=0, win=0 state=CLOSED rcv_nxt=1075167738, snd_una=3760171619
2025-06-13 18:37:16.983194+0530 Runner[23774:1232329] [User Defaults] Couldn't read values in CFPrefsPlistSource<0x28326a800> (Domain: group.com.xxx.xxx, User: kCFPreferencesAnyUser, ByHost: Yes, Container: (null), Contents Need Refresh: Yes): Using kCFPreferencesAnyUser with a container is only allowed for System Containers, detaching from cfprefsd
Error: The data couldn’t be read because it isn’t in the correct format.
2025-06-13 18:37:17.218565+0530 Runner[23774:1232843] [tcp] tcp_input [C6.1.1:3] flags=[R] seq=3392910482, ack=0, win=0 state=LAST_ACK rcv_nxt=3392910482, snd_una=2280199847
2025-06-13 18:37:17.226226+0530 Runner[23774:1232843] [tcp] tcp_input [C6.1.1:3] flags=[R] seq=3392910482, ack=0, win=0 state=CLOSED rcv_nxt=3392910482, snd_una=2280199847
Error Domain=NSOSStatusErrorDomain Code=561017449 "Session activation failed" UserInfo={NSLocalizedDescription=Session activation failed}
IOS_to_IOS
IOS(Sender)
flutter: [URL ==> screen-sharing-invite-development] - [FormData : {device_token: XXXXX, language_id: 1, user_id: 771, device_type: 1, invited_user_id: ["763"]}]
flutter:
flutter: ResponseJson ==> {code: 200, message: success, data: {hostRoomCode: xwb-hkgo-xfh, senderName: rihan s, room_id: 68483ccb576aae6c969c404c}}
flutter:
flutter: ------[ControllerScreenShare onInit]------roomCode: xwb-hkgo-xfh , name: rihan s
WEIGHT /var/containers/Bundle/Application/69C76021-3AFD-47FA-91EB-A99A424CE795/Runner.app/Frameworks/HMSNoiseCancellationModels.framework/HMSNoiseCancellationModels.bundle/c6.f.s.ced125.kw
nw_path_necp_check_for_updates Failed to copy updated result (22)
nw_endpoint_flow_failed_with_error [C5.1.1.1 34.93.156.168:443 in_progress channel-flow (satisfied (Path is satisfied), viable, interface: en0[802.11], ipv4, ipv6, dns, uses wifi)] already failing, returning
nw_endpoint_flow_failed_with_error [C5.1.1.1 34.93.156.168:443 cancelled channel-flow ((null))] already failing, returning
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_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_path_block_invoke [C5] Client called nw_connection_copy_connected_path 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
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_flow_add_write_request [C5 api.100ms.live:443 failed parent-flow (satisfied (Path is satisfied), interface: en0[802.11], ipv4, ipv6, dns, uses wifi)] cannot accept write requests
nw_write_request_report [C5] Send failed with error "Socket is not connected"
nw_connection_copy_metadata_block_invoke [C5] Client called nw_connection_copy_metadata on unconnected nw_connection
Couldn't read values in CFPrefsPlistSource<0x11f1e7800> (Domain: group.com.xxx, User: kCFPreferencesAnyUser, ByHost: Yes, Container: (null), Contents Need Refresh: Yes): Using kCFPreferencesAnyUser with a container is only allowed for System Containers, detaching from cfprefsd
App is being debugged, do not track this hang
Hang detected: 1.56s (debugger attached, not reporting)
IOS(Receiver)
didReceiveIncomingPushWith
Unable to load icon CallKitLogo.
2025-06-13 19:50:10.317881+0530 Runner[24213:1254227] flutter: ---[CallKit]-----[Flutter FlutterCallkitIncoming.onEvent Event.actionCallIncoming]
2025-06-13 19:50:10.318003+0530 Runner[24213:1254227] flutter: Event.actionCallIncoming------------------------11
Error Domain=NSOSStatusErrorDomain Code=561017449 "Session activation failed" UserInfo={NSLocalizedDescription=Session activation failed}
LOG: onAccept
2025-06-13 19:50:23.915938+0530 Runner[24213:1254227] flutter: ---[CallKit]-----[Flutter FlutterCallkitIncoming.onEvent Event.actionCallAccept]
2025-06-13 19:50:23.916104+0530 Runner[24213:1254227] flutter: MAIN->ROOM : Flutter FlutterCallkitIncoming------------------------22
2025-06-13 19:50:23.916513+0530 Runner[24213:1254227] flutter:
2025-06-13 19:50:23.916594+0530 Runner[24213:1254227] flutter: ------[Gust Room Code]----->>> ner-ucvz-fns
Requested transaction successfully: endCallAlls
2025-06-13 19:50:23.923136+0530 Runner[24213:1254227] flutter: Notification permission already granted
2025-06-13 19:50:23.923868+0530 Runner[24213:1254227] flutter: Camera permission already granted
2025-06-13 19:50:23.924296+0530 Runner[24213:1254227] flutter: microphone permission already granted
2025-06-13 19:50:23.924861+0530 Runner[24213:1254227] flutter: bluetooth permission already granted
LOG: onEnd
2025-06-13 19:50:23.933102+0530 Runner[24213:1254227] flutter: ---[CallKit]-----[Flutter FlutterCallkitIncoming.onEvent Event.actionCallEnded]
2025-06-13 19:50:23.934436+0530 Runner[24213:1254227] flutter: ALL PERMISSIONS ARE GRANTED
2025-06-13 19:50:23.956958+0530 Runner[24213:1254227] flutter: ------[ControllerScreenShare onInit]------roomCode: ner-ucvz-fns , name: pk
WEIGHT /var/containers/Bundle/Application/700CC979-634A-40A2-AF46-B4A08A7584DB/Runner.app/Frameworks/HMSNoiseCancellationModels.framework/HMSNoiseCancellationModels.bundle/c6.f.s.ced125.kw
2025-06-13 19:50:24.565225+0530 Runner[24213:1255749] [connection] nw_connection_copy_protocol_metadata_internal_block_invoke [C6] Client called nw_connection_copy_protocol_metadata_internal on unconnected nw_connection
2025-06-13 19:50:24.565293+0530 Runner[24213:1255749] [connection] nw_connection_copy_protocol_metadata_internal_block_invoke [C6] Client called nw_connection_copy_protocol_metadata_internal on unconnected nw_connection
2025-06-13 19:50:24.565325+0530 Runner[24213:1255749] [connection] nw_connection_copy_protocol_metadata_internal_block_invoke [C6] Client called nw_connection_copy_protocol_metadata_internal on unconnected nw_connection
2025-06-13 19:50:24.565359+0530 Runner[24213:1255749] [connection] nw_connection_copy_protocol_metadata_internal_block_invoke [C6] Client called nw_connection_copy_protocol_metadata_internal on unconnected nw_connection
2025-06-13 19:50:24.565389+0530 Runner[24213:1255749] [connection] nw_connection_copy_connected_local_endpoint_block_invoke [C6] Client called nw_connection_copy_connected_local_endpoint on unconnected nw_connection
2025-06-13 19:50:24.565428+0530 Runner[24213:1255749] [connection] nw_connection_copy_connected_remote_endpoint_block_invoke [C6] Client called nw_connection_copy_connected_remote_endpoint on unconnected nw_connection
2025-06-13 19:50:24.565542+0530 Runner[24213:1255749] [connection] nw_connection_copy_connected_path_block_invoke [C6] Client called nw_connection_copy_connected_path on unconnected nw_connection
2025-06-13 19:50:24.565790+0530 Runner[24213:1255749] [connection] nw_connection_copy_protocol_metadata_internal_block_invoke [C6] Client called nw_connection_copy_protocol_metadata_internal on unconnected nw_connection
2025-06-13 19:50:24.566265+0530 Runner[24213:1255749] [connection] nw_connection_copy_protocol_metadata_internal_block_invoke [C6] Client called nw_connection_copy_protocol_metadata_internal on unconnected nw_connection
2025-06-13 19:50:24.566358+0530 Runner[24213:1255749] [connection] nw_flow_add_write_request [C6 api.100ms.live:443 failed parent-flow (satisfied (Path is satisfied), interface: en0[802.11], ipv4, ipv6, dns)] cannot accept write requests
2025-06-13 19:50:24.566408+0530 Runner[24213:1255749] [connection] nw_write_request_report [C6] Send failed with error "Socket is not connected"
2025-06-13 19:50:24.566712+0530 Runner[24213:1255749] [connection] nw_connection_copy_metadata_block_invoke [C6] Client called nw_connection_copy_metadata on unconnected nw_connection
2025-06-13 19:50:24.614430+0530 Runner[24213:1255727] [tcp] tcp_input [C3.1.1.1:3] flags=[R] seq=470205225, ack=0, win=0 state=LAST_ACK rcv_nxt=470205225, snd_una=2966544678
2025-06-13 19:50:24.614942+0530 Runner[24213:1255727] [tcp] tcp_input [C3.1.1.1:3] flags=[R] seq=470205225, ack=0, win=0 state=CLOSED rcv_nxt=470205225, snd_una=2966544678
Error: The data couldn’t be read because it isn’t in the correct format.
2025-06-13 19:50:25.005164+0530 Runner[24213:1254227] [User Defaults] Couldn't read values in CFPrefsPlistSource<0x2829b7280> (Domain: group.com.XXXX, User: kCFPreferencesAnyUser, ByHost: Yes, Container: (null), Contents Need Refresh: Yes): Using kCFPreferencesAnyUser with a container is only allowed for System Containers, detaching from cfprefsd
Error: The data couldn’t be read because it isn’t in the correct format.
2025-06-13 19:50:25.104533+0530 Runner[24213:1255783] [tcp] tcp_input [C5.1.1:3] flags=[R] seq=1697888439, ack=0, win=0 state=LAST_ACK rcv_nxt=1697888439, snd_una=1234913898
2025-06-13 19:50:25.104785+0530 Runner[24213:1255783] [tcp] tcp_input [C5.1.1:3] flags=[R] seq=1697888439, ack=0, win=0 state=CLOSED rcv_nxt=1697888439, snd_una=1234913898
2025-06-13 19:50:25.104831+0530 Runner[24213:1255783] [tcp] tcp_input [C5.1.1:3] flags=[R] seq=1697888439, ack=0, win=0 state=CLOSED rcv_nxt=1697888439, snd_una=1234913898
Error Domain=NSOSStatusErrorDomain Code=561017449 "Session activation failed" UserInfo={NSLocalizedDescription=Session activation failed}
Flutter Doctor output
[✓] Flutter (Channel stable, 3.29.2, on macOS 15.3.1 24D70 darwin-arm64, locale en-IN)
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.1)
[✓] Xcode - develop for iOS and macOS (Xcode 16.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2024.2)
[✓] Connected device (6 available)
[✓] Network resources