Skip to content

Commit

Permalink
fix: pip in android
Browse files Browse the repository at this point in the history
  • Loading branch information
guoxianzhe committed Dec 6, 2024
1 parent c9d492a commit 3eba6fa
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,9 @@ class _State extends State<PictureInPicture> with WidgetsBindingObserver {
}

Future<void> _leaveChannel() async {
await _engine.stopPip();
if(Platform.isIOS){
await _engine.stopPip();
}
await _engine.leaveChannel();
setState(() {
openCamera = true;
Expand Down

0 comments on commit 3eba6fa

Please sign in to comment.