Potential FFMPEG process fix (#381)

I am by no means sure that this will work. This is an experimental fix.
Please review it carefully; I’m not the best at working with
audio/streams.
This commit is contained in:
Programmix
2016-05-27 23:09:16 -07:00
committed by abalabahaha
parent e912c72a95
commit 2194632b7d
4 changed files with 118 additions and 171 deletions

View File

@@ -1605,9 +1605,9 @@ var InternalClient = (function () {
data = {
name: data.name || channel.name,
topic: data.topic || channel.topic,
position: data.position || channel.position,
user_limit: data.userLimit || channel.userLimit,
bitrate: data.bitrate || channel.bitrate
position: data.position ? data.position : channel.position,
user_limit: data.userLimit ? data.userLimit : channel.userLimit,
bitrate: data.bitrate ? data.bitrate : channel.bitrate
};
if (data.position < 0) {