danog\MadelineProto\Settings\VoIP: VoIP settings.
Author: Daniil Gentili daniil@daniil.it
VoIP settings.
Method list:
getPlaybackLookahead(): intsetPlaybackLookahead(int<0, max> $playbackLookahead): \danog\MadelineProto\Settings\VoIP
Methods:
getPlaybackLookahead(): int
Get how far ahead of playback the files played in calls are read, in milliseconds.
setPlaybackLookahead(int<0, max> $playbackLookahead): \danog\MadelineProto\Settings\VoIP
Set how far ahead of playback the files played in calls are read, in milliseconds.
The frames read ahead are kept in memory, for every call: by default (0), only the next frame is
read ahead, to keep memory usage to a minimum. Reading further ahead avoids stuttering when the
files are read from a slow source (like a slow URL), at the cost of about the file’s bitrate
times the lookahead of memory per call.
Parameters:
$playbackLookahead:int<0, max>Lookahead, in milliseconds.
See also:
max
Generated by danog/phpdoc