remove baresip for now, use ices2

This commit is contained in:
rdl technix 2021-09-03 19:08:48 +02:00
parent 3409fb8ab8
commit 333146a182
10 changed files with 123 additions and 20 deletions

View file

@ -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))