Temporarily commenting out stderr
This commit is contained in:
parent
9b92a43c2f
commit
e35c0f5a64
@ -36,7 +36,6 @@ export class Rtsp extends EventEmitter {
|
|||||||
|
|
||||||
public start(): void {
|
public start(): void {
|
||||||
const argStrings = [
|
const argStrings = [
|
||||||
// `-rtsp_transport tcp`,
|
|
||||||
`-i ${this._connecteionString}`,
|
`-i ${this._connecteionString}`,
|
||||||
`-r ${this._options.rate ?? 10}`,
|
`-r ${this._options.rate ?? 10}`,
|
||||||
this._options.image
|
this._options.image
|
||||||
@ -56,7 +55,7 @@ export class Rtsp extends EventEmitter {
|
|||||||
this._childProcess.on("error", this.onError);
|
this._childProcess.on("error", this.onError);
|
||||||
|
|
||||||
if (this._childProcess.stderr) {
|
if (this._childProcess.stderr) {
|
||||||
this._childProcess.stderr.on("data", this.onStdErrorData);
|
// this._childProcess.stderr.on("data", this.onStdErrorData);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user