1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

add dvr option. refine macros of auto headers

This commit is contained in:
winlin 2014-04-15 14:01:57 +08:00
parent 1ae9178605
commit 23a1b29935
34 changed files with 242 additions and 150 deletions

View file

@ -181,7 +181,7 @@ int srs_simple_handshake(srs_rtmp_t rtmp)
int srs_complex_handshake(srs_rtmp_t rtmp)
{
#ifndef SRS_SSL
#ifndef SRS_AUTO_SSL
return ERROR_RTMP_HS_SSL_REQUIRE;
#endif
@ -378,7 +378,7 @@ int srs_write_packet(srs_rtmp_t rtmp, int type, u_int32_t timestamp, char* data,
int srs_ssl_enabled()
{
#ifndef SRS_SSL
#ifndef SRS_AUTO_SSL
return false;
#endif
return true;