# hls-endless

> HLS server that delivers live streams in a loop. It has four audio/video bitrates and one audio-only.

Latest version **1.1.0** (published 2015-01-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install hls-endless
pnpm add hls-endless
yarn add hls-endless
bun add hls-endless
```

Provides the command `hls-endless`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2015-01-13 |
| First published | 2014-10-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Maxwell Dayvson Da Silva |
| Maintainers | maxwell.dasilva |
| Keywords | hls, live, video, video-test, microservice, tools, cli, m3u8, iOS, html5, flashvideo, flash, android, stream, streaming, endless video, endless live, loop hls, video loop |

## Links

- npm: https://www.npmjs.com/package/hls-endless
- npm.io page: https://npm.io/package/hls-endless

## Dependencies (4)

- [pm2](https://npm.io/package/pm2.md) ^0.10.8
- [chalk](https://npm.io/package/chalk.md) ^0.5.1
- [express](https://npm.io/package/express.md) ^4.9.5
- [commander](https://npm.io/package/commander.md) ^2.3.0

## Alternatives

- [launchdarkly-js-client-sdk](https://npm.io/package/launchdarkly-js-client-sdk.md) — 2.5M weekly downloads
- [@elastic/elasticsearch](https://npm.io/package/@elastic/elasticsearch.md) — 2.1M weekly downloads
- [@c8y/client](https://npm.io/package/@c8y/client.md) — 15.3K weekly downloads
- [@signaldb/maverickjs](https://npm.io/package/@signaldb/maverickjs.md) — 1.7K weekly downloads
- [@bbc/http-transport-cache](https://npm.io/package/@bbc/http-transport-cache.md) — 1.2K weekly downloads

## Recent versions

- 1.1.0 (latest) — 2015-01-13
- 1.0.0 — 2014-10-20
- 0.3.2 — 2014-10-07
- 0.3.1 — 2014-10-06
- 0.3.0 — 2014-10-06
- 0.2.0 — 2014-10-06

## README

HLS Endless
===========
[![Travis CI](https://travis-ci.org/dayvson/hls-endless.svg?branch=master)](https://travis-ci.org/dayvson/hls-endless.svg?branch=master)
 [![Code Climate](https://codeclimate.com/github/dayvson/hls-endless/badges/gpa.svg)](https://codeclimate.com/github/dayvson/hls-endless)
 [![Test Coverage](https://codeclimate.com/github/dayvson/hls-endless/badges/coverage.svg)](https://codeclimate.com/github/dayvson/hls-endless)
 
HLS server that delivers live streams in a loop. It has four audio/video bitrates and one audio-only.

##Install HLS-Endless
```Bash
npm install hls-endless -g
```

##Starting the application
```Bash
hls-endless start
```

##Stop the application
```Bash
hls-endless stop
```

##The resources are avaiable:

* Multi bitrate, variant playlist: [http://localhost:6060/master.m3u8](http://localhost:6060/master.m3u8)
* [Audio only](http://localhost:6060/bitrate_1.m3u8) - 22.050Hz stereo @ 40 kbps
* [Bitrate 1](http://localhost:6060/bitrate_1.m3u8)  - 400x300 @ 232 kbps
* [Bitrate 2](http://localhost:6060/bitrate_2.m3u8)  - 640x480 @ 650 kbps
* [Bitrate 3](http://localhost:6060/bitrate_3.m3u8)  - 640x480 @ 1 Mbps
* [Bitrate 4](http://localhost:6060/bitrate_4.m3u8)  - 960x720 @ 2 Mbps


##Video provided by Apple
The video used is [Apple’s 4x3 basic stream](https://developer.apple.com/resources/http-streaming/examples/) example with 4 bitrates. The full video is around 30 minutes long but since I didn’t want the repo to be huge, I only used 3 minutes and 30 seconds of it. This should be fine since the video will loop forever.


## How I Set It Up To Run Locally?
Requirements: *Confirm you have Node v0.10 or superior installed.*

####Step 1: install all required npm modules

Within the project directory:

```Bash
npm install .
```

####Step 2: Run the tests
```Bash
npm test
```

---
_Source: https://npm.io/package/hls-endless · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
