A live stream can overwhelm a mobile client when decode, texture upload, and display cannot keep pace. The solution is end-to-end backpressure, not merely a smaller widget tree.
Measure each stage
Track bitrate, packet loss, jitter, decode time, texture upload cost, and displayed-frame age. Distinguish network delay from client decode delay.
Negotiate quality at the source
If supported, let the client request lower resolution or frame rate based on sustained measurements, not a single spike.
Keep control traffic independent
Video congestion should not block commands, health messages, or critical notifications. Use separate channels and priorities.
Bound jitter buffering
A larger buffer smooths jitter but increases latency. Set a maximum delay that fits the use case and expose stream health.
Validate sustained operation
Test roaming, weak signal, thermal throttling, reconnects, and long playback.…