Skip to content

Commit

Permalink
For #2508, Add platform information.
Browse files Browse the repository at this point in the history
  • Loading branch information
winlinvip committed Jul 10, 2023
1 parent f61fd18 commit 497ea2b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions trunk/src/app/srs_app_latest_version.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ void srs_build_features(stringstream& ss)
SRS_CHECK_FEATURE2(_srs_config->get_raw_api(), "raw", ss);
SRS_CHECK_FEATURE2(_srs_config->get_exporter_enabled(), "prom", ss);

string platform = srs_getenv("SRS_PLATFORM");
SRS_CHECK_FEATURE3(!string(platform).empty(), "plat", platform, ss);
string region = srs_getenv("SRS_REGION");
SRS_CHECK_FEATURE3(!string(region).empty(), "region", region, ss);
string source = srs_getenv("SRS_SOURCE");
Expand Down

0 comments on commit 497ea2b

Please sign in to comment.