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
8e294709b0
commit
0bc7fdbb35
12 changed files with 4 additions and 70 deletions
|
@ -34,11 +34,8 @@
|
|||
#include <sstream>
|
||||
using namespace std;
|
||||
|
||||
#ifdef SRS_AUTO_SSL
|
||||
#include <openssl/aes.h>
|
||||
#include <cstring>
|
||||
#endif
|
||||
|
||||
#include <srs_kernel_log.hpp>
|
||||
#include <srs_kernel_error.hpp>
|
||||
#include <srs_kernel_codec.hpp>
|
||||
|
@ -2616,7 +2613,6 @@ SrsVideoCodecId SrsTsContextWriter::video_codec()
|
|||
return vcodec;
|
||||
}
|
||||
|
||||
#ifdef SRS_AUTO_SSL
|
||||
SrsEncFileWriter::SrsEncFileWriter()
|
||||
{
|
||||
memset(iv,0,16);
|
||||
|
@ -2703,7 +2699,6 @@ void SrsEncFileWriter::close()
|
|||
|
||||
SrsFileWriter::close();
|
||||
}
|
||||
#endif
|
||||
|
||||
SrsTsMessageCache::SrsTsMessageCache()
|
||||
{
|
||||
|
|
|
@ -1572,7 +1572,6 @@ public:
|
|||
virtual SrsVideoCodecId video_codec();
|
||||
};
|
||||
|
||||
#ifdef SRS_AUTO_SSL
|
||||
/*
|
||||
* Used for HLS Encryption
|
||||
*/
|
||||
|
@ -1593,7 +1592,6 @@ private:
|
|||
char* buf;
|
||||
int nb_buf;
|
||||
};
|
||||
#endif
|
||||
|
||||
/**
|
||||
* TS messages cache, to group frames to TS message,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue