1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-12 19:31:53 +00:00
Commit graph

3966 commits

Author SHA1 Message Date
winlin
69e2d94e50 Fix some warnings for compiler 2020-01-05 22:30:57 +08:00
winlin
10464a5fbe Always use string instance to avoid crash risk. 3.0.95 2020-01-05 22:17:15 +08:00
winlin
b794c9e4ec For #460, fix ipv6 hostport parsing bug. 3.0.94 2020-01-05 22:16:21 +08:00
winlin
76d92792b7 For #460, fix ipv6 intranet address filter bug. 3.0.93 2020-01-05 21:25:51 +08:00
winlin
bc6c61e546 Fix #1543, use getpeername to retrieve client ip. 3.0.92 2020-01-05 20:06:25 +08:00
winlin
498f3c5df9 Improve test coverage for service TCP/UDP. 2020-01-05 18:44:07 +08:00
winlin
42ee6570a7 Improve test coverage for service TCP/UDP. 2020-01-05 18:43:23 +08:00
winlin
02c1bd0946 Improve test coverage for service TCP/UDP. 2020-01-05 18:42:37 +08:00
winlin
265b70863c Improve test coverage for service TCP/UDP. 2020-01-05 18:37:20 +08:00
winlin
9bd8b363b3 Improve test coverage for http service. 2020-01-05 17:02:57 +08:00
winlin
6d0ac35db9 Merge 2.0release #1551 2020-01-05 14:43:46 +08:00
winlin
b5f4b96060 Merge #1551, fix memory leak in RTSP stack. 2.0.270 2020-01-05 14:41:31 +08:00
alphonsetai
763c06976a fix memory leak 2020-01-05 14:38:08 +08:00
winlin
79314f7d4a Improve test coverage for HTTP service 2020-01-03 13:31:08 +08:00
winlin
646eeb05e9 For #1042, improve test coverage for config. 3.0.91 2020-01-02 11:18:45 +08:00
winlin
fa7fd85ca6 Improve test coverage for config. 2020-01-02 11:08:18 +08:00
winlin
45aa325722 Improve test coverage for config. 2020-01-01 21:01:14 +08:00
winlin
4848d3ab91 Improve test coverage for config. 2020-01-01 17:15:21 +08:00
winlin
0fd0114ee6 Improve test coverage for config. 2020-01-01 17:14:59 +08:00
winlin
f7673f6009 Improve test coverage for config. 2020-01-01 16:06:12 +08:00
winlin
a9dba511ab Improve test coverage for config. 2020-01-01 16:04:35 +08:00
winlin
146a095b38 Improve test coverage for config. 2020-01-01 15:52:10 +08:00
winlin
2942955b30 Improve test coverage for config. 2020-01-01 15:49:04 +08:00
winlin
7136c7c9b8 Improve test coverage for config. 2020-01-01 14:21:24 +08:00
winlin
de87b64f59 Improve test coverage for config. 2020-01-01 14:12:36 +08:00
winlin
a71d93188b Improve test coverage for config. 2020-01-01 13:41:19 +08:00
winlin
36236192fa Improve test coverage for mp4 2020-01-01 12:00:48 +08:00
winlin
d2052fd4cd Support sequence header only for mp4 2020-01-01 11:54:53 +08:00
winlin
c3e0dcfa9e Improve test coverage for mp4 decoder 2019-12-31 19:37:48 +08:00
winlin
7597a956ed Improve test coverage for dash init encoder 2019-12-31 19:17:40 +08:00
winlin
1cfadfed3a Improve test coverage for mp4 boxes 2019-12-31 18:59:30 +08:00
winlin
e8dbee1474 Refine url/urn box dumps 2019-12-31 15:55:34 +08:00
winlin
9cb2449175 Fix mp4 url/urn bug. 2019-12-31 15:35:45 +08:00
winlin
adad90d316 Refactor the mock file reader/writer 2019-12-31 15:15:56 +08:00
winlin
d32a7e9770 Improve test coverage for mp4 box 2019-12-30 20:50:58 +08:00
winlin
f3831d2d5b Improve test coverage for mp4 dumps 2019-12-30 16:36:11 +08:00
winlin
b63f2f283d Fix mp4 security issue, check buffer when required size is variable. 2019-12-30 14:34:23 +08:00
winlin
9140e0f19d Improve test coverage for kernel mp4. 2019-12-30 13:50:19 +08:00
winlin
d783a12f89 Happy 2020 2019-12-30 10:10:35 +08:00
winlin
8075628d9e Fix utest fail. 2019-12-29 19:16:16 +08:00
winlin
eb8e7ad479 Fix #1255, support vhost/domain in query string for HTTP streaming. 3.0.90 2019-12-29 18:56:35 +08:00
winlin
8a28a11648 For #299, increase dash segment size for avsync issue. 3.0.89 2019-12-29 18:21:45 +08:00
winlin
d11a7b2e00 For #299, fix some bugs in dash, it works now. 3.0.88 2019-12-27 20:47:33 +08:00
winlin
043781fe81 Fix #1544, fix memory leaking for complex error. 3.0.87 2019-12-27 11:46:07 +08:00
winlin
be0cb164ec Add links for flv.js, hls.js and dash.js 2019-12-27 10:40:44 +08:00
winlin
c2e9e96e28 Change the default page to srs_player 2019-12-27 09:11:26 +08:00
winlin
76a7985cbe For #1105, fix dash mp4 bug. 2019-12-26 18:39:14 +08:00
winlin
b9d720c927 For #1105, http server support mp4 range. 2019-12-26 18:33:52 +08:00
winlin
7584c47aaf Fix #1105, dvr mp4 supports playing on Chrome/Safari/Firefox. 3.0.86 2019-12-26 18:05:17 +08:00
winlin
32a2b7f0a5 For #1488, improve coverage for parsing client ip. 2019-12-26 12:20:53 +08:00
winlin
2115d5d22a For #1488, add test and improve coverage for parsing client ip. 2019-12-26 12:07:52 +08:00
winlin
316cab794a For #1488, pass client ip to http callback.3.0.85 2019-12-26 11:42:19 +08:00
winlin
d367730883 For #1488, support parsing original ip from header for proxy 2019-12-26 11:33:26 +08:00
winlin
09b65aff96 For #1488, pass client ip to http callback. 2.0.269 2019-12-26 10:37:16 +08:00
winlin
c5a8d21db6 For #1537, #1282, use new algorithm for arm. 2019-12-25 20:11:31 +08:00
winlin
84f6f3d051 For #1537, #1282, support aarch64 for armv8. 3.0.84 2019-12-25 19:58:15 +08:00
winlin
ea8111cff5 For #1537, support aarch64 for armv8. 3.0.84 2019-12-25 19:44:33 +08:00
winlin
0e0889af02 For #1538, fresh chunk allow fmt=0 or fmt=1. 3.0.83 2019-12-25 19:04:15 +08:00
winlin
416568f4ab Remove FFMPEG and NGINX, please use srs-docker instead 2019-12-25 18:39:01 +08:00
winlin
ff2001a612 Compress repository, remove gprof files. 2019-12-25 18:30:55 +08:00
winlin
a11461905b Remove FFMPEG and NGINX, please use srs-docker instead . 3.0.82 2019-12-25 18:29:07 +08:00
winlin
bf807778e5 For #1537, #1282, support multiple options for --extra-flags 2019-12-25 17:52:51 +08:00
winlin
f24694fc65 For #1537, #1282, remove cross-build, not used patches, directly build st. 2019-12-25 16:47:29 +08:00
winlin
f47e846bd2 For #1537, #1282, refine build st script 2019-12-25 16:26:40 +08:00
winlin
97bb8a5405 For #1537, #1282, support disable ASM to avoid building bug. 2019-12-25 16:22:00 +08:00
winlin
b672ad4b1f For #1537, #1282, sync with state-threads/srs 2019-12-25 16:09:25 +08:00
winlin
4e93ded864 For #1537, #1282, remove not used file st-1.9.zip 2019-12-25 16:05:50 +08:00
winlin
e42633cd65 For #1537, #1282, when not use builtin setjmp, donot compile md.S 2019-12-25 16:04:28 +08:00
winlin
916ec71801 For #1537, #1282, use ST source code in SRS 2019-12-25 15:55:56 +08:00
winlin
c91ffbee93 For #1537, #1282, remove not used patches, note the patch for ARM already merged to ST in SRS3 2019-12-25 15:49:25 +08:00
winlin
a0c631de9f For #1537, #1282, support --extra-flags for unknown CPU arch. 2019-12-25 15:46:58 +08:00
winlin
71810c0209 For #1537, disable crossbuild for ARM/MIPS. 2019-12-25 13:18:53 +08:00
winlin
dffc96d2fe For #1537, disable crossbuild for ARM/MIPS. 2019-12-25 13:17:49 +08:00
winlin
e6e4bd7fb4 Remove useless warning log for reloading. 2019-12-24 19:26:22 +08:00
winlin
e2def1b24f Ignore some coverage for mp4. 2019-12-24 17:42:00 +08:00
winlin
e2f86464c5 Ignore some coverage for ts. 2019-12-24 17:29:46 +08:00
winlin
995bd5cdd2 Update new AUTHORS 2019-12-24 17:29:30 +08:00
winlin
0c20a45f5c Ignore test coverage for some lines for mp4 2019-12-24 15:41:36 +08:00
winlin
a119305b31 Ignore coverage for codec sps-pps parsing. 2019-12-24 15:36:22 +08:00
winlin
aa4a27b9fa Ignore coverage for codec sps-pps parsing. 2019-12-24 15:35:19 +08:00
winlin
7eccc9da26 For #1508, support chunk length and content in multiple parts. 2019-12-24 14:58:35 +08:00
winlin
a35a7f915e Fix bug for HTTP write jsonp for srs-console. 2019-12-24 10:32:52 +08:00
winlin
40f6ecaee2 Merge SRS2 for running srs-librtmp on Windows. 3.0.80 2019-12-23 21:09:00 +08:00
winlin
c5f31570cd Support parsing vhost splited by single seperator. 2.0.268 2019-12-23 18:31:14 +08:00
winlin
01a4503ceb Support build srs-librtmp by VS2015. 2.0.267 2019-12-23 18:12:45 +08:00
winlin
08bbbc5414 Support build srs-librtmp by VS2015. 2.0.267 2019-12-23 17:11:31 +08:00
winlin
c6732d0fbb Support build srs-librtmp by VS2015. 2.0.267 2019-12-23 17:02:09 +08:00
winlin
316628632b Support build srs-librtmp by VS2015. 2.0.267 2019-12-23 17:01:02 +08:00
winlin
2d29e3c4e6 For #1535, deprecate Adobe FMS/AMS edge token traversing authentication. 3.0.79 2019-12-23 12:21:46 +08:00
winlin
9aaf5123ad For #1535, deprecate BWT(bandwith testing). 3.0.78 2019-12-23 12:10:35 +08:00
winlin
1b3fe4eb06 For #1535, deprecate Adobe HDS(f4m). 3.0.77 2019-12-23 12:01:50 +08:00
winlin
ae785eda8d Improve test coverage for kernel fast stream. 2019-12-20 18:56:53 +08:00
winlin
da7e76c96a For#1508, check the error correctly for strtol. 2019-12-20 16:48:51 +08:00
winlin
cab15c348c Fix #1508, http-client support read chunked response. 3.0.76 2019-12-20 16:09:37 +08:00
winlin
788b200e90 For #1508, check the error by http_errno for http-parser. 2019-12-20 16:08:24 +08:00
winlin
2b51cee3ef For #1508, check the chunk header length. 2019-12-20 14:51:01 +08:00
winlin
4382ced3bf For #1508, Refactor srs_is_digital, support all zeros. 2019-12-20 14:49:25 +08:00
winlin
cee4feda61 Fix make -jN random failed. 2019-12-20 11:49:27 +08:00
winlin
fc9855bc7a Refine the RTMP iovs cache increasing to much faster. 2019-12-19 15:04:14 +08:00
winlin
49c737f996 Fix #1524, memory leak for amf0 strict array. 3.0.75 2019-12-19 14:39:34 +08:00
winlin
1e4f22f83d Fix random build failed bug for modules. 2019-12-19 14:30:34 +08:00
winlin
d7078a72d4 For #1520, add TODO list for configing server itself in coworker. 2019-12-19 14:15:21 +08:00
winlin
acfeb8a66f Fix #1520, #1223, bug for origin cluster 3+ servers. 3.0.74 2019-12-19 14:04:26 +08:00
winlin
0200baa179 Improve test coverage for protocols. 2019-12-18 21:19:42 +08:00
winlin
25f132ec2f Improve test coverage for protocols. 2019-12-18 21:18:11 +08:00
winlin
bf92172e62 Improve coverage for RAW AVC protocol. 2019-12-18 20:37:49 +08:00
winlin
4a5323b054 Improve coverage for RAW AVC protocol. 2019-12-18 20:27:48 +08:00
winlin
23a1674ce0 Improve coverage for RAW AVC protocol. 2019-12-18 20:13:11 +08:00
winlin
8047d0df45 For #1042, add test for RAW AVC protocol. 2019-12-18 15:50:17 +08:00
winlin
6eec7c1dfe Refactor the query string for srs-player 2019-12-18 14:46:21 +08:00
winlin
b52628ce01 Refactor the comments to use flash publisher 2019-12-18 14:37:39 +08:00
winlin
931496e3b9 Refactor the comments to use flash publisher 2019-12-18 14:37:10 +08:00
winlin
4e3650b8c7 Refactor the comments to use flash publisher 2019-12-18 14:35:43 +08:00
winlin
dd44d76d72 Refactor the comments to use flash publisher 2019-12-18 14:35:07 +08:00
winlin
7497df7a15 Refactor the comments to enable flash 2019-12-18 13:59:05 +08:00
winlin
4a5afe3428 Add tips when flash is disabled. 2019-12-18 12:06:32 +08:00
winlin
901c69b381 Update srs-player version 2019-12-18 11:54:17 +08:00
winlin
cef7ec79b3 Detect whether flash enabled for srs-bwt. 2019-12-18 11:50:43 +08:00
winlin
c830dc6700 Detect whether flash enabled for srs-publisher. 2019-12-18 11:33:34 +08:00
winlin
b0afc00733 Detect whether flash enabled for srs-player. 3.0.73 2019-12-18 11:06:01 +08:00
winlin
33c7f6d0e4 Temporarily disable chat demo page. 2019-12-18 09:16:56 +08:00
winlin
216a23f709 Fix the http implicit handler bug 2019-12-17 21:24:24 +08:00
winlin
b247c9759a Improve test coverage for http handler 2019-12-17 21:17:44 +08:00
winlin
6c50d85671 Improve test coverage for http message 2019-12-17 21:08:18 +08:00
winlin
43a5cea158 Improve test coverage for HTTP CORS 2019-12-17 21:03:28 +08:00
winlin
dc1afc142f Fix HTTP CORS bug when sending response for OPTIONS. 3.0.72 2019-12-17 20:52:10 +08:00
winlin
ec0fb82c0e Improve test coverage for http server mux. 2019-12-17 19:39:36 +08:00
winlin
81947df819 Enhance HTTP response write for final_request. 2019-12-17 19:09:39 +08:00
winlin
e27cc059e4 Ignore coverage for http-parser 2019-12-17 17:37:29 +08:00
winlin
df359f747a Ignore coverage for json-parser 2019-12-17 17:30:49 +08:00
winlin
191b07668d Refactor HTTP stream to disconnect client when unpublish 2019-12-17 16:54:06 +08:00
winlin
1e83da7812 Refactor HTTP recv request timeout to 15s. 2019-12-17 16:37:00 +08:00
winlin
2df1dcb05a Fix HTTP-FLV and VOD-FLV conflicting bug. 2019-12-17 16:01:04 +08:00
winlin
d9842b0371 Refactor HttpResponseWriter.write, default to single text mode. 2019-12-17 15:14:59 +08:00
winlin
8cdb7cc727 Add test for vod stream handler 2019-12-17 14:33:47 +08:00
winlin
97f2c5bf0c Refactor http static file server path resolving. 2019-12-16 20:07:06 +08:00
winlin
fa362607b2 Add test for http basic handler 2019-12-16 19:32:41 +08:00
winlin
6bad973a7c Fix HTTP parser bug for parsing header from multiple pieces of data. 2019-12-16 18:21:39 +08:00
winlin
45ed458927 Eliminate dead code of ts cache for HTTP message 2019-12-16 16:07:17 +08:00
winlin
ca2b68f428 Refactor header of HTTP message by using SrsHttpHeader. 2019-12-16 16:00:02 +08:00
winlin
dcb7b6aae0 Refactor HTTP Message by decoupling with http_parser 2019-12-16 15:12:26 +08:00
winlin
547cd4f518 Word the comments about the order of HTTP header 2019-12-16 12:25:29 +08:00
winlin
0886acbdb7 Improve test coverage for HTTP header. 2019-12-16 12:11:29 +08:00
winlin
8c10c26f00 Improve the coverage for HTTP error response. 2019-12-16 11:36:39 +08:00
winlin
474266eae7 Refine the comments for http content-type detecting 2019-12-14 23:34:09 +08:00
winlin
4758a284d7 Add test for http status. 2019-12-14 10:12:25 +08:00
winlin
6ce04051e4 Improve test coverage of status for HTTP. 2019-12-13 20:05:18 +08:00
winlin
0394d95e4b Refine file structure for RTMP/HTTP protocol stack utest. 2019-12-13 20:04:33 +08:00
winlin
8d9554df8e Remove dead code in SrsRtmpClient::handshake 2019-12-13 16:31:32 +08:00
winlin
1c391c85ae Merge 2.0release 2019-12-13 10:47:04 +08:00
winlin
fde11756c3 Support openssl versions greater than 1.1.0. 2.0.266 2019-12-13 10:40:11 +08:00
winlin
6f453e7f46 For #547, #1506, default hls_dts_directly to on. 3.0.71 2019-12-12 16:51:34 +08:00
winlin
f298d5204b For #1042, cover RTMP other codes 2019-12-12 15:58:56 +08:00
winlin
cfcb3ce7b2 For #1042, cover RTMP other codes 2019-12-12 15:46:46 +08:00
winlin
2731fe1f3e SrsPacket supports converting to message, so can be sent by one API. 2019-12-12 15:11:31 +08:00
winlin
82c4f41975 For #1042, cover RTMP other codes 2019-12-12 10:12:31 +08:00
winlin
bd3d9f32b7 For #1042, cover RTMP other codes 2019-12-11 20:22:39 +08:00
winlin
22d4159373 For #1042, cover RTMP server response commands. 2019-12-11 18:43:37 +08:00
winlin
9c62a68e15 For #1042, cover RTMP server response commands. 2019-12-11 18:25:47 +08:00
winlin
5516877867 For #1042, cover RTMP client/server protocol. 2019-12-11 18:12:06 +08:00
winlin
4f298134af Fix #1445, limit the createStream recursive depth. 3.0.70 2019-12-11 17:56:31 +08:00
winlin
41a9f15626 For #1042, cover RTMP client protocol. 2019-12-11 15:59:29 +08:00
winlin
69817a9f34 For #1042, cover RTMP handshake protocol. 2019-12-11 15:02:35 +08:00
winlin
f51f1efe42 For #1042, cover RTMP handshake protocol. 2019-12-11 14:32:57 +08:00
winlin
7bd7e1ccca Refine the circleci codecov script. 2019-12-11 12:06:28 +08:00
winlin
78da67e8d1 For #1229, fix the security risk in logger. 3.0.69 2019-12-11 11:56:00 +08:00
winlin
ad70589347 For #1229, fix the security risk in HDS. 3.0.69 2019-12-11 11:31:32 +08:00
winlin
d866c77265 Fix the path for circleci 2019-12-11 07:23:54 +08:00
winlin
20fbb4466f Fix the path for circleci 2019-12-11 07:09:28 +08:00
winlin
f1cca0c360 Fix the path for circleci 2019-12-11 07:02:42 +08:00
winlin
0c673deb81 Fix the path for circleci 2019-12-10 23:25:15 +08:00
winlin
fae3a714a2 Fix the path for circleci 2019-12-10 23:21:26 +08:00
winlin
4c93d3a4c7 Fix the path for circleci 2019-12-10 23:13:56 +08:00
winlin
749b9fe444 Fix the path for circleci 2019-12-10 22:24:16 +08:00
winlin
0677e378ba Fix the path for circleci 2019-12-10 22:18:31 +08:00
winlin
e3077a8034 Fix the path for circleci 2019-12-10 22:09:52 +08:00
winlin
1b2aff84bc Fix the path for circleci 2019-12-10 21:45:58 +08:00
winlin
c90e321f9c Fix the path for circleci 2019-12-10 21:34:20 +08:00
winlin
94adda5dae Fix the circleci path 2019-12-10 21:14:01 +08:00
winlin
979f82e0dc Fix the circleci path. 2019-12-10 20:32:33 +08:00
winlin
d908ee73db Make the hls_dipose more specific 2019-12-10 16:48:35 +08:00
winlin
1c227f4f8a Refine logger for hls_dts_directly 2019-12-10 15:59:15 +08:00
winlin
b4870a6d6f Fix #1506, support directly turn FLV timestamp to TS DTS. 3.0.68 2019-12-05 20:47:23 +08:00
winlin
31f341e205 For #1506, refine the AAC samples guess algorithm. 2019-12-05 20:16:23 +08:00
winlin
52c6c7c45d For #1506, ignore video when codec is unknown. 2019-12-05 19:21:43 +08:00
winlin
65c66592e9 Refine statistic url 2019-12-04 10:47:02 +08:00
winlin
2d85b036cb Refine stat for player index 2019-12-03 18:26:01 +08:00
winlin
643d06473f Refine player with statistics. 2019-12-03 10:18:13 +08:00
winlin
5a3fd1e68a Release v3.0-a2, 3.0.67 2019-12-01 19:24:17 +08:00
winlin
517974d451 Refine redirect flow for origin cluster 2019-11-30 19:06:41 +08:00
winlin
e5285ecabf Fix #1501, use request ip for origin cluster. 3.0.66 2019-11-30 18:50:24 +08:00
winlin
488f16f60c Random tid for docker. 3.0.65 2019-11-30 17:34:25 +08:00
winlin
4cd03a7c06 Refine debug info for edge. 3.0.64 2019-11-30 17:31:27 +08:00
winlin
1c943f27c9 Release 2.0.265, r2.0-r7 2019-11-29 18:26:40 +08:00
winlin
ba02640c46 Refine tid in error log 2019-11-29 12:33:32 +08:00
winlin
7bd704e695 Cover protocol stack RTMP. 3.0.63 2019-11-22 12:06:15 +08:00
winlin
2731afc161 Cover protocol stack RTMP. 3.0.63 2019-11-20 14:08:53 +08:00
winlin
40e60aff4d Cover protocol stack RTMP. 3.0.63 2019-11-20 11:14:02 +08:00
winlin
3365bc6b02 Cover protocol stack RTMP. 3.0.63 2019-11-20 11:05:56 +08:00
winlin
6eab86644e Cover protocol stack RTMP. 3.0.63 2019-11-19 18:18:43 +08:00