Lite Player
The Lite Player is built upon Ray's IpcPlayer, combining essential UI components and streaming capabilities to help developers quickly integrate IPC playback features.
Business Fit
If your business scenario doesn’t require the rich built-in capabilities of the fusion player and you prefer a certain degree of UI and interaction customization—without dealing with low-level streaming logic—it's recommended to integrate the lightweight player by following the steps below.
Install Dependency
Usage Example
Note: Real-time playback is currently not supported in IDE preview. Please test on a physical device.
*Player Container Style
Parameter Description
For more generic attributes, see IpcPlayer
Key Stream Status Codes
Component Implementation
Tip: You can also manually control the playback process using the basic IpcPlayer component along with createIpcPlayerContext.
IpcPlayer
The core component used to render the video screen. For detailed usage, please refer to the official documentation: IpcPlayer
IpcContext
Used to create a player instance and establish device binding relationships. For more details, please refer to: createIpcPlayerContext
Serves as the context object for managing the player lifecycle and control commands. For more information, please refer to: IpcContext