1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-26 23:14:38 +01:00
This commit is contained in:
Daniil Gentili 2024-01-16 20:49:26 +01:00
parent ae0852d53e
commit 61c380f69e

View File

@ -311,8 +311,8 @@ final class Endpoint
$length = \ord(stream_get_contents($message, 1));
for ($x = 0; $x < $length; $x++) {
$result['all_streams'][$x]['id'] = \ord(stream_get_contents($message, 1));
$result['all_streams'][$x]['type'] = stream_get_contents($message, 4);
$result['all_streams'][$x]['codec'] = \ord(stream_get_contents($message, 1));
$result['all_streams'][$x]['type'] = \ord(stream_get_contents($message, 1));
$result['all_streams'][$x]['codec'] = stream_get_contents($message, 4);
$result['all_streams'][$x]['frame_duration'] = unpack('v', stream_get_contents($message, 2))[1];
$result['all_streams'][$x]['enabled'] = \ord(stream_get_contents($message, 1));
}