Comments (7)
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.
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.
Can you provide the code you used for initializing Item
variable?
from hls-parser.
I mean, can you provide the data dump of the Item
variable?
from hls-parser.
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.
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.
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)
- Encryption with no IV (missing default behaviour)
- Issue with hls.stringify for cloned hls object
- support buffered input for hls.parse & buffered output for hls.stringify
- Release the last version HOT 2
- Stringify : Manifest malformation with multiple rendition (group-id) HOT 6
- Error when using `noImplicitAny` in a typescript project HOT 6
- Not working in the browser? HOT 1
- When specifying several EXT-X-KEY one after another(multi drm playlist), only the last EXT-X-KEY is assigned to the segments HOT 4
- Invalid Playlist: The EXT-X-MEDIA-SEQUENCE tag MUST appear before the first Media Segment in the Playlist HOT 2
- Handling ad markers SCTE-35 HOT 2
- Correctly stringify bytrange of EXT-X-MAP
- Multiple markers is unsupported HOT 1
- The library doesn't parse EXT-X-PART tag HOT 1
- EXT-X-DATERANGE tags with no START-DATE attribute are not ignored with strictMode disabled HOT 1
- Issue in maintaining segment key when splicing the segment HOT 7
- License HOT 4
- support for EXT-X-PREFETCH HOT 5
- Support HLS versions 8 and above HOT 4
- EXT-X-BYTERANGE should come after other segment information HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hls-parser.