Skip to content

Commit 7ab3e4a

Browse files
committed
Squash: Merge SRS 4.0
1 parent 7abc9b6 commit 7ab3e4a

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

trunk/doc/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ The changelog for SRS.
2323

2424
## SRS 4.0 Changelog
2525

26+
* v4.0, 2021-08-28, RTC: Merge [#1859](https://github.com/ossrs/srs/pull/1859), Enhancement: Add param and stream to on_connect. 4.0.159
2627
* v4.0, 2021-08-27, RTC: Merge [#2544](https://github.com/ossrs/srs/pull/2544), Support for multiple SPS/PPS, then pick the first one. 4.0.158
2728
* v4.0, 2021-08-17, RTC: Merge [#2470](https://github.com/ossrs/srs/pull/2470), RTC: Fix rtc to rtmp sync timestamp using sender report. 4.0.157
2829
* v4.0, 2021-08-14, Support Github Actions to publish SRS. 4.0.155

trunk/src/app/srs_app_http_hooks.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ srs_error_t SrsHttpHooks::on_connect(string url, SrsRequest* req)
5454
obj->set("ip", SrsJsonAny::str(req->ip.c_str()));
5555
obj->set("vhost", SrsJsonAny::str(req->vhost.c_str()));
5656
obj->set("app", SrsJsonAny::str(req->app.c_str()));
57+
obj->set("stream", SrsJsonAny::str(req->stream.c_str()));
58+
obj->set("param", SrsJsonAny::str(req->param.c_str()));
5759
obj->set("tcUrl", SrsJsonAny::str(req->tcUrl.c_str()));
5860
obj->set("pageUrl", SrsJsonAny::str(req->pageUrl.c_str()));
5961

trunk/src/core/srs_core_version4.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99

1010
#define VERSION_MAJOR 4
1111
#define VERSION_MINOR 0
12-
#define VERSION_REVISION 158
12+
#define VERSION_REVISION 159
1313

1414
#endif

0 commit comments

Comments
 (0)