(Optional) Dynamically Modifying Cloud Phone Parameters
You can use CloudPhone.apk to dynamically modify the video and audio encoding parameters when the cloud phone is running.
- Before connecting to the cloud phone, go to the settings page to confirm that adaptive resolution is enabled by default.
- After connecting to the cloud phone, tap the gear icon on the screen.
- Set video encoding parameters.
- Tap the video icon.
- Set the video encoding parameters.
For details about the value range of each parameter, see the properties starting with vmi.video.encode in Configuration Items in the Startup Script. The rendering resolution can be 360p, 720p, or 1080p.
- After the setting is complete, tap Send to send the parameter values to the server. If the values are valid, they take effect immediately.
If adaptive resolution is not required, you can run the setprop command in the container after starting the cloud phone to change property settings. For details about the property fields, see Configuration Items in the Startup Script. To change the width and height of the adaptive resolution, you are advised to change the screen pixel density in the cfct_config file as well to achieve the optimal display effect. Table 1 lists the recommended configurations.
- Set audio encoding parameters.
- Tap the audio icon.
- Set the audio encoding parameters.
For details about the value range of each parameter, see the properties starting with vmi.audio.encode in Configuration Items in the Startup Script.
- After the setting is complete, tap Send to send the parameter values to the server. If the values are valid, they take effect immediately.