Added docs for setBitrate
This commit is contained in:
parent
a3a78dcfc4
commit
79dc591f4f
@ -146,6 +146,7 @@ The audio configuration is an array structured in the following way:
|
|||||||
* `playOnHold(array $files)` - Array of audio files encoded in PCM, with the audio input configuration to loop on hold (when the files given with play/then have finished playing). If not called, no data will be played, returns `$this`
|
* `playOnHold(array $files)` - Array of audio files encoded in PCM, with the audio input configuration to loop on hold (when the files given with play/then have finished playing). If not called, no data will be played, returns `$this`
|
||||||
* `isPlaying()` - Returns true if MadelineProto is still playing the files given with play/then, false if the hold files (or nothing) is being played
|
* `isPlaying()` - Returns true if MadelineProto is still playing the files given with play/then, false if the hold files (or nothing) is being played
|
||||||
* `setMicMute(bool $mute)` - Stops/resumes playing files/hold files, returns `$this`
|
* `setMicMute(bool $mute)` - Stops/resumes playing files/hold files, returns `$this`
|
||||||
|
* `setBitrate(int $bitrate)` - Sets maximum outgoing bitrate, and increases the bitrate of the call to the maximum outgoing bitrate (high values increase the quality of the song), returns `$this`
|
||||||
|
|
||||||
* `setOutputFile(string $outputfile)` - Writes incoming audio data to file encoded in PCM, with the audio output configuration, returns `$this`
|
* `setOutputFile(string $outputfile)` - Writes incoming audio data to file encoded in PCM, with the audio output configuration, returns `$this`
|
||||||
* `unsetOutputFile()` - Stops writing audio data to previously set file, returns `$this`
|
* `unsetOutputFile()` - Stops writing audio data to previously set file, returns `$this`
|
||||||
|
@ -146,6 +146,7 @@ The audio configuration is an array structured in the following way:
|
|||||||
* `playOnHold(array $files)` - Array of audio files encoded in PCM, with the audio input configuration to loop on hold (when the files given with play/then have finished playing). If not called, no data will be played, returns `$this`
|
* `playOnHold(array $files)` - Array of audio files encoded in PCM, with the audio input configuration to loop on hold (when the files given with play/then have finished playing). If not called, no data will be played, returns `$this`
|
||||||
* `isPlaying()` - Returns true if MadelineProto is still playing the files given with play/then, false if the hold files (or nothing) is being played
|
* `isPlaying()` - Returns true if MadelineProto is still playing the files given with play/then, false if the hold files (or nothing) is being played
|
||||||
* `setMicMute(bool $mute)` - Stops/resumes playing files/hold files, returns `$this`
|
* `setMicMute(bool $mute)` - Stops/resumes playing files/hold files, returns `$this`
|
||||||
|
* `setBitrate(int $bitrate)` - Sets maximum outgoing bitrate, and increases the bitrate of the call to the maximum outgoing bitrate (high values increase the quality of the song), returns `$this`
|
||||||
|
|
||||||
* `setOutputFile(string $outputfile)` - Writes incoming audio data to file encoded in PCM, with the audio output configuration, returns `$this`
|
* `setOutputFile(string $outputfile)` - Writes incoming audio data to file encoded in PCM, with the audio output configuration, returns `$this`
|
||||||
* `unsetOutputFile()` - Stops writing audio data to previously set file, returns `$this`
|
* `unsetOutputFile()` - Stops writing audio data to previously set file, returns `$this`
|
||||||
|
@ -146,6 +146,7 @@ The audio configuration is an array structured in the following way:
|
|||||||
* `playOnHold(array $files)` - Array of audio files encoded in PCM, with the audio input configuration to loop on hold (when the files given with play/then have finished playing). If not called, no data will be played, returns `$this`
|
* `playOnHold(array $files)` - Array of audio files encoded in PCM, with the audio input configuration to loop on hold (when the files given with play/then have finished playing). If not called, no data will be played, returns `$this`
|
||||||
* `isPlaying()` - Returns true if MadelineProto is still playing the files given with play/then, false if the hold files (or nothing) is being played
|
* `isPlaying()` - Returns true if MadelineProto is still playing the files given with play/then, false if the hold files (or nothing) is being played
|
||||||
* `setMicMute(bool $mute)` - Stops/resumes playing files/hold files, returns `$this`
|
* `setMicMute(bool $mute)` - Stops/resumes playing files/hold files, returns `$this`
|
||||||
|
* `setBitrate(int $bitrate)` - Sets maximum outgoing bitrate, and increases the bitrate of the call to the maximum outgoing bitrate (high values increase the quality of the song), returns `$this`
|
||||||
|
|
||||||
* `setOutputFile(string $outputfile)` - Writes incoming audio data to file encoded in PCM, with the audio output configuration, returns `$this`
|
* `setOutputFile(string $outputfile)` - Writes incoming audio data to file encoded in PCM, with the audio output configuration, returns `$this`
|
||||||
* `unsetOutputFile()` - Stops writing audio data to previously set file, returns `$this`
|
* `unsetOutputFile()` - Stops writing audio data to previously set file, returns `$this`
|
||||||
|
@ -146,6 +146,7 @@ The audio configuration is an array structured in the following way:
|
|||||||
* `playOnHold(array $files)` - Array of audio files encoded in PCM, with the audio input configuration to loop on hold (when the files given with play/then have finished playing). If not called, no data will be played, returns `$this`
|
* `playOnHold(array $files)` - Array of audio files encoded in PCM, with the audio input configuration to loop on hold (when the files given with play/then have finished playing). If not called, no data will be played, returns `$this`
|
||||||
* `isPlaying()` - Returns true if MadelineProto is still playing the files given with play/then, false if the hold files (or nothing) is being played
|
* `isPlaying()` - Returns true if MadelineProto is still playing the files given with play/then, false if the hold files (or nothing) is being played
|
||||||
* `setMicMute(bool $mute)` - Stops/resumes playing files/hold files, returns `$this`
|
* `setMicMute(bool $mute)` - Stops/resumes playing files/hold files, returns `$this`
|
||||||
|
* `setBitrate(int $bitrate)` - Sets maximum outgoing bitrate, and increases the bitrate of the call to the maximum outgoing bitrate (high values increase the quality of the song), returns `$this`
|
||||||
|
|
||||||
* `setOutputFile(string $outputfile)` - Writes incoming audio data to file encoded in PCM, with the audio output configuration, returns `$this`
|
* `setOutputFile(string $outputfile)` - Writes incoming audio data to file encoded in PCM, with the audio output configuration, returns `$this`
|
||||||
* `unsetOutputFile()` - Stops writing audio data to previously set file, returns `$this`
|
* `unsetOutputFile()` - Stops writing audio data to previously set file, returns `$this`
|
||||||
|
@ -146,6 +146,7 @@ The audio configuration is an array structured in the following way:
|
|||||||
* `playOnHold(array $files)` - Array of audio files encoded in PCM, with the audio input configuration to loop on hold (when the files given with play/then have finished playing). If not called, no data will be played, returns `$this`
|
* `playOnHold(array $files)` - Array of audio files encoded in PCM, with the audio input configuration to loop on hold (when the files given with play/then have finished playing). If not called, no data will be played, returns `$this`
|
||||||
* `isPlaying()` - Returns true if MadelineProto is still playing the files given with play/then, false if the hold files (or nothing) is being played
|
* `isPlaying()` - Returns true if MadelineProto is still playing the files given with play/then, false if the hold files (or nothing) is being played
|
||||||
* `setMicMute(bool $mute)` - Stops/resumes playing files/hold files, returns `$this`
|
* `setMicMute(bool $mute)` - Stops/resumes playing files/hold files, returns `$this`
|
||||||
|
* `setBitrate(int $bitrate)` - Sets maximum outgoing bitrate, and increases the bitrate of the call to the maximum outgoing bitrate (high values increase the quality of the song), returns `$this`
|
||||||
|
|
||||||
* `setOutputFile(string $outputfile)` - Writes incoming audio data to file encoded in PCM, with the audio output configuration, returns `$this`
|
* `setOutputFile(string $outputfile)` - Writes incoming audio data to file encoded in PCM, with the audio output configuration, returns `$this`
|
||||||
* `unsetOutputFile()` - Stops writing audio data to previously set file, returns `$this`
|
* `unsetOutputFile()` - Stops writing audio data to previously set file, returns `$this`
|
||||||
|
Loading…
Reference in New Issue
Block a user