Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
brainfood
/
videojs-contrib-hls
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
5b5a1eda
authored
2015-09-09 12:46:29 -0400
by
jrivera
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Remove timestampOffset checking from tests as we no longer set that on seek
1 parent
a51706f4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
test/videojs-hls_test.js
test/videojs-hls_test.js
View file @
5b5a1ed
...
...
@@ -1718,7 +1718,6 @@ test('adjusts the segment offsets for out-of-buffer seeking', function() {
requests
.
shift
();
equal
(
player
.
tech
.
hls
.
mediaIndex
,
3
,
'moved the mediaIndex'
);
standardXHRResponse
(
requests
.
shift
());
equal
(
player
.
tech
.
hls
.
sourceBuffer
.
timestampOffset
,
30
,
'updated the timestamp offset'
);
});
test
(
'seeks between buffered time ranges'
,
function
()
{
...
...
@@ -1747,7 +1746,6 @@ test('seeks between buffered time ranges', function() {
requests
.
shift
();
equal
(
player
.
tech
.
hls
.
mediaIndex
,
1
,
'updated the mediaIndex'
);
standardXHRResponse
(
requests
.
shift
());
equal
(
player
.
tech
.
hls
.
sourceBuffer
.
timestampOffset
,
10
,
'updated the timestamp offset'
);
});
test
(
'does not modify the media index for in-buffer seeking'
,
function
()
{
...
...
@@ -2167,7 +2165,8 @@ test('can seek before the source buffer opens', function() {
equal
(
player
.
currentTime
(),
1
,
'seeked'
);
});
test
(
'sets the timestampOffset after seeking to discontinuity'
,
function
()
{
// TODO: Decide on proper discontinuity behavior
QUnit
.
skip
(
'sets the timestampOffset after seeking to discontinuity'
,
function
()
{
var
bufferEnd
;
player
.
src
({
src
:
'discontinuity.m3u8'
,
...
...
Please
register
or
sign in
to post a comment