Code Monkey home page Code Monkey logo

Comments (14)

jrw95 avatar jrw95 commented on July 22, 2024

@agask2agask2 Can you supply a URL to a manifest?

from videojs-contrib-hls.

agask2agask2 avatar agask2agask2 commented on July 22, 2024

here is the video im trying to stream https://s3.amazonaws.com/MichaelandLeann/Back2Basics/Chapter2/MasterChapter2.m3u8

from videojs-contrib-hls.

agask2agask2 avatar agask2agask2 commented on July 22, 2024

also while im in here does the adaptive bit rate work well in all browsers with flash? or do i need to get that MBR branch to do that?

from videojs-contrib-hls.

tomjohnson916 avatar tomjohnson916 commented on July 22, 2024

@agask2agask2 - the adaptive bitrate algorithm is handled in the javascript layer and works well in all browsers. The MBR branch was an exploration into additional features for multi bitrate content and is unstable at best. It should not be used at this time and will probably be removed of a more robust plugin in the future.

from videojs-contrib-hls.

agask2agask2 avatar agask2agask2 commented on July 22, 2024

thanks for the quick replies guys, so i just have the one issue above then.

Uncaught RangeError: Offset is outside the bounds of the DataView flv-tag.js:293
finalize flv-tag.js:293
self.getNextTag segment-parser.js:143
segmentXhr.onreadystatechange videojs-hls.js:591

from videojs-contrib-hls.

tomjohnson916 avatar tomjohnson916 commented on July 22, 2024

Hey @agask2agask2 - I just pulled up your URL in the example.html sandbox and the video worked. Was there a specific segment you received that error on?

from videojs-contrib-hls.

agask2agask2 avatar agask2agask2 commented on July 22, 2024

around 7 i think.. and if i skip around i get the red errors occationally..

2m7

let it run for a bit and then i noticed the errors...

Date: Tue, 25 Mar 2014 07:40:38 -0700
From: [email protected]
To: [email protected]
CC: [email protected]
Subject: Re: [videojs-contrib-hls] HLS Range Error in flv-tag.js (#32)

Hey @agask2agask2 - I just pulled up your URL in the example.html sandbox and the video worked. Was there a specific segment you received that error on?


Reply to this email directly or view it on GitHub.

from videojs-contrib-hls.

agask2agask2 avatar agask2agask2 commented on July 22, 2024

check it its around the 2meg number 7. i turn on console profiler in firefox and chrome and get the same
http://usagrandnationals.com/videojsvod/index2.html

from videojs-contrib-hls.

agask2agask2 avatar agask2agask2 commented on July 22, 2024

any luck on this around 2meg number 7
http://usagrandnationals.com/videojsvod/index2.html

from videojs-contrib-hls.

agask2agask2 avatar agask2agask2 commented on July 22, 2024

i just noticed this happens alot on full screen when i skip.. etc..
RangeError: argument 1 accesses an index that is out of range

this.view.setUint32(this.length, this.length);

using firebug console i can see it

from videojs-contrib-hls.

CodingFabian avatar CodingFabian commented on July 22, 2024

I am seeing the same error on some segments:

Uncaught RangeError: Offset is outside the bounds of the DataView videojs.hls.js:961
finalize videojs.hls.js:961
self.getNextTag videojs.hls.js:1980
(anonymous function) videojs.hls.js:577
request.onreadystatechange

the line in question is
this.view.setUint32(this.length, this.length);

from videojs-contrib-hls.

CodingFabian avatar CodingFabian commented on July 22, 2024

length is 16382 in the case where it fails for me.

this.bytes = new Uint8Array(16384);
this.view = new DataView(this.bytes.buffer);

this means that the length is a 4 byte int, which should go to pos 16382,16383,16384 and 16385. But the buffer only has 16384 spots making the last index 16383.

I dont understand the logic (yet) but it seems that either the buffer is to small, the length is to long, or the position is wrong.

from videojs-contrib-hls.

CodingFabian avatar CodingFabian commented on July 22, 2024

After looking at some commits @dmlap has fixed similar problems by growing the array.
I monkeypatched a prepareWrite(this, 4); just before line 961 and it then worked fine.

I assume there is a better place to do that, maybe some of the buffer size calculations are off by 2?

from videojs-contrib-hls.

dmlap avatar dmlap commented on July 22, 2024

@agask2agask2: looks like your video URL has been taken down since you opened this issue. We believe it should be fixed, please re-open if it turns out to still be a problem.

from videojs-contrib-hls.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.