4
0
mirror of https://github.com/AzuraCast/AzuraCast.git synced 2024-06-14 05:06:37 +00:00

Fix errors enabling HLS; change default HLS points.

This commit is contained in:
Buster "Silver Eagle" Neece 2022-06-04 17:48:05 -05:00
parent ec6e172c18
commit aee7e0ff98
No known key found for this signature in database
GPG Key ID: F1D2E64A0005E80E
2 changed files with 4 additions and 4 deletions

View File

@ -152,7 +152,6 @@ class StationBackendConfiguration extends AbstractStationConfiguration
$this->set(self::DJ_BUFFER, $buffer);
}
public const AUDIO_PROCESSING_METHOD = 'audio_processing_method';
public function getAudioProcessingMethod(): ?string
@ -183,7 +182,7 @@ class StationBackendConfiguration extends AbstractStationConfiguration
public function getStereoToolLicenseKey(): ?string
{
return $this->get(self::STEREO_TOOL_LICENSE_KEY) ?? null;
return $this->get(self::STEREO_TOOL_LICENSE_KEY);
}
public function setStereoToolLicenseKey(?string $licenseKey): void
@ -195,7 +194,7 @@ class StationBackendConfiguration extends AbstractStationConfiguration
public function getStereoToolConfigurationPath(): ?string
{
return $this->get(self::STEREO_TOOL_CONFIGURATION_PATH) ?? null;
return $this->get(self::STEREO_TOOL_CONFIGURATION_PATH);
}
public function setStereoToolConfigurationPath(?string $stereoToolConfigurationPath): void

View File

@ -50,9 +50,10 @@ abstract class AbstractBackend extends AbstractAdapter
$record->setName($name);
$record->setFormat(StreamFormats::Aac->value);
$record->setBitrate($bitrate);
return $record;
},
['aac_lofi', 'aac_midfi', 'aac_hifi'],
[64, 128, 256]
[48, 96, 192]
);
}