1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-13 11:51:57 +00:00
Commit graph

1668 commits

Author SHA1 Message Date
winlin
d80b580c2f refine librtmp, remove the _get_ for some attribute get. 2014-11-21 16:08:29 +08:00
winlin
bb7a19636a fix the bandwidth file name bug. 2014-11-21 14:30:01 +08:00
winlin
2a9bec3d89 adjust the api, move audio and h264 after rtmp 2014-11-21 14:26:47 +08:00
winlin
aa69f6197a srs-librtmp add rtmp prefix for rtmp apis. 2.0.29 2014-11-21 14:18:50 +08:00
winlin
180106ce70 refine librtmp, move the utils and human to end section. 2014-11-21 14:11:53 +08:00
winlin
10bc5399ec refine librtmp api, add prefix utils for utilities. 2014-11-21 14:09:17 +08:00
winlin
b3bb2cdf2b refine code, rename the human functions to prefixed with srs_human_ 2014-11-21 14:03:30 +08:00
winlin
30e7c38a48 refine code, add human readable section 2014-11-21 13:56:09 +08:00
winlin
d9474d7600 refine examples of srs-librtmp, add srs_print_rtmp_packet. 2.0.28. 2014-11-21 13:48:57 +08:00
winlin
a058eeeb20 fix #212, support publish audio raw frames. 2.0.27 2014-11-20 13:36:14 +08:00
winlin
d6072b16c0 support compile srs-librtmp on windows. 2.0.26 2014-11-19 16:16:04 +08:00
winlin
5f48d4f566 refine comments for SrsMessageArray. 2.0.25 2014-11-19 10:44:50 +08:00
winlin
df35f75df1 refine response call, 2.0.24 2014-11-18 17:55:38 +08:00
winlin
749fac414b refine code, donot response call when transaction id is zero. 2014-11-18 17:30:40 +08:00
winlin
c1e9aed0ac all wiki translated to English. 1.0.7 2014-11-18 13:41:36 +08:00
winlin
fbcb63f775 v2.0, 2014-11-18, all wiki translated to English. 2.0.23. 2014-11-18 13:40:58 +08:00
winlin
9f60a6738a add comments for listen 2014-11-17 10:27:05 +08:00
winlin
0c39a704c2 update build srs librtmp single 2014-11-16 11:29:50 +08:00
winlin
2c601a0069 fix #204, srs-librtmp drop dupliated sps/pps(sequence header). 2.0.22. 2014-11-15 16:53:24 +08:00
winlin
b4269c8d67 refine name of srslibrtmp, raw_stream to h264_raw_stream 2014-11-15 16:31:42 +08:00
winlin
278ff845d3 fix #203, srs-librtmp drop any video before sps/pps(sequence header). 2.0.21. 2014-11-15 16:30:37 +08:00
winlin
ecfbcd68d8 refine srslibrtmp, rename flv_bool to srs_flv_bool 2014-11-15 16:07:33 +08:00
winlin
3292136f70 update research, flv ingester, support atc time flv. 2014-11-15 15:27:19 +08:00
winlin
30d48905b3 refine git sync script, checkout master 2014-11-15 14:34:23 +08:00
winlin
bb5e99f562 fix #202, fix memory leak of h.264 raw packet send in srs-librtmp. 2.0.20. 2014-11-15 14:29:25 +08:00
winlin
7ebca6cb5b refine the type of RTMP from int to char. add srs_parse_timestamp(), 2.0.19 2014-11-15 13:20:58 +08:00
winlin
47ed9e33dd refine code for bug #194, use send messages for all msg array. 2014-11-14 11:24:49 +08:00
winlin
f11272e3ce add comments for bug #194, #196 2014-11-13 17:29:56 +08:00
winlin
38a683192a fix typo 2014-11-13 17:04:13 +08:00
winlin
f2f02b06d5 for bug #194, refine code, to 2.0.17 2014-11-13 16:56:59 +08:00
winlin
8845bb7caf for bug #194, refine code, remove the old duplicated code. 2014-11-13 16:56:41 +08:00
winlin
eba1740ed5 hotfix #200, deadloop when read/write 0 and ETIME. 1.0.6. 2014-11-13 14:48:21 +08:00
winlin
62719c2b12 for bug #200, fix the writev for librtmp, add comments. 2014-11-13 14:38:23 +08:00
winlin
0bc35e093c for bug #200, deadloop when read/write 0 and ETIME. 2.0.16. 2014-11-13 14:30:56 +08:00
winlin
77cf885d8c add comments for #161 2014-11-13 13:49:50 +08:00
winlin
4af2e78c59 refine code for bug #194, add comments to macros. 2014-11-13 12:45:54 +08:00
winlin
cc6aca9ad5 fix #194, writev multiple msgs, support 6k+ 250kbps clients. 2.0.15. 2014-11-13 12:25:56 +08:00
winlin
7cf855f242 for bug #199, refine the header generate 2014-11-12 18:41:24 +08:00
winlin
953159258c refine code, rename the c0c3 header cache and iov cache. 2014-11-12 18:19:09 +08:00
winlin
ab93506b01 for bug #199, refine the api of send message. 2014-11-12 17:59:32 +08:00
winlin
55580ca900 add comments about bug #197 2014-11-12 13:47:04 +08:00
winlin
d257360e96 add comments about bug #196 2014-11-12 13:46:21 +08:00
winlin
8acd143a7a fix #194: refine the timeout recv, pulse to 500ms. 2.0.14. 2014-11-12 12:59:53 +08:00
winlin
a6f3478a74 for bug #194, remove the poll, it's no-use 2014-11-12 10:26:48 +08:00
winlin
bc1b5f4bbf for bug #194, disable the srs fd poll. 2014-11-12 10:05:42 +08:00
winlin
4f21e92ae0 fix the message of config for max_connections. 2014-11-11 18:49:27 +08:00
winlin
21f16f3a83 for bug #194, use play fd poll to improve performance, it works. 2014-11-11 18:46:35 +08:00
winlin
164f632b62 for bug #194, add fds poll, just sleep to send without recv. 2014-11-11 18:35:46 +08:00
winlin
133cc62b51 for bug #194, use play fd poll, create the singleton poll 2014-11-11 17:54:02 +08:00
winlin
efc85ed6df refine config, check the connections more precise 2014-11-11 17:19:56 +08:00
winlin
de5e2d0a40 Revert "Revert "for bug #194, refine the config""
This reverts commit b4c1d55311.
2014-11-11 17:12:45 +08:00
winlin
b4c1d55311 Revert "for bug #194, refine the config"
This reverts commit 2a55ae4317.
2014-11-11 17:05:36 +08:00
winlin
e87eacd499 Revert "add srs pipe for bug #194"
This reverts commit f9756ea14c.
2014-11-11 17:05:25 +08:00
winlin
73abb1a31d Revert "for bug #194, add pipe to consumer."
This reverts commit 1e601a6efc.
2014-11-11 17:04:56 +08:00
winlin
306f75b267 Revert "for bug#194, open pipe for each connection."
This reverts commit ade81bb244.
2014-11-11 17:04:32 +08:00
winlin
bf5206d049 Revert "Revert "add test file to show the max open files.""
This reverts commit ea70f29648.
2014-11-11 17:02:16 +08:00
winlin
ea70f29648 Revert "add test file to show the max open files."
This reverts commit c8673cd50e.
2014-11-11 16:55:46 +08:00
winlin
ade81bb244 for bug#194, open pipe for each connection. 2014-11-11 16:41:39 +08:00
winlin
1e601a6efc for bug #194, add pipe to consumer. 2014-11-11 16:27:35 +08:00
winlin
f9756ea14c add srs pipe for bug #194 2014-11-11 16:09:44 +08:00
winlin
2a55ae4317 for bug #194, refine the config 2014-11-11 15:38:21 +08:00
winlin
c8673cd50e add test file to show the max open files. 2014-11-11 15:02:58 +08:00
winlin
36d12dd8ea for bug #194, change server main cycle to 1s. 2014-11-11 14:41:48 +08:00
winlin
8cc9a11b81 for bug #194, set the server main cycle to 1s 2014-11-11 14:38:54 +08:00
winlin
2adf2550dc refine the depends to make st script 2014-11-11 13:42:06 +08:00
winlin
46330dd196 fix #195: remove the confuse code st_usleep(0). 2.0.13. 2014-11-11 13:40:09 +08:00
winlin
8ab6b57612 research st, the timeout and coroutine scheduler. 2014-11-11 12:58:25 +08:00
winlin
be46e428ad research st, for bug #193, remove the code with bug, exit when fork. 2014-11-11 11:25:52 +08:00
winlin
f4dfee0e9f research st, add comments for bug #193. 2014-11-11 11:24:19 +08:00
winlin
cd09fcaf55 research st, remove all events except epoll. 2014-11-11 11:15:58 +08:00
winlin
91f6dbe479 research st, add test for setjmp and longjmp. 2014-11-10 16:50:36 +08:00
winlin
4d4e840209 research st, add jmp_flow. 2014-11-10 15:22:30 +08:00
winlin
683b01a6c9 research st, add comments about the thread cycle 2014-11-10 14:54:52 +08:00
winlin
8327a57b7e never use stack variable for setjmp 2014-11-10 14:02:49 +08:00
winlin
2c01f7e943 research st, expand MD_INIT_CONTEXT macro, the thread start. 2014-11-10 13:52:17 +08:00
winlin
8da8c49f39 research st, add comments 2014-11-10 11:49:14 +08:00
winlin
2b70212649 research st, add stack struct comments. 2014-11-10 11:47:24 +08:00
winlin
6bde1e54dc research st, add stack alloc commnets. 2014-11-10 11:10:27 +08:00
winlin
e49a868308 research st, rename variable thread to trd, for thread is a keyword. 2014-11-10 11:06:06 +08:00
winlin
ac1a4ec0a3 research st, always alloc on stack. 2014-11-10 10:21:05 +08:00
winlin
ae8b3e3c00 research st, remove the support of MD_STACK_GROWS_UP 2014-11-09 12:05:59 +08:00
winlin
340464ed56 research st, remove __ia64__ cpu support 2014-11-09 12:04:56 +08:00
winlin
a27c3dca2d research st, add gdb info for setjmp. 2014-11-09 11:56:14 +08:00
winlin
4b24ee9db3 research st, only for linux and arm/mips/i386/x86_64 cpus. 2014-11-09 11:46:32 +08:00
winlin
cc811dfc90 refine script for generate script 2014-11-08 20:14:20 +08:00
winlin
6968aef66a update readme for srs-librtmp 2014-11-08 20:06:31 +08:00
winlin
a827766cd6 for #191, support exported to project or file. 2014-11-08 18:43:58 +08:00
winlin
606fc13a03 rename the confict macro to srs_lib_trace 2014-11-08 18:37:15 +08:00
winlin
3405f35d06 fix #191: configure --export-librtmp-project and --export-librtmp-single. 2.0.11. 2014-11-08 18:33:15 +08:00
winlin
e62c3a4e0e for bug #66, clear the sps and pps. 2014-11-08 16:59:42 +08:00
winlin
926650840e fix #191, configure --export-librtmp. 2.0.10. 2014-11-08 16:45:50 +08:00
winlin
eb88ebfb39 use relative objs dir for makefile. for bug #191 2014-11-08 16:07:31 +08:00
winlin
d4d3d46317 implements export srslibrtmp. for bug #191 2014-11-08 15:31:21 +08:00
winlin
5554922820 refine librtmp tools, use srs_trace macro instead printf. 2014-11-08 14:06:40 +08:00
winlin
cf5c24af4a refine librtmp, unify all tools format and usage. 2014-11-08 14:00:59 +08:00
winlin
6de83db76e refine srs-librtmp log macro 2014-11-08 13:41:47 +08:00
winlin
f92303c764 refine all research tools, remove the public header, add log to srs_librtmp.h 2014-11-08 13:35:38 +08:00
winlin
7ba07c6f49 refine librtmp, add example to api. 2014-11-08 13:16:56 +08:00
winlin
106bef802f fix #66, srs-librtmp support write h264 raw packet. 2.0.9. 2014-11-08 12:36:00 +08:00
winlin
3358570be6 refine for bug#66, implements the usage. 2014-11-08 10:44:00 +08:00
winlin
0075779d38 for bug #66, refine the api to send h264 frames. 2014-11-08 10:28:59 +08:00
winlin
cd5c58ba5f for bug #66, refine the api and demo. 2014-11-08 09:21:09 +08:00
winlin
1074c8d9b2 for bug #66, use new api to directly sendout h264 raw data. 2014-11-08 09:12:52 +08:00
winlin
496f4246f4 complete the h264 to rtmp, but the sps and pps should send in a rtmp packet. for bug #66 2014-11-07 23:55:00 +08:00
winlin
6407baffd5 for bug #66, output the h264 frame type. 2014-11-07 23:19:31 +08:00
winlin
72ad6894ca move the annexb decode utility to protocol. 2014-11-07 23:07:31 +08:00
winlin
bd25626f0e refine code for bug #66 2014-11-07 22:36:25 +08:00
winlin
955859ce82 refine librtmp, add pefix to srs_amf0_number and srs_amf0_bool 2014-11-07 22:15:56 +08:00
winlin
1c237a821a add api convert h264 to rtmp packet, for bug #66 2014-11-07 22:06:30 +08:00
winlin
e4af098d06 refine code for bug #66 2014-11-07 21:16:41 +08:00
winlin
b964a6c534 update for bug #66, add the srs-librtmp sample for publish h.264 raw stream. 2014-11-07 21:06:44 +08:00
winlin
1db69b153e update the research of arm 2014-11-07 16:47:49 +08:00
winlin
0f41e0d26f research st: only support linux 2014-11-06 15:45:31 +08:00
winlin
d67454ecc2 research st: only support linux 2014-11-06 15:43:28 +08:00
winlin
5fd308c64e update code, warning when compile dev branch. 2014-11-06 15:18:10 +08:00
winlin
f2f259d050 use number for macro VERSION_MAJOR, VERSION_MINOR and VERSION_REVISION. 1.0.5. 2014-11-06 14:28:03 +08:00
winlin
fa53250202 refine the macro, use int as version type. 2.0.8 2014-11-06 14:23:08 +08:00
winlin
8521762cb3 research st: refine sync. 2014-11-06 14:00:27 +08:00
winlin
3377df0bea research st: refine skt. 2014-11-06 13:55:06 +08:00
winlin
22710db911 research st: refine sched. 2014-11-06 13:52:15 +08:00
winlin
f5f8e8946f research st: refine event, io and key. 2014-11-06 13:40:24 +08:00
winlin
c38a545780 reserach st: refine key.c 2014-11-06 13:17:54 +08:00
winlin
fd0c85b324 research st: refine io. 2014-11-06 13:11:34 +08:00
winlin
f8f18fffa7 research st: update test for st. 2014-11-06 12:50:27 +08:00
winlin
0f293802c8 research st: refine the md.h 2014-11-05 17:42:57 +08:00
winlin
856ba07bd3 research st: update public and common. 2014-11-05 17:22:36 +08:00
winlin
315707d726 research st: refine public 2014-11-05 17:16:15 +08:00
winlin
bba2d3dd98 research st: replace the TAB with 4spaces 2014-11-05 17:12:56 +08:00
winlin
55bd1dd95e research st: replace the TAB with 4spaces 2014-11-05 17:10:54 +08:00
winlin
0faa38dc0c research st: remove the osguess.sh 2014-11-05 17:06:18 +08:00
winlin
2dc6b7d1ea add io for st research 2014-11-05 17:01:15 +08:00
winlin
9d7e6b9bb2 update mirror utils 2014-10-27 12:56:04 +08:00
winlin
60ab365660 update mirror, use utils functions. 2014-10-27 12:03:56 +08:00
winlin
2175102ea2 remove the sync script for mirror, which maybe updated. 2014-10-27 11:41:28 +08:00
winlin
e104a18763 update sync script on master 2014-10-27 11:40:59 +08:00
winlin
b8db8b0fa4 add oschina mirror 2014-10-27 11:32:34 +08:00
winlin
511c814ffb refs #182: rename to sync test. 2014-10-26 16:38:00 +08:00
winlin
69fdec411f refs #182: rename to sync test. 2014-10-26 16:35:12 +08:00
winlin
9aba47cbe3 refs #182: research st, add multiple threadds. 2014-10-26 14:04:31 +08:00
winlin
79ab9f05f3 refs #182: update the st, use cond and mutex. 2014-10-26 13:55:37 +08:00
winlin
388305f44c update st research. 2014-10-26 13:43:11 +08:00
winlin
fb906f0afc revert the player for bug #185. 2014-10-25 17:15:33 +08:00
winlin
6a3418cd45 fix #185, AMF0 support 0x0B the date type codec. 2.0.5. 2014-10-25 17:12:56 +08:00
winlin
05cce97140 for bug #186, read the args when discovery it. 2.0.6 2014-10-24 13:23:52 +08:00
winlin
3c31e6db05 for bug #186, read the args when discovery it. 1.0.4 2014-10-24 13:22:35 +08:00
winlin
e3e18b9915 for bug #186, read the args when discovery it. 1.0.4 2014-10-24 13:17:11 +08:00
winlin
7d70864b33 for bug #186, read the args when discovery it. 2.0.6 2014-10-24 13:16:08 +08:00
winlin
59f68a2655 add prefix wiki/v1_CN_ or wiki/v1_EN_ to wiki. 2014-10-24 11:35:06 +08:00
winlin
fe59783d83 add prefix wiki/v1_CN_ or wiki/v1_EN_ to wiki. 2014-10-24 11:28:50 +08:00
winlin
b65dfd718a add comments for the RTMP packet fields, NULL or never NULL. 2.0.5 2014-10-24 10:58:06 +08:00