mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
use number for macro VERSION_MAJOR, VERSION_MINOR and VERSION_REVISION. 1.0.5.
This commit is contained in:
parent
2175102ea2
commit
f2f259d050
4 changed files with 24 additions and 10 deletions
|
@ -29,10 +29,9 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
*/
|
||||
|
||||
// current release version
|
||||
#define VERSION_MAJOR "1"
|
||||
#define VERSION_MINOR "0"
|
||||
#define VERSION_REVISION "4"
|
||||
#define RTMP_SIG_SRS_VERSION VERSION_MAJOR"."VERSION_MINOR"."VERSION_REVISION
|
||||
#define VERSION_MAJOR 1
|
||||
#define VERSION_MINOR 0
|
||||
#define VERSION_REVISION 5
|
||||
// server info.
|
||||
#define RTMP_SIG_SRS_KEY "SRS"
|
||||
#define RTMP_SIG_SRS_ROLE "origin/edge server"
|
||||
|
@ -46,6 +45,14 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
#define RTMP_SIG_SRS_PRIMARY_AUTHROS "winlin,wenjie.zhao"
|
||||
#define RTMP_SIG_SRS_CONTRIBUTORS_URL RTMP_SIG_SRS_URL"/blob/master/AUTHORS.txt"
|
||||
#define RTMP_SIG_SRS_HANDSHAKE RTMP_SIG_SRS_KEY"("RTMP_SIG_SRS_VERSION")"
|
||||
#define RTMP_SIG_SRS_RELEASE "https://github.com/winlinvip/simple-rtmp-server/tree/1.0release"
|
||||
#define RTMP_SIG_SRS_HTTP_SERVER "https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_HTTPServer#feature"
|
||||
#define RTMP_SIG_SRS_VERSION __SRS_XSTR(VERSION_MAJOR)"."__SRS_XSTR(VERSION_MINOR)"."__SRS_XSTR(VERSION_REVISION)
|
||||
|
||||
// internal macros, covert macro values to str,
|
||||
// see: read https://gcc.gnu.org/onlinedocs/cpp/Stringification.html#Stringification
|
||||
#define __SRS_XSTR(v) __SRS_STR(v)
|
||||
#define __SRS_STR(v) #v
|
||||
|
||||
/**
|
||||
* the core provides the common defined macros, utilities,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue