Giter Club home page Giter Club logo

Comments (7)

kuu avatar kuu commented on July 23, 2024

Assuming the array Items contains redundant URLs ("test01.ts")
Can you provide more detail about what you are trying to do?
For what use-cases do you need the redundant segments?

from hls-parser.

HigashidaTomoyuki avatar HigashidaTomoyuki commented on July 23, 2024

The use case uploads the audio by streaming, and it is trying to add it to the playlist so that it can be played from the uploading completion. Therefore, the Item array stores URLs of playable ts files, Byterange, and so on.

from hls-parser.

kuu avatar kuu commented on July 23, 2024

Can you provide the code you used for initializing Item variable?

from hls-parser.

kuu avatar kuu commented on July 23, 2024

I mean, can you provide the data dump of the Item variable?

from hls-parser.

HigashidaTomoyuki avatar HigashidaTomoyuki commented on July 23, 2024

An example of substitution value is here.

Items = [{ 
  byterangeOffset: 0,
  trackId: '001',
  id: '001',
  byterangeLength: 115244,
  uri: 'test01.ts',
  duration: 10.048,
  mediaSequenceNumber: 0 
},{ 
  byterangeOffset: 115244,
  trackId: '002',
  id: '001',
  byterangeLength: 115620,
  uri: 'test01.ts',
  duration: 9.984,
  mediaSequenceNumber: 1
}]

from hls-parser.

kuu avatar kuu commented on July 23, 2024

Thanks for reporting this.
I think I fixed the bug by #39 and it's already published to npm as [email protected]
Can you doublecheck?

from hls-parser.

HigashidaTomoyuki avatar HigashidaTomoyuki commented on July 23, 2024

I am sorry that the reply was delayed. I was able to confirm normal operation. I really appreciate it.

from hls-parser.

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.