1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-15 04:42:04 +00:00
Commit graph

524 commits

Author SHA1 Message Date
winlin
f89b4b3b26 For #1651, fix return pnwrite of srs_write_large_iovs. 3.0.135 2020-03-21 20:20:40 +08:00
winlin
955de3dac9 Merge branch '3.0release' into 4.0release 2020-03-21 19:36:16 +08:00
winlin
a8ddd5afe7 For #1635, refine inotify watch for relative path 2020-03-16 11:52:31 +08:00
winlin
a7c8980a60 For #1636, muxing sh, use sound_rate if aac sr not set. 2020-03-13 17:36:22 +08:00
winlin
9b663c070a Fix #1635, support auto reaload config by inotify. 3.0.129 2020-03-12 18:14:23 +08:00
winlin
c50c51889a For #1592, support ff_log_level and default to warning 2020-02-05 12:32:15 +08:00
winlin
2fa151726b For #1592, rename ff_log_dir. 2020-02-05 12:15:44 +08:00
winlin
b9d45ba7d9 For #1186, refactor security check. 3.0.114 2020-02-04 19:21:15 +08:00
winlin
c51c378869 For #1186, refactor security check. 3.0.114 2020-02-04 19:07:54 +08:00
winlin
a2a6ca8258 For #939, always enable fast FLV streaming. 2020-02-04 16:13:48 +08:00
winlin
a6fe4e80d3 For #1547, remove the SRS_OSX macro in code 2020-01-20 11:25:39 +08:00
winlin
3900179685 For #307, #1070, define FLV CodecID for AV1 and Opus. 3.0.101 2020-01-19 11:22:35 +08:00
winlin
0e750ab3eb For #1575, use RTMP redirect as tcUrl and redirect2 as RTMP URL. 3.0.100 2020-01-16 14:28:05 +08:00
winlin
816aa91a7f Fix utest bug, init fd 2020-01-13 14:48:49 +08:00
winlin
36bfbb902b Refien utest for log heaer generating. 2020-01-08 14:32:24 +08:00
winlin
80bac7d982 Improve test coverage for rtmp client service. 2020-01-08 14:26:38 +08:00
winlin
cc11f36940 Improve test coverage for log service. 2020-01-08 14:24:41 +08:00
winlin
2cc021b2d7 Improve test coverage for http client service. 2020-01-08 14:00:27 +08:00
winlin
06c1d4d7f9 Fix some warnings for compiler 2020-01-05 22:37:25 +08:00
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
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
79314f7d4a Improve test coverage for HTTP service 2020-01-03 13:31:08 +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
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
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
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
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
0c20a45f5c Ignore test coverage for some lines for mp4 2019-12-24 15:41:36 +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
316628632b Support build srs-librtmp by VS2015. 2.0.267 2019-12-23 17:01:02 +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
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
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
191b07668d Refactor HTTP stream to disconnect client when unpublish 2019-12-17 16:54:06 +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
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
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
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
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
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
winlin
c8bb7e71c9 Cover protocol stack RTMP. 3.0.63 2019-11-19 11:47:31 +08:00
winlin
ea96e414ca Cover protocol stack RTMP. 3.0.63 2019-11-08 09:26:57 +08:00
winlin
78e5f46ff7 Cover protocol stack RTMP. 3.0.63 2019-11-05 14:00:00 +08:00
winlin
466f99a1c8 Cover protocol stack RTMP. 3.0.63 2019-11-05 10:31:21 +08:00
winlin
ce8f778fe6 Cover protocol stack RTMP. 3.0.63 2019-11-05 10:17:06 +08:00
winlin
918a2943c9 Cover protocol stack RTMP. 3.0.63 2019-11-05 09:55:45 +08:00
winlin
9067786bd3 Cover protocol stack RTMP. 3.0.63 2019-11-04 09:31:30 +08:00
winlin
a726a14b37 Cover protocol stack RTMP. 3.0.63 2019-10-29 10:02:03 +08:00
winlin
8c214dc967 Cover protocol stack RTMP. 3.0.63 2019-10-28 08:57:11 +08:00
winlin
cf9a6b4f48 Cover protocol stack RTMP. 3.0.63 2019-10-28 08:41:49 +08:00
winlin
1583f6cc3f Cover protocol stack RTMP. 3.0.63 2019-10-25 08:18:21 +08:00
winlin
2b2a62ccba Cover protocol stack RTMP. 0.6.63 2019-10-23 09:26:10 +08:00
winlin
f99ca04bd5 Cover JSON codec. 3.0.62 2019-10-23 08:59:30 +08:00
winlin
1b2449ca3f Cover JSON codec. 3.0.62 2019-10-23 08:47:02 +08:00
winlin
48970389ba Cover JSON codec. 3.0.62 2019-10-22 10:06:12 +08:00
winlin
e816ac28d2 Cover JSON codec. 3.0.62 2019-10-22 10:02:37 +08:00
winlin
1ebec34d5b Cover JSON codec. 3.0.62 2019-10-22 09:58:09 +08:00
winlin
e683f07715 Cover JSON codec. 3.0.62 2019-10-22 09:01:29 +08:00
winlin
c7602d8cee Cover JSON codec. 3.0.62 2019-10-22 08:54:29 +08:00
winlin
aee704fd1f Cover AMF0 codec. 3.0.61 2019-10-22 08:30:46 +08:00
winlin
0a9659b749 Cover AMF0 codec. 3.0.61 2019-10-21 09:29:42 +08:00
winlin
232024ef67 AMF0: Refine utest 2019-10-18 08:54:59 +08:00
winlin
9542cd2ba5 AMF0: Refine utest 2019-10-18 08:54:13 +08:00
winlin
026b2a2a1e Cover AMF0 codec. 3.0.61 2019-10-18 00:48:49 +00:00
winlin
da46091d3c Cover AMF0 codec. 3.0.61 2019-10-12 09:27:32 +08:00
winlin
99ca2b9567 Cover AMF0 codec. 3.0.61 2019-10-12 08:56:04 +08:00
winlin
ebe8fa44e5 Cover AMF0 codec. 3.0.61 2019-10-12 00:36:52 +00:00
winlin
9d1249e256 Cover AMF0 codec. 3.0.61 2019-10-12 00:32:25 +00:00
winlin
b2e4a5f834 Cover AMF0 codec. 3.0.61 2019-10-11 09:28:53 +08:00
winlin
f24d82fada Cover AMF0 codec. 3.0.61 2019-10-10 08:49:57 +08:00
winlin
e045b0a619 We prefer ipv4, only use ipv6 if ipv4 is disabled. 3.0.59 2019-10-07 10:34:55 +08:00
winlin
bb3e8a41d1 Cover all kernel flv. 2019-05-23 07:53:03 +08:00
winlin
32b53de46d Cover FLV decoder 2019-05-21 08:51:58 +08:00
winlin
8311f0dc5a Cover FLV decoder 2019-05-21 08:45:53 +08:00
winlin
ea9c4f89af Covert FLV Vod decoder. 2019-05-21 08:43:20 +08:00
winlin
3bd7978b59 Cover FLV decoder. 2019-05-21 08:31:00 +08:00
winlin
7aa5fbee85 Cover FLV transmux. 2019-05-21 08:20:04 +08:00
winlin
f760c04340 Cover FLV vod open 2019-05-20 09:00:16 +08:00
winlin
dd4ccfab79 Cover shared ptr message. 2019-05-20 08:45:42 +08:00
winlin
8b595c4cdf Cover more kernel time. 2019-05-15 08:57:46 +08:00