Kakao i Connect Live 커뮤니티

리몬 오디오 문제 코드 이메일 확인

해결 했습니다 리스너연결 부분에 문제가 있었습니다

첫시작시 오디오 문제가 있는 부분에 대한 코드를 이메일로 전송 드렸습니다.
확인 부탁드립니다

이후 찾았는데 첫 통화시 다음과 같은 오류가 발생 합니다
마이크 문제로 보입니다

Main Thread Checker: UI API called on a background thread: -[UIApplication delegate]
PID: 1038, TID: 231227, Thread name: signaling_thread 0x0x118261650, Queue name: com.apple.root.default-qos.overcommit, QoS: 21
Backtrace:
4 GangnamSister 0x000000010505c04c _T013GangnamSister10NetworkingC17getDefaultHeaderss10DictionaryVyS2SGyF + 1692
5 GangnamSister 0x0000000105057ed8 _T013GangnamSister10NetworkingC25networkingJSONForGNSisterySS4with_s10DictionaryVySSypGSg10parameters9Alamofire10HTTPMethodO6methodAK17ParameterEncoding_p8encodingSb11isShowToastSb0pQ9IndicatorSb0P17MultipartFormDatayAA014NetworkDefaultV5ModelCSg_So7NSErrorCSgtc10completiontF + 2704
6 GangnamSister 0x000000010507ea64 _T013GangnamSister10NetworkingC21postLiveConsultSignalySSSg3for_AA0efG4TypeO6signalAA0ef4PeerI0O04peerI0AE5paramSb15isShowIndicatoryAEc10completiontF + 1220
7 GangnamSister 0x000000010503e2c8 _T013GangnamSister29LiveConsultMainViewControllerC19requestChangeSignalyAA0cdJ4TypeO2to_ySbcSg10completiontF + 788
8 GangnamSister 0x000000010503b910 T013GangnamSister29LiveConsultMainViewControllerC17initRemoteMonsteryyFyycfU1 + 2960
9 RemoteMonster 0x00000001091fef78 _T013RemoteMonster10RMObserver33_C4EAAC2523283FB4699BBBCD14DAB4EALLCAA23RemonControllerDelegateA2aEP07onCloseJ7ChannelyyFTWTm + 52
10 RemoteMonster 0x00000001091fdd78 _T013RemoteMonster15RemonControllerC13onStateChangeyAA0cF0OF + 1288
11 RemoteMonster 0x0000000109201c74 _T013RemoteMonster15RemonControllerCAA0C8DelegateA2aDP13onStateChangeyAA0cG0OFTW + 20
12 RemoteMonster 0x0000000109211ffc _T013RemoteMonster23PeerConnectionDelegatorC04peerD0ySo07RTCPeerD0C_SC06RTCIceD5StateO9didChangetFTf4dnn_n + 1124
13 RemoteMonster 0x0000000109210cd4 _T013RemoteMonster23PeerConnectionDelegatorC04peerD0ySo07RTCPeerD0C_SC06RTCIceD5StateO9didChangetFTo + 48
14 WebRTC 0x000000010a6bae70 RTCGetAndResetMetrics + 4508
15 WebRTC 0x000000010a9bc5e0 RTCSetVertexData + 151804
16 WebRTC 0x000000010a9b078c RTCSetVertexData + 103080
17 WebRTC 0x000000010a93b4fc RTCShutdownInternalTracer + 2578120
18 WebRTC 0x000000010a938e10 RTCShutdownInternalTracer + 2568156
19 WebRTC 0x000000010a6dde64 RTCShutdownInternalTracer + 98352
20 WebRTC 0x000000010a64d460 WebRTC + 103520
21 WebRTC 0x000000010a64d3dc WebRTC + 103388
22 libsystem_pthread.dylib 0x0000000182e91220 + 272
23 libsystem_pthread.dylib 0x0000000182e91110 + 0
24 libsystem_pthread.dylib 0x0000000182e8fb10 thread_start + 4
2018-09-14 19:16:52.413347+0900 GangnamSister[1038:231227] [reports] Main Thread Checker: UI API called on a background thread: -[UIApplication delegate]
PID: 1038, TID: 231227, Thread name: signaling_thread 0x0x118261650, Queue name: com.apple.root.default-qos.overcommit, QoS: 21
Backtrace:
4 GangnamSister 0x000000010505c04c _T013GangnamSister10NetworkingC17getDefaultHeaderss10DictionaryVyS2SGyF + 1692
5 GangnamSister 0x0000000105057ed8 _T013GangnamSister10NetworkingC25networkingJSONForGNSisterySS4with_s10DictionaryVySSypGSg10parameters9Alamofire10HTTPMethodO6methodAK17ParameterEncoding_p8encodingSb11isShowToastSb0pQ9IndicatorSb0P17MultipartFormDatayAA014NetworkDefaultV5ModelCSg_So7NSErrorCSgtc10completiontF + 2704
6 GangnamSister 0x000000010507ea64 _T013GangnamSister10NetworkingC21postLiveConsultSignalySSSg3for_AA0efG4TypeO6signalAA0ef4PeerI0O04peerI0AE5paramSb15isShowIndicatoryAEc10completiontF + 1220
7 GangnamSister 0x000000010503e2c8 _T013GangnamSister29LiveConsultMainViewControllerC19requestChangeSignalyAA0cdJ4TypeO2to_ySbcSg10completiontF + 788
8 GangnamSister 0x000000010503b910 T013GangnamSister29LiveConsultMainViewControllerC17initRemoteMonsteryyFyycfU1 + 2960
9 RemoteMonster 0x00000001091fef78 _T013RemoteMonster10RMObserver33_C4EAAC2523283FB4699BBBCD14DAB4EALLCAA23RemonControllerDelegateA2aEP07onCloseJ7ChannelyyFTWTm + 52
10 RemoteMonster 0x00000001091fdd78 _T013RemoteMonster15RemonControllerC13onStateChangeyAA0cF0OF + 1288
11 RemoteMonster 0x0000000109201c74 _T013RemoteMonster15RemonControllerCAA0C8DelegateA2aDP13onStateChangeyAA0cG0OFTW + 20
12 RemoteMonster 0x0000000109211ffc _T013RemoteMonster23PeerConnectionDelegatorC04peerD0ySo07RTCPeerD0C_SC06RTCIceD5StateO9didChangetFTf4dnn_n + 1124
13 RemoteMonster 0x0000000109210cd4 _T013RemoteMonster23PeerConnectionDelegatorC04peerD0ySo07RTCPeerD0C_SC06RTCIceD5StateO9didChangetFTo + 48
14 WebRTC 0x000000010a6bae70 RTCGetAndResetMetrics + 4508
15 WebRTC 0x000000010a9bc5e0 RTCSetVertexData + 151804
16 WebRTC 0x000000010a9b078c RTCSetVertexData + 103080
17 WebRTC 0x000000010a93b4fc RTCShutdownInternalTracer + 2578120
18 WebRTC 0x000000010a938e10 RTCShutdownInternalTracer + 2568156
19 WebRTC 0x000000010a6dde64 RTCShutdownInternalTracer + 98352
20 WebRTC 0x000000010a64d460 WebRTC + 103520
21 WebRTC 0x000000010a64d3dc WebRTC + 103388
22 libsystem_pthread.dylib 0x0000000182e91220 + 272
23 libsystem_pthread.dylib 0x0000000182e91110 + 0
24 libsystem_pthread.dylib 0x0000000182e8fb10 thread_start + 4

RemoteMonster의 callbak 함수들은 mainThread에서 호출 되지 않습니다.
보내 주신 코드로 짐작해 볼 때는 onClose등 콜백메소드에서 afterCloseProcess()같은 UI조작 코드들에서 문제가 되는 것으로 파악 됩니다.