https://github.com/derhuerst/hls-play-next-queue
A play next queue that serves an HTTP live stream.
https://github.com/derhuerst/hls-play-next-queue
hls playlist queue server streaming
Last synced: 4 months ago
JSON representation
A play next queue that serves an HTTP live stream.
- Host: GitHub
- URL: https://github.com/derhuerst/hls-play-next-queue
- Owner: derhuerst
- License: isc
- Created: 2017-08-12T15:41:23.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2021-08-01T02:30:53.000Z (almost 5 years ago)
- Last Synced: 2025-02-08T08:14:59.815Z (over 1 year ago)
- Topics: hls, playlist, queue, server, streaming
- Language: JavaScript
- Homepage: https://github.com/derhuerst/hls-play-next-queue
- Size: 17.6 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license.md
Awesome Lists containing this project
README
# hls-play-next-queue
**A [play next queue](https://www.youtube.com/watch?v=wUO6vw8Hwn4) that serves its items via an continuous [HTTP live stream (HLS)](https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/StreamingMediaGuide/Introduction/Introduction.html).** Converts audio to AAC `.m4a`.
*Note:* Unfortunately, iOS 10 devices don't seem to refresh the playlist automatically. This renders `hls-play-next-queue` almost unusable.
[](https://www.npmjs.com/package/hls-play-next-queue)
[](https://travis-ci.org/derhuerst/hls-play-next-queue)

[](https://gitter.im/derhuerst)
[](https://patreon.com/derhuerst)
## Installing
```shell
npm install hls-play-next-queue
```
## CLI Usage
```shell
Usage:
hls-play-next-queue
Examples:
hls-play-next-queue /path/to/media
```
## JS Usage
```js
const express = require('express')
const createQueue = require('.')
const {item, add, list} = createQueue('/path/to/my/media')
express()
.use(item)
.get('/', list)
.post('/', add)
.listen(3000)
```
## Contributing
If you have a question or have difficulties using `hls-play-next-queue`, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, refer to [the issues page](https://github.com/derhuerst/hls-play-next-queue/issues).