소스 검색

1.优化信令通道首次发消息时间

huangxiaodong 1 년 전
부모
커밋
1d42c1611e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      创维盒子/双子星云手机/CloudPlayer/PlayerViewController.mm

+ 1 - 1
创维盒子/双子星云手机/CloudPlayer/PlayerViewController.mm

@@ -505,7 +505,7 @@ ComontAlretViewControllerDelegate>
         [self.commandChannelManager rc_openURL:instructionsChannelUrl connected:^{
             HLog(@"WebSocket11111指令通道连接成功11111 url = %@ ",instructionsChannelUrl);
             if (weakSelf.commandChannelManager.rc_socketStatus == RCSocketCloudPhoneStatusConnected){
-                dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(1 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
+                dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.01 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
                     
                     [weakSelf handlAllMsgAfterDidLinkFun];