winlin

change to 0.9.4, extract kernel module

@@ -28,6 +28,20 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. @@ -28,6 +28,20 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
28 #include <srs_core.hpp> 28 #include <srs_core.hpp>
29 */ 29 */
30 30
  31 +// current release version
  32 +#define RTMP_SIG_SRS_VERSION "0.9.4"
  33 +// server info.
  34 +#define RTMP_SIG_SRS_KEY "srs"
  35 +#define RTMP_SIG_SRS_ROLE "origin server"
  36 +#define RTMP_SIG_SRS_NAME RTMP_SIG_SRS_KEY"(simple rtmp server)"
  37 +#define RTMP_SIG_SRS_URL "https://"RTMP_SIG_SRS_URL_SHORT
  38 +#define RTMP_SIG_SRS_URL_SHORT "github.com/winlinvip/simple-rtmp-server"
  39 +#define RTMP_SIG_SRS_WEB "http://blog.csdn.net/win_lin"
  40 +#define RTMP_SIG_SRS_EMAIL "winlin@vip.126.com"
  41 +#define RTMP_SIG_SRS_LICENSE "The MIT License (MIT)"
  42 +#define RTMP_SIG_SRS_COPYRIGHT "Copyright (c) 2013-2014 winlin"
  43 +#define RTMP_SIG_SRS_PRIMARY_AUTHROS "winlin,wenjiegit"
  44 +
31 /** 45 /**
32 * the core provides the common defined macros, utilities, 46 * the core provides the common defined macros, utilities,
33 * user must include the srs_core.hpp before any header, or maybe 47 * user must include the srs_core.hpp before any header, or maybe
@@ -65,20 +79,6 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. @@ -65,20 +79,6 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
65 } \ 79 } \
66 (void)0 80 (void)0
67 81
68 -// current release version  
69 -#define RTMP_SIG_SRS_VERSION "0.9.3"  
70 -// server info.  
71 -#define RTMP_SIG_SRS_KEY "srs"  
72 -#define RTMP_SIG_SRS_ROLE "origin server"  
73 -#define RTMP_SIG_SRS_NAME RTMP_SIG_SRS_KEY"(simple rtmp server)"  
74 -#define RTMP_SIG_SRS_URL "https://"RTMP_SIG_SRS_URL_SHORT  
75 -#define RTMP_SIG_SRS_URL_SHORT "github.com/winlinvip/simple-rtmp-server"  
76 -#define RTMP_SIG_SRS_WEB "http://blog.csdn.net/win_lin"  
77 -#define RTMP_SIG_SRS_EMAIL "winlin@vip.126.com"  
78 -#define RTMP_SIG_SRS_LICENSE "The MIT License (MIT)"  
79 -#define RTMP_SIG_SRS_COPYRIGHT "Copyright (c) 2013-2014 winlin"  
80 -#define RTMP_SIG_SRS_PRIMARY_AUTHROS "winlin,wenjiegit"  
81 -  
82 // compare 82 // compare
83 #define srs_min(a, b) (((a) < (b))? (a) : (b)) 83 #define srs_min(a, b) (((a) < (b))? (a) : (b))
84 #define srs_max(a, b) (((a) < (b))? (b) : (a)) 84 #define srs_max(a, b) (((a) < (b))? (b) : (a))