|
|
|
@ -32,6 +32,11 @@
|
|
|
|
|
// The macros generated by configure script.
|
|
|
|
|
#include <srs_auto_headers.hpp>
|
|
|
|
|
|
|
|
|
|
// To convert macro values to string.
|
|
|
|
|
// @see https://gcc.gnu.org/onlinedocs/cpp/Stringification.html#Stringification
|
|
|
|
|
#define SRS_INTERNAL_STR(v) #v
|
|
|
|
|
#define SRS_XSTR(v) SRS_INTERNAL_STR(v)
|
|
|
|
|
|
|
|
|
|
// The project informations, may sent to client in HTTP header or RTMP metadata.
|
|
|
|
|
#define RTMP_SIG_SRS_KEY "SRS"
|
|
|
|
|
#define RTMP_SIG_SRS_CODE "OuXuli"
|
|
|
|
@ -44,11 +49,6 @@
|
|
|
|
|
#define VERSION_STABLE 2
|
|
|
|
|
#define VERSION_STABLE_BRANCH SRS_XSTR(VERSION_STABLE)".0release"
|
|
|
|
|
|
|
|
|
|
// To convert macro values to string.
|
|
|
|
|
// @see https://gcc.gnu.org/onlinedocs/cpp/Stringification.html#Stringification
|
|
|
|
|
#define SRS_XSTR(v) SRS_INTERNAL_STR(v)
|
|
|
|
|
#define SRS_INTERNAL_STR(v) #v
|
|
|
|
|
|
|
|
|
|
// For 32bit os, 2G big file limit for unistd io,
|
|
|
|
|
// ie. read/write/lseek to use 64bits size for huge file.
|
|
|
|
|
#ifndef _FILE_OFFSET_BITS
|
|
|
|
|