|
|
@@ -121,6 +121,8 @@ ComontAlretViewControllerDelegate>
|
|
|
ComontAlretViewController *linkFailAlretVC;
|
|
|
|
|
|
NSTimer *forceStartTimer;//请知重启timer
|
|
|
+
|
|
|
+ int preIFrameNum;
|
|
|
}
|
|
|
@property (nonatomic, strong, nullable) RCVideoRecoderManager *recoderManager;
|
|
|
@property (nonatomic, strong, nullable) RCAudioRecoderMamager *audioRecoderMamager;
|
|
|
@@ -203,6 +205,7 @@ ComontAlretViewControllerDelegate>
|
|
|
|
|
|
rbdNotification = 0;
|
|
|
_offlineNotTime = 0;
|
|
|
+ preIFrameNum = 0;
|
|
|
|
|
|
// 初始化
|
|
|
self.isNeedRecyclResource = YES;
|
|
|
@@ -1052,8 +1055,23 @@ ComontAlretViewControllerDelegate>
|
|
|
}
|
|
|
mySelf->saveCIImage = ciImage;
|
|
|
|
|
|
+ //尝试修复闪一下 没解决
|
|
|
+// if(ciImage){
|
|
|
+//
|
|
|
+// mainBlock(^{
|
|
|
+// if(mySelf->preIFrameNum == 0){
|
|
|
+// mySelf->mPlayerView.glkshowImageView.hidden = YES;
|
|
|
+// }
|
|
|
+// else if(mySelf->preIFrameNum == 30){
|
|
|
+// mySelf->mPlayerView.glkshowImageView.hidden = NO;
|
|
|
+// }
|
|
|
+// });
|
|
|
+// preIFrameNum ++;
|
|
|
+//
|
|
|
+// }
|
|
|
+
|
|
|
if (!mySelf->videoContext) mySelf->videoContext = [CIContext contextWithOptions:nil];
|
|
|
-
|
|
|
+
|
|
|
if (USEOPENGL)
|
|
|
{
|
|
|
if (ciImage)
|