remove baresip for now, use ices2
This commit is contained in:
parent
3409fb8ab8
commit
333146a182
10 changed files with 123 additions and 20 deletions
|
|
@ -11,8 +11,8 @@ import { action, STREAM_STATUS, LOG_MESSAGE } from './state.mjs'
|
|||
export class Darkice {
|
||||
constructor (opts = {}) {
|
||||
this.command = opts.command || 'darkice'
|
||||
this.config = opts.config || p.join(__dirname, 'etc', '..', 'darkice.cfg')
|
||||
this.logLevel = 5
|
||||
this.config = opts.config || p.join(__dirname, '..', 'etc', 'darkice.cfg')
|
||||
this.logLevel = 8
|
||||
this.stream = new Readable()
|
||||
this.log = []
|
||||
this.stream.on('data', row => this.log.push(row))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue