目录

PiP FAQs

How Can I Play Multiple Video Streams in PiP?

To play multiple video streams in PiP, you can encapsulate each stream into a NodeController through a custom node. Then, when setting up PiP, configure the NodeController as a customUIController to implement playback of multiple video streams.

How Do I Switch Nodes in PiP?

You can use the typeNode approach for PiP, which allows you to update the PiP nodes using the updateContentNode API.

What Should I Do When Audio Keeps Playing in the Background After PiP Is Closed?

If the application requests a continuous task, deleting the PiP window by dragging it to the trash bin or tapping the close button will not stop the application process. To handle this, you should listen for the PiP lifecycle and proactively close the task or process upon receiving the STOPPED event.