mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Always enable SRS_SSL
This commit is contained in:
parent
e4e6dd2169
commit
c6844527fb
4 changed files with 5 additions and 9 deletions
|
@ -647,10 +647,6 @@ srs_error_t SrsHlsMuxer::write_hls_key()
|
|||
{
|
||||
srs_error_t err = srs_success;
|
||||
|
||||
if (hls_keys) {
|
||||
srs_warn("SSL is disabled, ignore HLS key");
|
||||
}
|
||||
|
||||
if (hls_keys && current->sequence_no % hls_fragments_per_key == 0) {
|
||||
if (RAND_bytes(key, 16) < 0) {
|
||||
return srs_error_wrap(err, "rand key failed.");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue