1.0.9 • Published 3 years ago

stream-closer v1.0.9

Weekly downloads
1
License
MIT
Repository
-
Last release
3 years ago

Stream closer

A CLI tool for stopping RS streams

Dependencies

  • Install ffmpeg and have it available on the command line -- brew install ffmpeg

Install

npm install -g stream-closer  

Usage

You'll need your RS api token to use this tool. You can access it here: https://fot.reactive.live/admin/users/apitoken/

Close all streams:

stream-closer --token :your-rs-api-token

Close streams with a give tag:

stream-closer --token :your-rs-api-token -tag :your-tag

You can group your streams by giving them a tag. This, amoung other uses, will allow you to only close a targeted subset of streams. You can tag your streams at creation with a request like:

fetch(`https://fot.reactive.live/api/v1/streams/`, {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    Authorization: "Token :your-token",
  },
  body: JSON.stringify({ tag: "your-tag" }),
});
1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago