Skip to content

Commit

Permalink
Fix #1057, switch to simple handshake. 3.0.28
Browse files Browse the repository at this point in the history
  • Loading branch information
winlinvip committed Feb 13, 2018
1 parent a2cefe4 commit db6b8cf
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ Please select according to languages:

### V3 changes

* v3.0, 2018-02-13, Fix [#1057][bug #1057], switch to simple handshake. 3.0.28
* v3.0, 2018-02-13, Fix [#1059][bug #1059], merge from 2.0, supports url with vhost in stream. 3.0.27
* v3.0, 2018-01-01, Fix [#913][bug #913], support complex error. 3.0.26
* v3.0, 2017-06-04, Fix [#299][bug #299], support experimental MPEG-DASH. 3.0.25
Expand Down Expand Up @@ -1440,6 +1441,7 @@ Winlin
[bug #821]: https://github.com/ossrs/srs/issues/821
[bug #913]: https://github.com/ossrs/srs/issues/913
[bug #460]: https://github.com/ossrs/srs/issues/460
[bug #1057]: https://github.com/ossrs/srs/issues/1057
[bug #xxxxxxxxxxxxx]: https://github.com/ossrs/srs/issues/xxxxxxxxxxxxx

[exo #828]: https://github.com/google/ExoPlayer/pull/828
Expand Down
2 changes: 1 addition & 1 deletion trunk/src/core/srs_core.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
// current release version
#define VERSION_MAJOR 3
#define VERSION_MINOR 0
#define VERSION_REVISION 27
#define VERSION_REVISION 28

// generated by configure, only macros.
#include <srs_auto_headers.hpp>
Expand Down
6 changes: 4 additions & 2 deletions trunk/src/protocol/srs_rtmp_stack.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1876,8 +1876,9 @@ srs_error_t SrsRtmpClient::handshake()
if ((err = simple_hs->handshake_with_server(hs_bytes, io)) != srs_success) {
return srs_error_wrap(err, "simple handshake");
}
} else {
return srs_error_wrap(err, "complex handshake");
}
return srs_error_wrap(err, "complex handshake");
}

srs_freep(hs_bytes);
Expand Down Expand Up @@ -2272,8 +2273,9 @@ srs_error_t SrsRtmpServer::handshake()
if ((err = simple_hs.handshake_with_client(hs_bytes, io)) != srs_success) {
return srs_error_wrap(err, "simple handshake");
}
} else {
return srs_error_wrap(err, "complex handshake");
}
return srs_error_wrap(err, "complex handshake");
}

srs_freep(hs_bytes);
Expand Down

0 comments on commit db6b8cf

Please sign in to comment.