• kongdywang's avatar
    1. Fix the transition animation when entering Picture-in-Picture mode on… · 3dd282ba
    kongdywang 提交于
    1. Fix the transition animation when entering Picture-in-Picture mode on Android. On some devices, there is a semi-transparent black statusBar at the top.
    2. Reduce the descriptions in pubspec.yaml to avoid failures when Flutter publishes to pub.
    3. Mark the controller parameter of TXPlayerVideo as deprecated. In the demo, all places where TXPlayerVideo is used no longer use the controller parameter to bind. This method is easily passively affected by the Flutter interface refresh, causing the texture of the Picture-in-Picture window to be repeatedly seized. On the demo side, use the onRenderViewCreatedListener callback method. It is recommended that customers actively bind the texture when needed.
    4. For iOS live streaming Picture-in-Picture, use a custom rendering method to avoid the problem that the live streaming Picture-in-Picture has no picture when the app is in the background, because the renderView cannot be rendered in the background.
    5. Fix the problem that after enabling the iOS live streaming Picture-in-Picture, the app interface cannot be clicked, and frequent clicks may occasionally cause a crash.
    3dd282ba
demo_txLiveplayer.dart 10.0 KB