mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
update stable version check
This commit is contained in:
parent
636bc574af
commit
d349a3dbda
3 changed files with 9 additions and 5 deletions
|
@ -31,7 +31,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
// current release version
|
||||
#define VERSION_MAJOR 2
|
||||
#define VERSION_MINOR 0
|
||||
#define VERSION_REVISION 140
|
||||
#define VERSION_REVISION 141
|
||||
|
||||
// server info.
|
||||
#define RTMP_SIG_SRS_KEY "SRS"
|
||||
|
@ -53,6 +53,10 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
#define RTMP_SIG_SRS_VERSION __SRS_XSTR(VERSION_MAJOR)"."__SRS_XSTR(VERSION_MINOR)"."__SRS_XSTR(VERSION_REVISION)
|
||||
#define RTMP_SIG_SRS_SERVER RTMP_SIG_SRS_KEY"/"RTMP_SIG_SRS_VERSION"("RTMP_SIG_SRS_CODE")"
|
||||
|
||||
// stable major version
|
||||
#define VERSION_STABLE 1
|
||||
#define VERSION_STABLE_BRANCH __SRS_XSTR(VERSION_STABLE)".0release"
|
||||
|
||||
// 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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue