Merge branch 'PiP2' into PiP1

This commit is contained in:
TrueZhuanjia
2025-07-12 16:04:16 +08:00
8 changed files with 30 additions and 51 deletions
@@ -881,15 +881,11 @@
[self.pipController stopPictureInPicture];
}
self.pipController = nil;
[self setupPiPControllerWithRenderer:self->_streamMan.videoRenderer];
//self.pipController = nil;
//[self setupPiPControllerWithRenderer:self->_streamMan.videoRenderer];
//self->_streamMan.videoRenderer.
}
- (bool)isPipActive{
return self.pipController.isPictureInPictureActive;
}
// This fires when the home button is pressed
- (void)applicationDidEnterBackground:(UIApplication *)application {
@@ -904,6 +900,7 @@
}
#if !TARGET_OS_TV
#endif
}