mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-26 17:46:26 +03:00
e19c24d5c6
Add integration tests for `SimpleAbrManager`. Uses the same `StreamGenerator` class already used in other integration tests to serve media segments from memory, avoiding unpredictable network conditions. Throughput is simulated deterministically by deriving each segment's download time from a target bitrate in NetworkingEngine's onDownloaded callback. Related #9918 , also adds integration tests for the dropped frame protection feature. Since real frame drops can't be reproduced in test environment, so used `getVidoePlaybackQuality` to override on the real video element to inject controlled drop ratios. --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>