Flowplayer View
The core component of the Wowza Flowplayer Android SDK. This view is the actual player view. It's recommended to use FlowplayerSupportFragment instead of FlowplayerView when possible, in order to automatically handle lifecycle events and orientation changes. For more control over the player's behavior, FlowplayerView can also be used directly in a parent container. However, in that case, it's important that the application maps the container activity's/fragment's lifecycle to the FlowplayerView.
If the container activity/fragment implements androidx.lifecycle.LifecycleOwner, then this is very easy to achieve using FlowplayerLifecycleObserver. Otherwise, the container activity/fragment should manually call the lifecycle related methods onStart, onResume, onPause, onStop, and onDestroy.
Functions
Attach the default UI controls to the player. Does nothing if the controls are already attached.
Detach the default UI controls from the player. Does nothing if the controls are already detached.
Hide the UI controls
Called when the volume changes.
Show the UI controls