1.0.1 • Published 4 years ago
kecilincctvqlue v1.0.1
NPM-KecilinCCTVCompress
Installing
npm i --save kecilincctvqlue
configurate
add this in .env
KECILIN_APIKEY=<apikey>
To adjust the quality level with LEVEL. between 1-5
KECILIN_LEVEL=3
Running
const kecilincctv = require('kecilincctvqlue')
const input = [
{
input: "<link_rtsp>",
output: "<link_rtmp>"
}
]
kecilincctv(input)
input with multiple
const input = [
{
input: "<link_rtsp>",
output: "<link_rtmp>"
},
{
input: "<link_rtsp>",
output: "<link_rtmp>"
}
]