mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Squash: Update README
This commit is contained in:
parent
13d015b8fd
commit
5a7a742f36
2 changed files with 2 additions and 1 deletions
|
@ -140,6 +140,7 @@ Other API used by [ossrs.net](https://ossrs.net):
|
|||
* `/gif/v1` The statistic API.
|
||||
* `/service/v1/` The latest available version API.
|
||||
* `/ws-service/v1/` The latest available version API, by websocket.
|
||||
* `/im-service/v1/` The latest available version API, by IM.
|
||||
|
||||
## Features
|
||||
|
||||
|
|
|
@ -98,7 +98,7 @@ srs_error_t SrsLatestVersion::query_latest_version()
|
|||
stringstream ss;
|
||||
ss << "http://api.ossrs.net/service/v1/releases?"
|
||||
<< "version=v" << VERSION_MAJOR << "." << VERSION_MINOR << "." << VERSION_REVISION
|
||||
<< "&id=" << server_id_
|
||||
<< "&id=" << server_id_ << "&role=srs"
|
||||
<< "&eip=" << srs_get_public_internet_address()
|
||||
<< "&ts=" << srsu2ms(srs_get_system_time());
|
||||
string url = ss.str();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue