Fix voice 😄

This commit is contained in:
Amish Shah
2016-09-11 16:40:59 +01:00
parent a52beaa78d
commit 77e83fb85a
3 changed files with 3 additions and 3 deletions

View File

@@ -109,7 +109,7 @@ class StreamDispatcher extends EventEmitter {
const data = this.streamingData;
if (data.missed >= 5) {
this._triggerTerminalState('error', new Error('Stream is not generating quickly enough.'));
this._triggerTerminalState('end', 'Stream is not generating quickly enough.');
return;
}