Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: about 16 hours ago
JSON representation

A play next queue that serves an HTTP live stream.

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.

[![npm version](https://img.shields.io/npm/v/hls-play-next-queue.svg)](https://www.npmjs.com/package/hls-play-next-queue)
[![build status](https://img.shields.io/travis/derhuerst/hls-play-next-queue.svg)](https://travis-ci.org/derhuerst/hls-play-next-queue)
![ISC-licensed](https://img.shields.io/github/license/derhuerst/hls-play-next-queue.svg)
[![chat on gitter](https://badges.gitter.im/derhuerst.svg)](https://gitter.im/derhuerst)
[![support me on Patreon](https://img.shields.io/badge/support%20me-on%20patreon-fa7664.svg)](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).