Remove test that migrated to contrib-media-sources
This test has moved so we can get rid of the skipped version here.
Showing
1 changed file
with
0 additions
and
39 deletions
... | @@ -1775,45 +1775,6 @@ QUnit.skip('translates ID3 PTS values across discontinuities', function() { | ... | @@ -1775,45 +1775,6 @@ QUnit.skip('translates ID3 PTS values across discontinuities', function() { |
1775 | equal(track.cues[1].endTime, 11, 'second cue ended at the correct time'); | 1775 | equal(track.cues[1].endTime, 11, 'second cue ended at the correct time'); |
1776 | }); | 1776 | }); |
1777 | 1777 | ||
1778 | QUnit.skip('drops tags before the target timestamp when seeking', function() { | ||
1779 | var i = 10, | ||
1780 | tags = [], | ||
1781 | bytes = []; | ||
1782 | |||
1783 | // mock out the parser and source buffer | ||
1784 | videojs.Hls.SegmentParser = mockSegmentParser(tags); | ||
1785 | window.videojs.SourceBuffer = function() { | ||
1786 | this.appendBuffer = function(chunk) { | ||
1787 | bytes.push(chunk); | ||
1788 | }; | ||
1789 | this.abort = function() {}; | ||
1790 | }; | ||
1791 | |||
1792 | player.src({ | ||
1793 | src: 'manifest/media.m3u8', | ||
1794 | type: 'application/vnd.apple.mpegurl' | ||
1795 | }); | ||
1796 | openMediaSource(player); | ||
1797 | standardXHRResponse(requests[0]); // media | ||
1798 | |||
1799 | // push a tag into the buffer | ||
1800 | tags.push({ pts: 0, bytes: new Uint8Array(1) }); | ||
1801 | standardXHRResponse(requests[1]); // segment 0 | ||
1802 | |||
1803 | // mock out a new segment of FLV tags | ||
1804 | bytes = []; | ||
1805 | while (i--) { | ||
1806 | tags.unshift({ | ||
1807 | pts: i * 1000, | ||
1808 | bytes: new Uint8Array([i]) | ||
1809 | }); | ||
1810 | } | ||
1811 | player.currentTime(7); | ||
1812 | standardXHRResponse(requests[2]); | ||
1813 | |||
1814 | deepEqual(bytes, [new Uint8Array([7,8,9])], 'three tags are appended'); | ||
1815 | }); | ||
1816 | |||
1817 | test('adjusts the segment offsets for out-of-buffer seeking', function() { | 1778 | test('adjusts the segment offsets for out-of-buffer seeking', function() { |
1818 | player.src({ | 1779 | player.src({ |
1819 | src: 'manifest/media.m3u8', | 1780 | src: 'manifest/media.m3u8', | ... | ... |
-
Please register or sign in to post a comment