bambuser / BambuserPlayerSDK-Android

This project demonstrates how is the integration of Bambuser's Player SDK in an native Android application
Apache License 2.0
1 stars 1 forks source link

Open PDP should automatically minimize #6

Open pvegh opened 10 months ago

pvegh commented 10 months ago

Opening a deeplink from the fullscreen player currently has no effect because the "MainActivity" is paused. The player should automatically minimize the player before opening a PDP, so that the navigation can happen. It can be done manually but since we don't have access to internals, we have to wait/delay the navigation call to make sure the player is in the correct state and the Activity is already resumed.

JennyBambuser commented 10 months ago

Thank you for your feedback. Not all of our SDK users wish to navigate after opening a PDP so we can not make this the default behavior. As you suggested, manually minimizing the player using LVSPlayer.performAction(LVSPlayerInputAction.Minimize(playerId)) would be recommended. What issues are you facing when attempting to manually handle this? We have noted a problem when entering PiP using API 33+, if this is the problem you are experiencing we are aware of the issue and will investigate it further.

SimovicIvan commented 4 months ago

Is this still a issue? Can we get more info if help is still needed.