mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
Bug 1388633 - Relax the duration constrain due to the duration may be changed in runtime. r=alwu
The original duration I wrote is calculated from the m3u8 file this is too accurate without error tolerant. The state machine will update playback position periodically(UpdatePlaybackPositionPeriodically) according to the clockTime or max end time from A/Vsink. So the duration will be variant that I should consider to set the value to a more relaxed value. MozReview-Commit-ID: GGwkhvzz8sI --HG-- extra : rebase_source : c0465f7aef7a41e999e8c4c3429957fa56336239
This commit is contained in:
parent
b0dd142237
commit
ad74bc6fbc
@ -27,7 +27,7 @@ function manifestVideo() {
|
||||
// name "mochi.test".
|
||||
let serverUrl = SpecialPowers.Services.prefs.getCharPref("media.hls.server.url");
|
||||
var gHLSTests = [
|
||||
{ name: serverUrl + "/bipbop_4x3_variant.m3u8", type:"audio/x-mpegurl", duration:19.95334 }
|
||||
{ name: serverUrl + "/bipbop_4x3_variant.m3u8", type:"audio/x-mpegurl", duration:20.000 }
|
||||
];
|
||||
|
||||
// These are small test files, good for just seeing if something loads. We
|
||||
|
@ -1213,7 +1213,7 @@ skip-if = (os == 'win' || android_version == '19') # bug 1374189
|
||||
# HLS is only supported on Fennec with API level >= 16
|
||||
# TODO: This test is similar to test_playback.html, will remove the
|
||||
# redundant code once test_playback.html is enabled on Fennec.
|
||||
skip-if = toolkit != 'android' || android_version < '20' #bug 1388633
|
||||
skip-if = toolkit != 'android' || android_version < '16'
|
||||
tags = hls
|
||||
|
||||
[test_hls_player_independency.html]
|
||||
|
Loading…
Reference in New Issue
Block a user