danog\MadelineProto\OggWriter
Author: Daniil Gentili daniil@daniil.it
Async OGG stream writer.
Properties
$streamId
:int
Method list:
__construct(\Amp\ByteStream\WritableStream $out, ?int $streamId = NULL)
writeHeader(int $channels, int $sampleRate, string $opusVersion): void
writeChunk(string $chunk, int $granuleDiff, bool $eos): void
Methods:
__construct(\Amp\ByteStream\WritableStream $out, ?int $streamId = NULL)
Write an ogg OPUS file.
Parameters:
$out
:\Amp\ByteStream\WritableStream
$streamId
:?int
See also:
\Amp\ByteStream\WritableStream
writeHeader(int $channels, int $sampleRate, string $opusVersion): void
Parameters:
$channels
:int
$sampleRate
:int
$opusVersion
:string
writeChunk(string $chunk, int $granuleDiff, bool $eos): void
Parameters:
$chunk
:string
$granuleDiff
:int
$eos
:bool
Generated by danog/phpdoc