You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Element Call is exposing 3 new functions about PiP:
canEnterPip: will return a boolean to let the application if it is possible to enter the PiP mode. If the call is in error state for instance, the application should not enter PiP but rather hang up the call. So if this function return true: enter PiP, else close the call.
enablePip to be called when the Activity is entering PiP, and will let Element Call render the PiP mode correctly
disablePip to be called when the Activity is exiting PiP, so render in fullscreen, and will let Element Call render the fullscreen mode correctly
Element Call is exposing 3 new functions about PiP:
canEnterPip
: will return a boolean to let the application if it is possible to enter the PiP mode. If the call is in error state for instance, the application should not enter PiP but rather hang up the call. So if this function returntrue
: enter PiP, else close the call.enablePip
to be called when the Activity is entering PiP, and will let Element Call render the PiP mode correctlydisablePip
to be called when the Activity is exiting PiP, so render in fullscreen, and will let Element Call render the fullscreen mode correctlyRef: element-hq/element-call#2573
The text was updated successfully, but these errors were encountered: