Issue Description
During synchronized multi-host PK streaming sessions on Android, the local application environment encounters severe frame rate drops and system performance degradation. This visual stuttering manifests systematically when the application dynamically scales down the outbound video encoding resolution to align with a reduced user interface window layout.
Platform and SDK Context
Host Operating System: Android Mobile Platform
Applicable Scenario: Interactive Multi-Host Live Broadcasting and PK Battle Formats
Core Core Sub system: Dynamic Video Encoding Controller and Camera Extension Pipeline
Root Cause Analysis
The catastrophic frame dropping originates from a structural resolution misalignment between the dynamic video encoder and the upstream hardware capture layers.
When the application environment modifies the target encoding resolution to match a small split-screen UI layout window, the baseline hardware camera capture resolution and the concurrent beauty filter extension processing dimensions remain locked at their initial high quality values. Because the heavy graphic processing unit shading routines and beauty filter algorithms continue computing over high density unscaled pixel matrices, they induce a massive, unnecessary computational overload under multi stream execution conditions.
This resource starvation blocks the media engine scheduling queue, forcing rapid frame drops and breaking real-time transmission continuity.
Solution and Resolution Steps
Enable Dynamic Regulator Scaling Optimization
Inject the dynamic scale regulation private configuration property into the core execution parameter matrix immediately after instantiating the runtime container to link the pipeline stages together:
setParameters("{\"rtc.video.enable_regulator_scale\": true}");Verify Cascade Resolution Adjustments
Confirm that the framework successfully triggers the automated scale regulation logic. Once the private property is active, the engine automatically commands the native hardware camera capture pipeline and the auxiliary beauty filter extension modules to downscale their internal processing surfaces synchronously whenever the target encoding resolution drops to match the UI footprint.
Execute High Density Processing Validation Tests
Rebuild the Android application package and deploy the compilation binary onto the target test hardware. Initiate a simulated multi-host PK channel session, trigger the UI layout transitions repeatedly, and audit the local rendering logs to verify that the video frame rate remains stable and smooth throughout the interactive rotation cycles.