Software Architecture
This section describes the context logical structure and modules (including module functions) of the video stream cloud phone.

The video stream engine consists of a
Module |
Function |
|---|---|
Capture module |
Obtains image data. The output format is the RGBA video RAM address or RGBA memory address. |
Encoding module |
Encodes YUV data into H.264/H.265 streams and sends the streams through external APIs of the video stream engine. |
GPU acceleration module |
Converts the RGBA data obtained by the capture module into YUV data or video streams by utilizing GPU capabilities. |
Audio data collection |
Obtains audio data, outputs audio data in OPUS or PCM format, and sends the data through external APIs of the video stream engine. |
Microphone injection |
Obtains OPUS or PCM data from external APIs of the video stream engine and injects the data to the Android system. |
Touch data distribution |
Injects touch data into the Android cloud phone on the server. |
External APIs |
External APIs of the video stream engine server. |