From f043a7eb48f145557e6d131f702d2b21df309dab Mon Sep 17 00:00:00 2001
From: winlin
Date: Wed, 19 May 2021 21:06:17 +0800
Subject: [PATCH] SquashSRS4: Allow RTC play before publish.
---
README.md | 2 +
.../research/api-server/static-dir/index.html | 4 +-
trunk/src/app/srs_app_rtc_source.cpp | 102 +++++++++++-------
trunk/src/app/srs_app_rtc_source.hpp | 3 +
trunk/src/app/srs_app_rtmp_conn.cpp | 9 ++
trunk/src/core/srs_core_version4.hpp | 2 +-
6 files changed, 79 insertions(+), 43 deletions(-)
diff --git a/README.md b/README.md
index 535a6c3e8..0fb9fde84 100755
--- a/README.md
+++ b/README.md
@@ -183,6 +183,7 @@ The ports used by SRS:
## V4 changes
+* v4.0, 2021-05-19, Fix [#2362][bug #2362]: Allow WebRTC to play before publishing, for GB28181 as such. 4.0.117
* v4.0, 2021-05-18, Fix [#2355][bug #2355]: GB28181: Fix play by RTC bug. 4.0.116
* v4.0, 2021-05-15, SRT: Build SRT from source by SRS. 4.0.115
* v4.0, 2021-05-15, Rename SrsConsumer* to SrsLiveConsumer*. 4.0.114
@@ -1933,6 +1934,7 @@ Winlin
[bug #2304]: https://github.com/ossrs/srs/issues/2304#issuecomment-826009290
[bug #2355]: https://github.com/ossrs/srs/issues/2355
[bug #307]: https://github.com/ossrs/srs/issues/307
+[bug #2362]: https://github.com/ossrs/srs/issues/2362
[bug #yyyyyyyyyyyyy]: https://github.com/ossrs/srs/issues/yyyyyyyyyyyyy
[bug #1631]: https://github.com/ossrs/srs/issues/1631
diff --git a/trunk/research/api-server/static-dir/index.html b/trunk/research/api-server/static-dir/index.html
index b3ecfc979..e73a6e75b 100755
--- a/trunk/research/api-server/static-dir/index.html
+++ b/trunk/research/api-server/static-dir/index.html
@@ -11,8 +11,8 @@
点击进入SRS控制台
- Click here to start SRS player.
- 点击进入SRS播放器
+ Click here to start SRS player.
+ 点击进入SRS播放器
SRS Team © 2021