mirror of
https://github.com/ossrs/srs.git
synced 2025-02-13 03:41:55 +00:00
Fix #2370 bug for Firefox play stream(published by Chrome). 4.0.121
This commit is contained in:
parent
7ea05dddf2
commit
5df90a2a1c
3 changed files with 7 additions and 1 deletions
|
@ -174,6 +174,7 @@ The ports used by SRS:
|
|||
|
||||
## V4 changes
|
||||
|
||||
* v4.0, 2021-05-21, Fix [#2370][bug #2370] bug for Firefox play stream(published by Chrome). 4.0.121
|
||||
* v4.0, 2021-05-21, RTC: Refine sdk, migrate from onaddstream to ontrack. 4.0.120
|
||||
* v4.0, 2021-05-21, Tools: Refine configure options. 4.0.119
|
||||
* v4.0, 2021-05-20, Fix build fail when disable RTC by --rtc=off. 4.0.118
|
||||
|
@ -1917,6 +1918,7 @@ Winlin
|
|||
[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 #2370]: https://github.com/ossrs/srs/issues/2370
|
||||
[bug #yyyyyyyyyyyyy]: https://github.com/ossrs/srs/issues/yyyyyyyyyyyyy
|
||||
|
||||
[bug #1631]: https://github.com/ossrs/srs/issues/1631
|
||||
|
|
|
@ -3121,6 +3121,10 @@ srs_error_t SrsRtcConnection::negotiate_play_capability(SrsRtcUserConfig* ruc, s
|
|||
for (int j = 0; j < (int)track_descs.size(); ++j) {
|
||||
SrsRtcTrackDescription* track = track_descs.at(j)->copy();
|
||||
|
||||
// We should clear the extmaps of source(publisher).
|
||||
// @see https://github.com/ossrs/srs/issues/2370
|
||||
track->extmaps_.clear();
|
||||
|
||||
// Use remote/source/offer PayloadType.
|
||||
track->media_->pt_of_publisher_ = track->media_->pt_;
|
||||
track->media_->pt_ = remote_payload.payload_type_;
|
||||
|
|
|
@ -26,6 +26,6 @@
|
|||
|
||||
#define VERSION_MAJOR 4
|
||||
#define VERSION_MINOR 0
|
||||
#define VERSION_REVISION 120
|
||||
#define VERSION_REVISION 121
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue