diff --git a/src/MTProtoTools/ResponseInfo.php b/src/MTProtoTools/ResponseInfo.php index 95309e78c6..b668db2e9a 100644 --- a/src/MTProtoTools/ResponseInfo.php +++ b/src/MTProtoTools/ResponseInfo.php @@ -100,13 +100,6 @@ private function __construct(string $method, array $headers, array $messageMedia } $seek_start = empty($seek_start) ? 0 : \abs(\intval($seek_start)); - //Safari video streaming fix - $length = ($seek_end - $seek_start + 1); - $maxChunkSize = 10 * 1024 ** 2; - if ($length > $maxChunkSize) { - $seek_end = $seek_start + $maxChunkSize - 1; - } - $this->serve = $method !== 'HEAD'; if ($seek_start > 0 || $seek_end < $size - 1) { $this->code = HttpStatus::PARTIAL_CONTENT;