jitsi-meet-flutter-sdk icon indicating copy to clipboard operation
jitsi-meet-flutter-sdk copied to clipboard

[FEATURE]: Could you add PiP listener? Or method which forces PiP mode?

Open stryder123451 opened this issue 1 year ago • 6 comments

Hi, could you please, add Picture in Picture mode listener, or method which forces Picture in Picture mode?

stryder123451 avatar Nov 07 '23 14:11 stryder123451

There is a little issue with the android part when integrating this, but I'll give it a look and see what I can do.

gabiborlea avatar Nov 09 '23 10:11 gabiborlea

There is a little issue with the android part when integrating this, but I'll give it a look and see what I can do.

i need this feature only in iOS, or could you please , say , where i can listen , PiP changed? I saw your code and try to edit this. I need hide keyboard when jitsi goes to full screen from PiP mode, i tried like this:

    override func viewWillTransition(to size: CGSize,
                                     with coordinator: UIViewControllerTransitionCoordinator) {
        super.viewWillTransition(to: size, with: coordinator)

        let rect = CGRect(origin: CGPoint.zero, size: size)
        pipViewCoordinator?.resetBounds(bounds: rect)
        view.endEditing(true) // Here 
    }

stryder123451 avatar Nov 10 '23 08:11 stryder123451

@gabiborlea ok, i did it, but it will be cool if you could add PiP listener, i saw it in other packages, but it was only for android

stryder123451 avatar Nov 10 '23 11:11 stryder123451

@gabiborlea and also , think jitsi must close keyboard when goes into PiP mode, cause it causes lags like this: image

stryder123451 avatar Nov 10 '23 11:11 stryder123451

How to reproduce this issue?

gabiborlea avatar Nov 24 '23 12:11 gabiborlea

How to reproduce this issue?

open keyboard on iOS when jitsi in pip mode, and with opened keyboard set jitsi in fullscreen, i already fix that and planning to make pull request soon

stryder123451 avatar Nov 27 '23 09:11 stryder123451