Skip to content

Commit 1684cef

Browse files
committed
chore(fixtures): remove mp4 dynamic timeout demo config
Remove the dynamicTimeoutIns and changeUrlRetry demo wiring from the MP4 fixture so it no longer exercises those options by default. Verification: inspected the staged diff; fixture-only HTML change.
1 parent 2d66417 commit 1684cef

1 file changed

Lines changed: 0 additions & 16 deletions

File tree

fixtures/mp4/index.html

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -67,16 +67,6 @@
6767
url: './video/1080p.mp4'
6868
}
6969
]
70-
const sharedDynamicTimeoutIns = Mp4Plugin.getSharedDynamicTimeoutIns(
71-
{
72-
alpha: 0.125,
73-
beta: 0.25,
74-
k:4,
75-
type: 2,
76-
minTimeout: 10,
77-
maxTimeout: 3500,
78-
}
79-
)
8070
let player = new Player({
8171
id: 'vs',
8272
autoplay: true,
@@ -115,12 +105,6 @@
115105
// }
116106
waitingInBufferTimeOut: 5000,
117107
plugins: [Mp4Plugin],
118-
119-
// set mp4Plugin support Apple's MMS
120-
mp4Plugin: {
121-
dynamicTimeoutIns: sharedDynamicTimeoutIns,
122-
changeUrlRetry:true,
123-
}
124108
});
125109
window.player = player
126110
window.player.on('networkError', (err) => {

0 commit comments

Comments
 (0)