mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-27 17:56:23 +03:00
4e910bc5ab
Before we would just wait X seconds and hope that playback would reach a certain point. In some cases this would mean waiting 10 seconds. In this change, those tests are changed to poll the media element's current time. To allow context-specific timeouts, we include a timeout time with each call. This equates to "we expect to see playback pass time=X within Y real seconds". Change-Id: I8293c7dd5fdccf2c1d910fb48e037c93a25e3199