Inline a line

This commit is contained in:
Schuyler Cebulskie
2016-09-30 03:05:37 -04:00
parent b396d15b37
commit 4934874613

View File

@@ -53,9 +53,7 @@ class StreamDispatcher extends EventEmitter {
_sendBuffer(buffer, sequence, timestamp) { _sendBuffer(buffer, sequence, timestamp) {
let repeats = this.passes; let repeats = this.passes;
const packet = this._createPacket(sequence, timestamp, this.player.opusEncoder.encode(buffer)); const packet = this._createPacket(sequence, timestamp, this.player.opusEncoder.encode(buffer));
while (repeats--) { while (repeats--) this.player.connection.udp.send(packet);
this.player.connection.udp.send(packet);
}
} }
/** /**