1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-27 01:14:39 +01:00

Apply fixes from StyleCI

This commit is contained in:
Daniil Gentili 2018-03-24 18:06:19 +00:00 committed by StyleCI Bot
parent 353f8b6281
commit 9403c4012b

View File

@ -45,7 +45,8 @@ $times = [];
$calls = [];
$users = [];
function configureCall($call) {
function configureCall($call)
{
include 'songs.php';
$call->configuration['enable_NS'] = false;
$call->configuration['enable_AGC'] = false;
@ -54,7 +55,7 @@ function configureCall($call) {
'audio_init_bitrate' => 100 * 1000,
'audio_max_bitrate' => 500 * 1000,
'audio_min_bitrate' => 100 * 1000,
'audio_congestion_window' => 4*1024
'audio_congestion_window' => 4 * 1024,
//'audio_bitrate_step_decr' => 0,
//'audio_bitrate_step_incr' => 2000,
];
@ -62,7 +63,6 @@ function configureCall($call) {
$call->playOnHold($songs);
}
$MadelineProto->get_updates(['offset' => -1]);
$offset = 0;
while (1) {
@ -208,4 +208,4 @@ Propic art by @magnaluna on deviantart.", 'parse_mode' => 'Markdown']);
}
}
}
}
}