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

517 commits

Author SHA1 Message Date
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
winlin
f7994b85eb Cover more kernel codec. 2019-05-15 08:44:38 +08:00
winlin
77cc148608 Refine utest 2019-05-14 08:42:46 +08:00
winlin
58561b9f76 Refine utest 2019-05-14 08:40:22 +08:00
winlin
c10671cbb3 Cover all kernel file. 2019-05-14 08:24:43 +08:00
winlin
13c4498e11 Cover mp4 header. 2019-05-14 08:17:39 +08:00
winlin
1605000817 Covert Kernel File reader/writer. 3.0.52 2019-05-14 08:13:27 +08:00
winlin
a7e0d672a7 Cover kernel file writer. 2019-05-13 08:48:53 +08:00
winlin
6ac5b0a006 Cover tcp socket IO. 2019-05-13 08:08:41 +08:00
winlin
467d5e5f50 Fix build failed bug. 2019-05-09 08:51:14 +08:00
winlin
ccba55cdd8 Migrate is_never_timeout to utility. 2019-05-09 08:42:53 +08:00
winlin
1b37b90b8f Covert tcp read, write and readfully. 2019-05-09 08:38:54 +08:00
winlin
38a6f5e6cf Support TCP server utest. 2019-05-09 08:05:27 +08:00
winlin
9366161871 Refine utest for tcp connection. 2019-05-09 07:54:21 +08:00
winlin
1d3afa5ab9 Add utest for tcp server 2019-05-06 09:53:55 +08:00
winlin
8a94ac4b49 Upgrade http-parser to 2.9.2 2019-04-25 10:39:38 +08:00
winlin
0ee386b656 Refine http parser code. 2019-04-25 08:51:38 +08:00
winlin
cfc92d5e93 Use http-parser 2.9.2 2019-04-24 09:37:25 +08:00
winlin
394cdb5f04 Refine in time unit. 3.0.49 2019-04-22 08:12:17 +08:00
winlin
cfab73b552 Refine SrsWallClock and SrsKbps in time unit. 2019-04-19 08:39:38 +08:00
winlin
5a45fd98c3 Refine get_recv_timeout and is_never_timeout in time unit 2019-04-17 08:38:34 +08:00
winlin
d3dc45f357 Refine set_recv_timeout in time unit 2019-04-17 08:31:53 +08:00
winlin
38bbf6b111 Refine get_send_timeout in time unit 2019-04-17 08:23:15 +08:00
winlin
f4bee37e76 Refine set_send_timeout in time unit 2019-04-17 08:18:37 +08:00
winlin
138d1e3cad Refine get_vhost_http_remux_fast_cache in time unit 2019-04-16 08:50:48 +08:00
winlin
010e35bec2 Refine get_hds_fragment and get_hds_window in time unit 2019-04-16 08:24:11 +08:00
winlin
917f6d066d Refine get_hls_window in time unit 2019-04-16 08:20:32 +08:00
winlin
ca705a6f62 Refine get_hls_fragment in time unit 2019-04-16 08:14:12 +08:00
winlin
402e614471 Refine get_send_min_interval in time unit 2019-04-16 07:59:27 +08:00
winlin
c1b64ba24f Refine get_queue_length and set_queue_size in time unit 2019-04-16 07:55:19 +08:00
winlin
bc1189caee Refine SrsFragment.duration in time unit. 2019-04-12 08:04:06 +08:00
winlin
0879bef9b2 Refine SRS_CONSTS_NO_TMMS to SRS_UTIME_NO_TIMEOUT 2019-04-11 09:33:26 +08:00
winlin
6c12aa0eca Refine srs_update_system_time in time unit 2019-04-10 09:07:03 +08:00
winlin
9b7c0802a9 Refine srs_update_system_time in time unit 2019-04-10 08:32:46 +08:00
winlin
9b1222a79c Refine get_publish_normal_timeout in time unit 2019-04-10 07:58:39 +08:00
winlin
170872135d Refine get_publish_1stpkt_timeout in time unit 2019-04-10 07:53:09 +08:00
winlin
d6828a3e58 Refine get_mw_sleep in time unit 2019-04-09 09:39:16 +08:00
winlin
839a496d50 Refine get_mr_sleep in time unit 2019-04-09 09:20:44 +08:00
winlin
5df8f2f6c1 Refine get_pithy_print in time unit 2019-04-09 08:55:54 +08:00
winlin
60f9561d2d Refine get_heartbeat_interval in time unit 2019-04-09 08:47:18 +08:00
winlin
5937304717 Refine get_dash_timeshift in time unit 2019-04-08 09:20:02 +08:00
winlin
12cf17ef6b Refine get_dash_update_period in time unit 2019-04-08 09:10:06 +08:00
winlin
4302ab7708 Refine get_dash_fragment to time unit 2019-04-08 09:02:39 +08:00
winlin
bb6389143f Refine get_bw_check_interval in time unit 2019-04-08 08:46:22 +08:00
winlin
74c1944e15 Refine config, allow parse multiple times. 2019-04-08 08:31:58 +08:00
winlin
6239dfa489 Apply time unit 2019-04-07 16:25:52 +08:00
winlin
7037f6a197 Cover more ST Coroutine code 2019-04-07 15:22:09 +08:00
winlin
1ce040cc2c Cover more ST Coroutine code 2019-04-07 14:35:11 +08:00
winlin
3d5508e088 Cover more ST Coroutine code 2019-04-07 13:52:16 +08:00
winlin
a9a720e32f Cover ST Coroutine and time unit. 3.0.48 2019-04-07 12:59:37 +08:00
winlin
f2b4bc7110 Fix #1304, Fix ST coroutine pull error. 3.0.47 2019-04-06 16:10:33 +08:00
winlin
251f19718e CI: Cover kernel mp4 print box 2019-02-07 22:49:41 +08:00
winlin
f7b2ee4cc9 CI: Cover kernel utility 2019-02-07 20:58:33 +08:00
winlin
a8408de972 CI: Cover kernel mp4 2019-02-05 20:15:32 +08:00
winlin
a0ba17b397 CI: Cover kernel ts 2019-02-05 16:49:29 +08:00
winlin
36c41715e7 CI: Cover kernel ts 2019-02-05 09:57:06 +08:00
winlin
8eccfeceb9 CI: Cover kernel ts 2019-02-05 08:33:29 +08:00
winlin
3f59c7885e CI: Cover kernel ts 2019-02-04 16:12:37 +08:00
winlin
4187fa0068 CI: Cover kernel utility 2019-02-04 15:11:41 +08:00
winlin
572ce5ccff CI: Cover kernel mp3 2019-02-04 14:24:31 +08:00
winlin
39541b51a1 CI: Cover all kernel log 2019-02-04 13:41:09 +08:00
winlin
492db1a904 CI: Cover kernel flv 2019-02-04 13:15:11 +08:00
winlin
2fec88b769 CI: Fix kernel file case failed. 2019-02-04 12:54:31 +08:00
winlin
ec16e53802 CI: Cover kernel file 2019-02-04 12:48:56 +08:00
winlin
3064b941d5 CI: Cover kernel codec av frame and format 2019-02-04 12:05:07 +08:00
winlin
2bdba63b0b CI: Cover kernel codec 2019-02-03 22:21:52 +08:00
winlin
c2a938473a CI: Cover kernel codec 2019-02-03 22:03:15 +08:00
winlin
1df1d84766 CI: Cover kernel LB round robin 2019-02-03 21:23:06 +08:00
winlin
5b311a06b7 CI: Verify kernel aac write ADTS packet 2019-02-03 21:14:14 +08:00
winlin
917cb4a299 CI: Cover all kernel aac 2019-02-03 20:58:04 +08:00
winlin
2ae3440128 CI: Cover all kernel error 2019-02-03 12:56:29 +08:00
winlin
3cd3739433 CI: Cover all kernel error 2019-02-03 12:51:48 +08:00
winlin
8c9857ff6f CI: Remove macros for utest 2019-02-03 12:38:07 +08:00
winlin
bfeea72eac CI: Cover all kernel buffer 2019-02-03 12:28:18 +08:00
winlin
b2d1d84634 Change to 2019 2019-01-01 21:37:28 +08:00
winlin
66198b6f78 Add utest for RTMP protocol 2019-01-01 21:05:52 +08:00
winlin
a2d6566019 Add kernel utility utest 2019-01-01 20:19:44 +08:00
winlin
6e44aa4a4f Cover Kbps statistic 2019-01-01 18:22:11 +08:00
winlin
6e9c7dd11e Add utest for SrsKbps as RAW statistics 2019-01-01 17:44:39 +08:00
winlin
6234905532 Refactor ISrsKbpsDelta 2019-01-01 17:36:27 +08:00
winlin
aef838338c Add utest for kbps connections 2018-12-23 21:19:17 +08:00
winlin
c26b475bae Refine kbps, stub wall clock 2018-12-23 20:47:17 +08:00
winlin
4c40370986 Refine kbps more testable 2018-12-23 20:30:12 +08:00
winlin
16fa4c588a Rename ISrsProtocolReaderWriter to ISrsProtocolReadWriter 2018-12-23 20:08:04 +08:00
winlin
0bc7fdbb35 Always enable SRS_SSL 2018-12-22 20:03:40 +08:00
winlin
f1ab8fecac Fix build warning 2018-12-09 22:48:47 +08:00
winlin
572a2806c1 Refine utest 2018-12-09 20:36:31 +08:00
winlin
ba4ef34d27 Merge 2.0release 2018-11-27 21:24:51 +08:00
MakarovYaroslav
e62ac29f48 add ignoring _definst_ at the end of app (#1261) 2018-11-11 13:31:29 +08:00
MakarovYaroslav
a2480a6c94 fix bug with for loop (#1263) 2018-11-11 13:27:33 +08:00
winlin
928c6ab091 For #1181, Add utest 2018-08-11 13:16:59 +08:00
winlin
68a1656e07 Fix #1031, Always use vhost in stream query, the unify uri. 3.0.35 2018-08-02 09:17:49 +08:00
winlin
41c6e833b9 Replace hex to string to match MIT license. 3.0.33 2018-07-22 18:47:38 +08:00
winlin
84f81983aa Replace base64 to match MIT license. 3.0.32 2018-07-22 17:56:38 +08:00
winlin
0a63448b86 Replace crc32 MPEG and IEEE by pycrc to match MIT license. 3.0.31 2018-07-22 15:21:05 +08:00
winlin
e395878916 Replace crc32 IEEE by golang to match MIT license. 3.0.30 2018-07-21 20:58:20 +08:00
winlin
dea5e5bb48 Add utest or CRC32 IEEE, refine TABs of code 2018-07-21 19:09:32 +08:00
winlin
681138d2af Fix #1059, merge from 2.0, supports url with vhost in stream. 3.0.27 2018-02-13 08:52:57 +08:00
winlin
1721e4ea4b Fix #1059, support vhost in stream parameters. 2.0.246 2018-02-13 08:31:25 +08:00
winlin
ca1395a807 Change date from 2017 to 2018 2018-01-07 10:58:53 +08:00
winlin
db08f1586c For #913, APP support complex error. 2018-01-01 22:32:54 +08:00
winlin
fd91df9411 For #913, reload use complex error 2017-09-22 16:14:30 +08:00
winlin
661eb8b37c For #913, use complex error for reload utc time 2017-07-29 20:02:38 +08:00
winlin
e135ab59d9 Fix the utest failed for chunk_size 2017-06-28 09:44:10 +08:00
winlin
b5c14938d9 For #913, config and log support complex error. 2017-06-11 14:03:19 +08:00
winlin
7d618fed43 For #820, fix utest failed. 2017-03-26 14:25:08 +08:00
winlin
ff822b55cd For #820, extract service module. 2017-03-26 10:16:21 +08:00
winlin
0a57a46016 Refine LICENSE 2017-03-25 21:29:29 +08:00