Sfoglia il codice sorgente

Merge remote-tracking branch 'origin/master'

jslee(madeinlab) 3 anni fa
parent
commit
187805cd81

+ 4 - 1
WallPadMain/src/main/java/kr/co/icontrols/wallpadmain/util/iMapServer.java

@@ -3405,6 +3405,9 @@ public class iMapServer extends Service {
                         }
                         //add KSJ 2021.11.02 stop_talking msg 추가 (wallpadcall 종료)
                         else if (cmd.equals("stop_talking")) {
+                            String sip_result = "ok";
+                            //sip_result = "ok";
+                            retXML = XMLHeader + "<service type=\"reply\" name=\"stop_talking\" result=\"" + sip_result + "\">\r\n    <message>\"null\"</message>\r\n</service>\r\n</imap>\r\n";
                             Common.SendAppFinishReqBR(getApplicationContext());
                         }
                         //~add KSJ
@@ -15817,7 +15820,7 @@ public class iMapServer extends Service {
      * WallPadCall은 해당 BR이 수신되면 실행상태를 알리는 BR를 송신하여 이에 응답한다.
      * WallPadMain은 이 응답 BR의 수신여부를 판단하여 WallPadCall의 실행여부를 판단한다.
      */
-    int MAX_WALLPADCALL_LIVE_CNT = 1;
+    int MAX_WALLPADCALL_LIVE_CNT = 2;
     int nWallPadCallACKCnt = MAX_WALLPADCALL_LIVE_CNT;   // MAX_WALLPADCALL_LIVE_CNT회 이상 응답이 없으면 WallPadCall이 종료된것으로 판단한다.
     public static boolean bWallPadCallLive = false;   // WallPadCall의 Live 상태를 나타낸다.
     public static boolean m_bWallpadCallScreen = false;