mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Merge 3.0release
This commit is contained in:
commit
a147d6e41e
4 changed files with 1247 additions and 28 deletions
19
README.md
19
README.md
|
@ -145,6 +145,7 @@ Please select according to languages:
|
|||
- [ ] Support publishing stream by WebRTC.
|
||||
- [ ] Support change user to run SRS, [#1111][bug #1111].
|
||||
- [ ] Support HLS variant, [#463][bug #463].
|
||||
- [ ] Support playing stream by WebRTC.
|
||||
|
||||
> Remark: About the milestone and product plan, please read ([CN][v1_CN_Product], [EN][v1_EN_Product]) wiki.
|
||||
|
||||
|
@ -153,6 +154,8 @@ Please select according to languages:
|
|||
|
||||
### V3 changes
|
||||
|
||||
* v3.0, 2019-10-13, Use http://ossrs.net:8000 as homepage.
|
||||
* v3.0, 2019-10-10, Cover AMF0 codec. 3.0.61
|
||||
* <strong>v3.0, 2019-10-07, [3.0 alpha1(3.0.60)][r3.0a1] released. 107962 lines.</strong>
|
||||
* v3.0, 2019-10-06, Support log rotate by init.d command. 3.0.60
|
||||
* v3.0, 2019-10-06, We prefer ipv4, only use ipv6 if ipv4 is disabled. 3.0.59
|
||||
|
@ -170,7 +173,7 @@ Please select according to languages:
|
|||
* v3.0, 2019-04-06, Merge [#1304][bug #1304], Fix ST coroutine pull error. 3.0.47
|
||||
* v3.0, 2019-04-05, Merge [#1339][bug #1339], Support HTTP-FLV params. 3.0.46
|
||||
* v3.0, 2018-11-11, Merge [#1261][bug #1261], Support `_definst_` for Wowza. 3.0.44
|
||||
* v3.0, 2018-08-26, SRS [console](https://github.com/ossrs/srs-ngb) support both [Chinese](http://182.92.80.26:1985/console/ng_index.html) and [English](http://182.92.80.26:1985/console/en_index.html).
|
||||
* v3.0, 2018-08-26, SRS [console](https://github.com/ossrs/srs-ngb) support both [Chinese](http://ossrs.net:1985/console/ng_index.html) and [English](http://ossrs.net:1985/console/en_index.html).
|
||||
* v3.0, 2018-08-25, Fix [#1093][bug #1093], Support HLS encryption. 3.0.42
|
||||
* v3.0, 2018-08-25, Fix [#1051][bug #1051], Drop ts when republishing stream. 3.0.41
|
||||
* v3.0, 2018-08-12, For [#1202][bug #1202], Support edge/forward to Aliyun CDN. 3.0.40
|
||||
|
@ -515,7 +518,7 @@ Please select according to languages:
|
|||
* v1.0, 2014-05-27, fix [#84][bug #84], unpublish when edge disconnect. 0.9.119
|
||||
* v1.0, 2014-05-27, fix [#89][bug #89], config to /dev/null to disable ffmpeg log. 0.9.117
|
||||
* v1.0, 2014-05-25, fix [#76][bug #76], allow edge vhost to add or remove. 0.9.114
|
||||
* v1.0, 2014-05-24, Johnny contribute [ossrs.net](http://182.92.80.26). karthikeyan start to translate wiki to English.
|
||||
* v1.0, 2014-05-24, Johnny contribute [ossrs.net](http://ossrs.net:8000). karthikeyan start to translate wiki to English.
|
||||
* v1.0, 2014-05-22, fix [#78][bug #78], st joinable thread must be stop by other threads, 0.9.113
|
||||
* v1.0, 2014-05-22, support amf0 StrictArray(0x0a). 0.9.111.
|
||||
* v1.0, 2014-05-22, support flv parser, add amf0 to librtmp. 0.9.110
|
||||
|
@ -1066,8 +1069,8 @@ Winlin
|
|||
[srs-ngb]: https://github.com/ossrs/srs-ngb
|
||||
[srs-librtmp]: https://github.com/ossrs/srs-librtmp
|
||||
[gitlab]: https://gitlab.com/winlinvip/srs-gitlab
|
||||
[console]: http://182.92.80.26:1985/console
|
||||
[player]: http://182.92.80.26/players/srs_player.html
|
||||
[console]: http://ossrs.net:1985/console
|
||||
[player]: http://ossrs.net:8000/players/srs_player.html
|
||||
[modules]: https://github.com/ossrs/srs/blob/develop/trunk/modules/readme.txt
|
||||
[docker]: https://github.com/ossrs/srs-docker/tree/centos#usage
|
||||
|
||||
|
@ -1114,8 +1117,8 @@ Winlin
|
|||
[v3_CN_Home]: https://github.com/ossrs/srs/wiki/v3_CN_Home
|
||||
[v3_EN_Home]: https://github.com/ossrs/srs/wiki/v3_EN_Home
|
||||
[donation0]: http://winlinvip.github.io/srs.release/donation/index.html
|
||||
[donation1]: http://182.92.80.26/srs.release/donation/index.html
|
||||
[donation2]: http://182.92.80.26/srs.release/donation/paypal.html
|
||||
[donation1]: http://ossrs.net:8000/srs.release/donation/index.html
|
||||
[donation2]: http://ossrs.net:8000/srs.release/donation/paypal.html
|
||||
[donations]: https://github.com/ossrs/srs/blob/develop/DONATIONS.txt
|
||||
|
||||
[v1_CN_Compare]: https://github.com/ossrs/srs/wiki/v1_CN_Compare
|
||||
|
@ -1536,7 +1539,7 @@ Winlin
|
|||
|
||||
[contact]: https://github.com/ossrs/srs/wiki/v1_CN_Contact
|
||||
[more0]: http://winlinvip.github.io/srs.release/releases/
|
||||
[more1]: http://182.92.80.26/srs.release/releases/
|
||||
[more1]: http://ossrs.net:8000/srs.release/releases/
|
||||
|
||||
[LICENSE]: https://github.com/ossrs/srs/blob/develop/LICENSE
|
||||
[LicenseMixing]: https://github.com/ossrs/srs/wiki/LicenseMixing
|
||||
|
@ -1548,5 +1551,5 @@ Winlin
|
|||
[release2]: https://github.com/ossrs/srs/wiki/v1_CN_Product#release20
|
||||
[release3]: https://github.com/ossrs/srs/wiki/v1_CN_Product#release30
|
||||
[centos0]: http://winlinvip.github.io/srs.release/releases/files/SRS-CentOS6-x86_64-3.0.56.zip
|
||||
[centos1]: http://182.92.80.26/srs.release/releases/files/SRS-CentOS6-x86_64-3.0.56.zip
|
||||
[centos1]: http://ossrs.net:8000/srs.release/releases/files/SRS-CentOS6-x86_64-3.0.56.zip
|
||||
|
||||
|
|
|
@ -216,6 +216,8 @@ void srs_amf0_do_print(SrsAmf0Any* any, stringstream& ss, int level)
|
|||
<< "/" << std::hex << any->to_date_time_zone() << endl;
|
||||
} else if (any->is_null()) {
|
||||
ss << "Null" << endl;
|
||||
} else if (any->is_undefined()) {
|
||||
ss << "Undefined" << endl;
|
||||
} else if (any->is_ecma_array()) {
|
||||
SrsAmf0EcmaArray* obj = any->to_ecma_array();
|
||||
ss << "EcmaArray " << "(" << obj->count() << " items)" << endl;
|
||||
|
@ -1781,24 +1783,8 @@ namespace _srs_internal
|
|||
|
||||
srs_error_t srs_amf0_write_object_eof(SrsBuffer* stream, SrsAmf0ObjectEOF* value)
|
||||
{
|
||||
srs_error_t err = srs_success;
|
||||
|
||||
srs_assert(value != NULL);
|
||||
|
||||
// value
|
||||
if (!stream->require(2)) {
|
||||
return srs_error_new(ERROR_RTMP_AMF0_ENCODE, "requires 2 only %d bytes", stream->left());
|
||||
}
|
||||
stream->write_2bytes(0x00);
|
||||
|
||||
// marker
|
||||
if (!stream->require(1)) {
|
||||
return srs_error_new(ERROR_RTMP_AMF0_ENCODE, "requires 1 only %d bytes", stream->left());
|
||||
}
|
||||
|
||||
stream->write_1bytes(RTMP_AMF0_ObjectEnd);
|
||||
|
||||
return err;
|
||||
return value->write(stream);
|
||||
}
|
||||
|
||||
srs_error_t srs_amf0_write_any(SrsBuffer* stream, SrsAmf0Any* value)
|
||||
|
|
|
@ -29,6 +29,9 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
#include <srs_app_config.hpp>
|
||||
#include <srs_app_log.hpp>
|
||||
|
||||
#include <string>
|
||||
using namespace std;
|
||||
|
||||
// Temporary disk config.
|
||||
std::string _srs_tmp_file_prefix = "/tmp/srs-utest-";
|
||||
// Temporary network config.
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue