Commit Graph

1507 Commits (6776065b042467b59f18a2cd86f044f5c8687e10)

Author SHA1 Message Date
winlin 9387d09f5f refine the macros for windows of srs-librtmp
winlin 15ae4745f4 add macro to disable log.
winlin 07d55010fe remove the free bytes api of srs-librtmp. use system default is ok.
winlin f6032ffe6b always use system log and context. allow hijack the human print macro.
winlin 3584bdb7b6 srs-librtmp support hijack io apis for st-load. 2.0.42.
winlin 29c6014192 refs : fix the bug for bug , use us and ms timeout.
winlin af83e18d7e update the README for 1.5k publishers. 2.0.41
winlin 472b1742a2 for bug , use isolate thread to recv message. 2.0.41
winlin 0e7836868c for bug , refine the queue recv thread.
winlin 0b631ee80d for bug , pass timeout to recv thread.
winlin 31eb9bf1c1 for bug , extract a queue recv thread.
winlin 22524f390a rename the recv thread to queue recv thread for bug .
winlin 1847c5fef7 ignore the actual length of share key. 2.0.40
winlin d171a26758 disable gop cache when not h.264. fix some warning.
winlin c5dd334645 fix the warning of ts_info
winlin 47b4b694be add qtcreate project file trunk/src/qt/srs/srs-qt.pro. 2.0.39.
winlin 3e521d317d update upp dir to srs.
winlin b4057916b6 add qt project file. fix cmake file for clion.
winlin efb73c5487 fix , refine handshake, replace union with template method. 2.0.38.
winlin abb0fce3d8 fix bug for utest of message array, it does not free messages now.
winlin 23f4aa5737 for bug , fix bug of utest.
winlin e167c97786 for bug , fix the return code bug.
winlin 818000dd18 for bug , use constructor and destructor for block and digest.
winlin b32d3fb6aa remove the read and write with SrsStream.
winlin 6d49cddc9d for bug , refine code order of c1s1 and c2s2
winlin 646d6f6673 for bug , refine schema0 and schema1, extract dup code.
winlin 4b9875e279 for bug , use strategy to implements the schema0 and schema1.
winlin 5d883e2e29 for bug , move functions of block and digest to struct.
winlin ff5cdb1cc1 for bug , add srs_rtmp_dump tool. 2.0.37.
winlin 7f121efd7a merge from allspace srs-librtmp for win vs2010. 2.0.36
winlin 14fca601f9 merge from 1.0 hotfix. 3.0.35
winlin 03f72fb1a6 for bug , revert changes of allspace, for srs-librtmp branch build failed. 2.0.34
winlin eb4e7aad69 try to build srs-librtmp on vs2010, failed.
winlin 904a06cadf Merge branch '1.0release'
winlin 4c0c3a9ada refine merged code for allspace.
winlin 468941833c change srs version to 2.0.33
winlin 18c308248e refine code by winlin, for merged from allspace.
winlin 1855c9429c merge from allspace, to srs-librtmp, for vs2010
winlin e7ccbce472 update PRIMARY, AUTHORS, CONTRIBUTORS rule. 2.0.32.
winlin e492fa5353 fix , support publish aac adts raw stream. 2.0.31.
winlin 3d97048c3a fix bug , add reuse conn to play different player.
winlin 3e81e6e0f1 refine code for bug , use recv thread to set the timeout.
winlin 58136ec178 fix , remove timeout recv, support 7.5k+ 250kbps clients. 2.0.30.
winlin 622218c4dd for bug , use isolate thread to improve 17% performance.
winlin d3c770d252 refine librtmp, add audio video detail.
winlin d80b580c2f refine librtmp, remove the _get_ for some attribute get.
winlin bb7a19636a fix the bandwidth file name bug.
winlin 2a9bec3d89 adjust the api, move audio and h264 after rtmp
winlin aa69f6197a srs-librtmp add rtmp prefix for rtmp apis. 2.0.29
winlin 180106ce70 refine librtmp, move the utils and human to end section.
winlin 10bc5399ec refine librtmp api, add prefix utils for utilities.
winlin b3bb2cdf2b refine code, rename the human functions to prefixed with srs_human_
winlin 30e7c38a48 refine code, add human readable section
winlin d9474d7600 refine examples of srs-librtmp, add srs_print_rtmp_packet. 2.0.28.
winlin a058eeeb20 fix , support publish audio raw frames. 2.0.27
winlin d6072b16c0 support compile srs-librtmp on windows. 2.0.26
winlin 5f48d4f566 refine comments for SrsMessageArray. 2.0.25
winlin df35f75df1 refine response call, 2.0.24
winlin 749fac414b refine code, donot response call when transaction id is zero.
winlin fbcb63f775 v2.0, 2014-11-18, all wiki translated to English. 2.0.23.
winlin 9f60a6738a add comments for listen
winlin 2c601a0069 fix , srs-librtmp drop dupliated sps/pps(sequence header). 2.0.22.
winlin b4269c8d67 refine name of srslibrtmp, raw_stream to h264_raw_stream
winlin 278ff845d3 fix , srs-librtmp drop any video before sps/pps(sequence header). 2.0.21.
winlin ecfbcd68d8 refine srslibrtmp, rename flv_bool to srs_flv_bool
winlin 3292136f70 update research, flv ingester, support atc time flv.
winlin bb5e99f562 fix , fix memory leak of h.264 raw packet send in srs-librtmp. 2.0.20.
winlin 7ebca6cb5b refine the type of RTMP from int to char. add srs_parse_timestamp(), 2.0.19
winlin 47ed9e33dd refine code for bug , use send messages for all msg array.
winlin f11272e3ce add comments for bug ,
winlin 38a683192a fix typo
winlin f2f02b06d5 for bug , refine code, to 2.0.17
winlin 8845bb7caf for bug , refine code, remove the old duplicated code.
winlin 62719c2b12 for bug , fix the writev for librtmp, add comments.
winlin 0bc35e093c for bug , deadloop when read/write 0 and ETIME. 2.0.16.
winlin 77cf885d8c add comments for
winlin 4af2e78c59 refine code for bug , add comments to macros.
winlin cc6aca9ad5 fix , writev multiple msgs, support 6k+ 250kbps clients. 2.0.15.
winlin 7cf855f242 for bug , refine the header generate
winlin 953159258c refine code, rename the c0c3 header cache and iov cache.
winlin ab93506b01 for bug , refine the api of send message.
winlin d257360e96 add comments about bug
winlin 8acd143a7a fix : refine the timeout recv, pulse to 500ms. 2.0.14.
winlin a6f3478a74 for bug , remove the poll, it's no-use
winlin bc1b5f4bbf for bug , disable the srs fd poll.
winlin 4f21e92ae0 fix the message of config for max_connections.
winlin 21f16f3a83 for bug , use play fd poll to improve performance, it works.
winlin 164f632b62 for bug , add fds poll, just sleep to send without recv.
winlin 133cc62b51 for bug , use play fd poll, create the singleton poll
winlin efc85ed6df refine config, check the connections more precise
winlin de5e2d0a40 Revert "Revert "for bug , refine the config""
This reverts commit b4c1d55311.
winlin b4c1d55311 Revert "for bug , refine the config"
This reverts commit 2a55ae4317.
winlin e87eacd499 Revert "add srs pipe for bug #194"
This reverts commit f9756ea14c.
winlin 73abb1a31d Revert "for bug , add pipe to consumer."
This reverts commit 1e601a6efc.
winlin 306f75b267 Revert "for bug#194, open pipe for each connection."
This reverts commit ade81bb244.
winlin ade81bb244 for bug#194, open pipe for each connection.
winlin 1e601a6efc for bug , add pipe to consumer.
winlin f9756ea14c add srs pipe for bug
winlin 2a55ae4317 for bug , refine the config
winlin 36d12dd8ea for bug , change server main cycle to 1s.
winlin 8cc9a11b81 for bug , set the server main cycle to 1s
winlin 46330dd196 fix : remove the confuse code st_usleep(0). 2.0.13.
winlin 606fc13a03 rename the confict macro to srs_lib_trace
winlin 3405f35d06 fix : configure --export-librtmp-project and --export-librtmp-single. 2.0.11.
winlin e62c3a4e0e for bug , clear the sps and pps.
winlin 926650840e fix , configure --export-librtmp. 2.0.10.
winlin cf5c24af4a refine librtmp, unify all tools format and usage.
winlin 6de83db76e refine srs-librtmp log macro
winlin f92303c764 refine all research tools, remove the public header, add log to srs_librtmp.h
winlin 7ba07c6f49 refine librtmp, add example to api.
winlin 106bef802f fix , srs-librtmp support write h264 raw packet. 2.0.9.
winlin 3358570be6 refine for bug#66, implements the usage.
winlin 0075779d38 for bug , refine the api to send h264 frames.
winlin cd5c58ba5f for bug , refine the api and demo.
winlin 1074c8d9b2 for bug , use new api to directly sendout h264 raw data.
winlin 496f4246f4 complete the h264 to rtmp, but the sps and pps should send in a rtmp packet. for bug
winlin 72ad6894ca move the annexb decode utility to protocol.
winlin bd25626f0e refine code for bug
winlin 955859ce82 refine librtmp, add pefix to srs_amf0_number and srs_amf0_bool
winlin 1c237a821a add api convert h264 to rtmp packet, for bug
winlin b964a6c534 update for bug , add the srs-librtmp sample for publish h.264 raw stream.
winlin 5fd308c64e update code, warning when compile dev branch.
winlin fa53250202 refine the macro, use int as version type. 2.0.8
winlin 6a3418cd45 fix , AMF0 support 0x0B the date type codec. 2.0.5.
winlin 05cce97140 for bug , read the args when discovery it. 2.0.6
winlin 7d70864b33 for bug , read the args when discovery it. 2.0.6
winlin 59f68a2655 add prefix wiki/v1_CN_ or wiki/v1_EN_ to wiki.
winlin b65dfd718a add comments for the RTMP packet fields, NULL or never NULL. 2.0.5
winlin 1bfc238fec hotfix for bug , drop connect args when not object. 2.0.4.
winlin a169262099 update readme, rename wiki/xxx to wiki/v1_xxx
winlin e46e7fc596 update readme, rename wiki/xxx to wiki/v1_xxx
winlin 57e8356221 fix , support AnnexB in RTMP body for HLS. 2.0.2
winlin d24e2fd0cc remove supports for OSX. 2.0.1.
winlin 5f29935623 update master to 2.0, because the 1.0release branch is created. 2.0.0
winlin 967de9d2e7 for bug : postpone the http server bug to 2.0+
winlin 67188dcee7 remove the test code of main.
winlin 2048fbf731 refine code, add bug for big chunk size.
winlin f3002144fc fix : crash for multiple edge publishing the same stream. 0.9.220.
winlin bc6616bd1f refine code according to inspect of clion. 0.9.219
winlin e0b1e044de add stub code for bug , check complex handshake.
winlin 63c9ad272c fix the bug by refine code, rename the get_perfer_cid to get_prefer_cid. 0.9.217
winlin 624ab86fa2 fix the bug by refine code, rename the get_perfer_cid to get_prefer_cid.
winlin bcd1b3d2d4 refine code, remove unused code of dvr.
winlin 20ebf68ea5 fix hls bug, refine config and log, according to clion of jetbrains. 0.9.216.
winlin 002facb85b refine code, fix bug of hls, following jetbrains clion code-inspector. 0.9.215
winlin 4a323e64c4 add openssl for cmake.
winlin 2d7f5ddcbf add cmakelists.txt for cmake for clion of jetbrains. 0.9.214
winlin 83f266b9e2 fix , dvr segment add config dvr_wait_keyframe. 0.9.213.
winlin 87aac3ddd4 refine log, add features for macro. 0.9.212
winlin 1d454cd5fb add bug for http-mp4.
winlin 9dd0939327 fix the bug for gmc. 0.9.211
winlin 61728118ab donot destroy the source and connections of gmc.
winlin 79938f3214 add comments for gmc.
zhengfl c2ac11201b amendment srs_verbose info in the get_peer_ip
winlin 901c9590e4 refine log, log important to file. 1.0.210
winlin 728b749384 fix , add openssl includes to utest. 0.9.209.
winlin 53011808fb add sysctl vm.max_map_count for mmap.
winlin d0c585af86 max connections is 32756, for st use mmap default. 0.9.209
winlin 839101a036 reorder the config functions. add comments for st to support 100k threads, use MALLOC_STACK macro.
winlin 42a43c69cd fix , forward should forward the sequence header when retry. 0.9.208.
winlin 9b6187c3d5 fix , refine dh wrapper, ensure public key is 128bytes. 0.9.207.
winlin cb311d998e fix , refine dh wrapper, ensure public key is 128bytes. 0.9.206.
winlin 01ae8c4787 refine the handshake random data, fill with value in [0x0f, 0xf0], 0.9.205
winlin 4d5414faec update log, add dsu(debug_srs_upnode), 0.9.204
winlin f549f88ed8 for bug , add conf and connections limit. 0.9.203
winlin e656a65b6c for bug , add conf and connections limit.
winlin ab965655aa refine forwarder, add tracable debug info. 0.9.202
winlin e9e0cd757c fix , support forward/edge to flussonic, disable debug_srs_upnode to make flussonic happy. 0.9.201.
winlin c24e68dd70 refine the stat, use one ok. 1.0.200
winlin 6103b1c3ce refine options, add --with-stat. 0.9.199
winlin 3111870316 for bug , refine for osx, with ssl/http, disable statistics. 0.9.198.
winlin 5e4dad210a build openssl for osx, for bug .
winlin cf7504826b fix reload ingest bug, remove when disabled. 0.9.196
winlin 08bc34e0df refine wiki, cluster to forward.
winlin b15ee26a48 fix the ssl dh key size assert error, key size maybe 127, not always 128. 0.9.195
winlin 67ab0fb5e0 add comments for openssl key generator assert.
winlin aefcaa9683 refine code, add install root message
winlin b317abbaee refine openssl, add compute_key, for bug
winlin d4c2aa1e8e add __openssl_compute_key to calc the shared key
winlin 7adbe7f456 fix utest build failed, sync with src changed.
winlin ad2c996bd8 refine HMAC sha256 digest algorithm. 0.9.193
winlin 12ad95a5b8 refine HMAC sha256 digest algorithm. 0.9.193
winlin 156a9ed2a3 change to 0.9.192.
winlin 1ebaab2c6e fix , simplify the RTMP handshake key generation. 0.9.191.
winlin a9d28122f4 refine code, refine the handshake, refine the log of source_id
winlin 5b28355a0b fix , support identify the srs edge. 0.9.190.
winlin 3532b61e3d open all utest macro
winlin 798f9139a4 add reload utest.
winlin 33bc8755ab refine code, add comments for ossrs.net monitor.
winlin 67403bdbf1 fix , fix the reload remove edge assert bug. 0.9.189.
winlin ade2376da0 fix , use lock(acquire/release publish) to avoid duplicated publishing. 0.9.188.
winlin 6dd065bcc3 fix , fix the segment-dvr sequence header missing. 0.9.187.
winlin 5a95d594e7 fix , refine ffmpeg log, check abitrate for libaacplus. 0.9.186.
winlin d5ba529d32 fix , fix retrieve sys stat bug for all linux. 0.9.185.
winlin 7b24788445 for bug , build on centos5.
winlin 84450e1588 fix , fix http hooks bug, regression bug. 0.9.184.
winlin 721acc350a fix , tcp stat slow bug, use /proc/net/sockstat instead, refer to 'ss -s'. 0.9.183.
winlin d5f03200a7 revert tcp stat. need more refine. 0.9.182
winlin f7fdbe6848 update get connections thread to sleep 10ms per 1000 connectios. 0.9.181
winlin 15d4993cc3 slowdown the cpu usage for srs to calc connections when too many connections. 0.9.180
winlin 6539ce69f4 fix , support tun0(vpn network device) ip retrieve. 0.9.179.
winlin f0ffdcc0ae fix , support tun0(vpn network device) ip retrieve. 0.9.179.
winlin 79c641e8d6 remove flashP2P hss dvr, for it's a can-not-run feature. 0.9.178
winlin 792a6f944f refine utility of cpu, add comment for cpu percent
winlin c16d3585a5 refine utility of cpu, add comment for cpu percent
winlin e37f312f27 refine the code for ios build. add authors StevenLiu. 0.9.177
winlin b198d17ab9 Merge pull request from T-bagwell/master
Support porting srs on MacOS OSX system Platform
Steven Liu b50ecd6dbe Support porting srs on MacOS OSX system Platform
Add the OSX platform cross complie options into srs
winlin 9c11001391 refine log for stats network and disk
winlin 6f700f3f40 rename network_device_index to network
winlin f4ea48adcb rename network_device_index to network
winlin b8ae5c63fc add disk io test command
winlin 42464cbe1f add disk io test command
winlin 4f4b15f500 refine the disk iops stat, get cpu info.
winlin ef7a02e643 refine the disk io busy, can >1
winlin df8414af63 api connections add udp, add disk iops. 0.9.176
winlin b334021836 add config item for the stat disk device name
winlin 7c1dd97513 refine system stat, use fgets and sscanf.
winlin a7a009212b refine the cpu stat, use fgets and sscanf.
winlin f53bfcea54 add udp stat to nb_conn_sys as nb_conn_sys_udp
winlin e5e0c4a68d refine the utest, add stats
winlin e76036f40b refine config heartbeat, add new stats. 0.9.175
winlin 02f7c85710 add total system in and out KBps disk stat. 0.9.174
winlin d2f125b6d6 refine the cpu usage calc, add total_delta.
winlin d0bc0884d1 refine rtmp client, add comments for the dumps_packets()
winlin a645b403c8 add comments for utility, the USER_HZ for /proc/stat
winlin 6d9d9ee3c5 updte forwarder comments
winlin 6ee9ea341a refine code, rename SrsSocket to SrsStSocket
winlin b19d2e8e2d refine code, rename srs_app_socket.cpp to srs_app_st_socket.cpp
winlin 13abb0d768 complete config utest. 0.9.173
winlin a35d403651 add utest for config check
winlin fbddfbc8a3 fix , not fix for the shrink to clear the queue.
winlin b10d95205a fix , not fix for the shrink to clear the queue.
winlin 30ebba0673 add config check utest
winlin ebf9e560b1 refine the max connections, compare the system ulimit max open files, error when exeed limit
winlin 5f7ff37e64 fix the utest mock config bug
winlin 9f2da4e095 refine log, can be used when _srs_config is NULL.
winlin 7241fa8744 fix , srs_publiser add warnings. refine config utest.
winlin b17c736f3f fix , gop cache support disable video in publishing. 0.9.171.
winlin 50cd1d2360 refine the config
winlin 7865b0e935 refine config, check chunk size.
winlin 630bdf0c80 refine config, check the value of http api/stream.
winlin 7207c2f435 refine config, check all config item name.
winlin 1c27f3b913 refine config, warning when feature disabled.
winlin f562a98602 add configure options --log-verbose/info/trace to compile log macros. 0.9.169
winlin fd8c4989f5 add todo fixme for log verbose and info
winlin 91d2296836 fix , srs_info detail log compile failed. 0.9.168.
winlin 2e58fac5eb fix : edge forwarder(push to origin) assert failed, init client when connect to server. 0.9.167
winlin b56e7ef7ab complete main utest for config
winlin 2c9e16a9e7 add utest for config vhosts, transcode/dvr/hls
winlin d612597a8f refine log of edge push/pull
winlin 77236920b6 add config utest, for default vhost
winlin f1b1dc0c64 add utest for config full.conf, fix the chunk-size bug
winlin 21f49a9875 add basic utest for config service
winlin 6e8c4df4b1 refine error codes.
winlin 0db2e6b8e9 fix the empty config error
winlin 75bfe2af78 refine the LF,CR
winlin 8cd9be4fce add comments for LF,CR
winlin c65a6b5d63 fix the conf_line bug of parse config directive.
winlin 86ad39f001 finish basic utest for config
winlin 9b6c22644d add basic utest for config directive
winlin 6f743a2fe8 pass all utest
winlin e47c0ae202 refine all consts
winlin 8497b22d4a complete the consts refine
winlin 1afa6ed607 refine consts.
winlin 2667815123 refine consts, move http consts to kernel consts
winlin c46b3bd193 refie http consts.
winlin 573952e2fc refine macros of HTTP
winlin 198a7f1e9d refine the rtmp consts name
winlin a9f7f1ecfe refine the consts to kernel consts
winlin baa20b2f31 refine the config consts
winlin 736ec48c71 move some consts to kernel consts
winlin 073d900674 add consts to kernel
winlin f8423dfa90 fix : use iformat and oformat for ffmpeg transcode.
winlin 9bf7b722db fix : use iformat and oformat for ffmpeg transcode.
winlin 2f0a72d7d1 refine config, add comments
winlin a5f4323ea8 refine config, add comments
winlin b4e2d70390 refine config comments, return the engines of transcode.
winlin 2293700728 refine config, remove the const string&
winlin 1accd8c790 refine config, add comments.
winlin f572531eca refine config, return the vhosts vector.
winlin 96e0e699dd refine the get port, return a vector<string> contains ports.
winlin 1243d962b8 update comments of utility
winlin b37aeff8d5 refine config, check name
winlin 25180c51b4 refine the config comments.
winlin 1e8981eb08 extracta parse_buffer for config
winlin 784d7499cf refine config, add error line log
winlin 9f7d488fa4 refine config, add comments.
winlin f6b084b679 remove the reload create function.
winlin f4ffe0aaee refine config, move file buffer to internal namespace
winlin 654c3c6d71 refine server, add comments
winlin 88dc1523d8 refine code, add comments for bandwidth; remove the bwtc configure script test item.
winlin 7945a42770 refine code, add the video tag comments.
winlin 26bfbaeb82 refine code.
winlin 465ff88b1f refine hls avc/aac codec, move metadata to it.
winlin e50968f404 refine the hls codec, add comments.
winlin a4d3283cdd refine hls codec sample info. 0.9.161
winlin f020690ed7 add comments for the FLV/RTMP enums
winlin 9860e390a3 refine code, for cubieboard to build ok.
winlin d609fbc7ce 1.0.mainline6, core/kernel/rtmp utest, refine bandwidth(as/js/srslibrtmp library). 50029 lines.
winlin 5c4398f4a9 refine bandwidth check/test, flash publish test is ok.
winlin fd1e8aa882 remove src/main/srs_main_bandcheck.cpp, and --with-bwtc(use librtmp instead). 0.9.159
winlin 9135aa117c use librtmp to implemnts the bandwidth linux tool. 0.9.158
winlin cc62d254f0 add librtmp bandwidth check/test client.
winlin 5b714ba970 fix utest bug, when ssl disable, ignore complex handshake utest.
winlin ccd99381e6 fix bug, when disable all, some code of HLS must be exported.
winlin e53655ee83 refine the build script
winlin 0322dbbfb2 big refine code, add author to bandwidth test/check.
winlin b33a61a8da finish refine bandwidth check/test server-side.
winlin 0fb51413f4 refine bandwidth test, use function ptr.
winlin 539b595604 refine the bandwidth server-side, use kbps limit and sample. 0.9.157
winlin e220596675 refine bandwidth server-side, use sample and kbps limit
winlin 79e7e2d6cc refine bandwidth server-side, use bandwidth sample and kbps limit service
winlin 3a1b3dd142 fix bandwidth bug, config item interval to float.
winlin c319cc6a40 refine bandwidth test client, provides js and as library
winlin b1dd0218be refactor bandwidth test, refactor the interface of bandwidth server object.
winlin e2d273f493 do performance test, support 1.8k, improve 22%
winlin 047fb74889 refine rtmp client/server, add comments.
winlin 88c94193a3 rename rtmp_stack to stack. remove the global templte function to member function.
winlin f7922e3823 refine protocol send. add utest for server auto response message
winlin 9556790a5e finish utest of protocol stack. 0.9.156
winlin 8e27df4cf7 refine the protocol, add comments, add utest for empty packet
winlin c4aec5705b fix chunk header parse bug, add utest for basic/message header
winlin c957fadcb1 refine recv message header, add comments, remove the fresh_packet variable which duplicated with first_chunk
winlin d86e07b745 finish basic protocol utest, fix the bug of fmt11 length error.
winlin 54fda96f37 add utest for bug
winlin 2c3cb73ad6 update utest
winlin 7027a125f0 refine protocol, add comments. add utest for protocol bytes and timeout.
winlin 1e73ae4d47 refine RTMP protocol stack, rename buffer to in_buffer, change field pp/stream to local variables. 0.9.154
winlin 59dff7d268 add comments for RTMP protocol stack
winlin 2516e3c596 complete the comments of RTMP protocol.
winlin c457eea692 add comments for all RTMP packets.
winlin 8c493e9896 fix , open the sample access by default.
winlin 2554836940 add comments for RTMP packets.
winlin 51f924c553 refine RTMP protocol stack, refine the packet encode/decode, remove class_name
winlin b551056330 add comments of io interfaces.
winlin 09afaa250a add comments of message array, add utest.
winlin 6a4b177475 refine shared ptr message, rename initialize to create
winlin 891bc3fe65 refine utility of protocol, add comments
winlin 96e0273e99 refine hls, extract the flv/aac sample rates
winlin e5e2729967 refine amf0 and handshake code, add comments to utest.
winlin 574cd15efb refine amf0, rename internal classes
winlin c31c607ad3 refine amf0, move declarations from cpp to hpp, use namespace _srs_internal
winlin d22e7cab0a add comments to amf0
winlin dc7b952043 change HLS audio delay to 100ms. 0.9.153
winlin f895523ac6 fix hls media codec info bug, ignore nal_unit_type 7/8/9. 0.9.152
winlin 21a75924ad fix hls media codec info bug, ignore nal_unit_type 7/8/9. 0.9.152
winlin aefff75d08 fix , support all aac sample rate, add detail codec logs.
winlin f53abfa1d1 update comments for aac he or he-v2
winlin b2303c5704 refine code, use macro for hls resample audio
winlin 921b7d239f refine code, use macro for hls resample audio
winlin 63214d0f2b fix : support all aac sample rate, for instance, 48000. to 0.9.150
winlin 7805f7b12a add prefix Protocol to AMF0 and Handshake utest
winlin 5a41b1b538 finish kernel utest. to 0.9.149
winlin ad920915a2 merge handshake to protocol
winlin b13fd5112b merge buffer to kernel utest
winlin 1e395e7c10 add assert to flv.
winlin 95e73d0be1 remove the config log http api. 0.9.148
winlin d219a7b67e complete the normal kernel flv utest. 0.9.147
winlin 010eb09a30 Merge branch 'master' of github.com:winlinvip/simple-rtmp-server
winlin 8271bd657b refine flv codec, rename fast encoder to flv vod stream decoder
winlin 032118581a refine http/dvr/hls to use file reader/writer. 0.9.146
wenjiegit d7454134c9 Update srs_app_hls.cpp
for hls, srs should not allow player to cache m3u8 list.

add #EXT-X-ALLOW-CACHE:NO to m3u8 file.
winlin ba2e7bbf76 support create stream twice. 0.9.145
winlin fb70602f93 fix , always use 31bits timestamp. 0.9.143.
winlin 0bd7d268e8 add mock for file reader/writer
winlin a888e52df1 donot mix the read and write for librtmp
winlin 1eee4d25cf refine the librtmp, open writer then reader.
winlin 1a7735182f refine the file stream, to file reader and writer. 0.9.142
winlin ed3f9f0a40 add core utest
winlin f5f54e6008 add utest for kernel codec
winlin 492665e166 refine tcp client connect, extract to utility srs_socket_connect. 0.9.141
winlin 051c9e6268 refine the protocol utility, add utest, 0.9.140
winlin 55989b4bc8 remove the libfreetype for it fullfill with bugs and always cause build failed. 0.9.139
winlin cb2967c967 refine forward, use utility to generate the tcUrl
winlin ee07210105 fix demo script, start nginx. fix warning of utest on ubuntu14
winlin e6f524281c support build on ubuntu14, 0.9.138
winlin aad42d7941 fix ubuntu14 build warnings
winlin bfeb24c52b update call response, add comments.
winlin fea8755719 response the call message with null. 0.9.137
winlin 53ad510766 add comments for the connection remove
winlin a3f9aa7e1e fix , thread start segment fault, thread cycle stop destroy thread. 0.9.136
winlin efed34301c add virtual destructor to SrsRefer
winlin b357504b1d fix : fix the system jump time, adjust system startup time. 0.9.135
winlin 0cd0761508 fix time jitter zero algorithm bug, reset when timestamp overflow.
winlin 1970e18ed6 fix : disable the time jitter for encoder non-monotonical stream. 0.9.133
winlin f173345e15 support report summaries in heartbeat. 0.9.132
winlin db253bc76b fix fms token traverse bug, always update the token by the latest valid client.
winlin 1ae3e6c64c performance refine, support 3k+ connections(270kbps). 0.9.130
winlin 41857edaee support edge token traverse, fix . 0.9.129
winlin 10953c9743 support token auth in connect args. 0.9.128
winlin 094d82bd06 add connections count to api summaries. 0.9.127
winlin 6ee2ba049b add srs bytes and kbps to api summaries. 0.9.126
winlin 46611ac062 refine configure, add cubieboard. use IProtocolStatistic in kbps.
winlin 46c1367fe8 refine the protocol io reader writer arch.
winlin b0e4dc8085 refine network bytes of summaries, remove the lo data.
winlin d0b08d0d51 add network bytes to api summaries. 0.9.125
winlin f893711499 fix : workaround for librtmp ping(fmt=1,cid=2 fresh stream).
winlin 3f9c23d834 fix : for ubuntu14 build error.
winlin cbc1486688 refine message, add license
winlin 55b99c90c7 refine detect tool, support atc stream.
winlin cccc483ab3 add bytes statistic for librtmp
winlin a639eb0596 fix bug of buffer assert, erase can accept any value
winlin d48d739fa7 fix bug of detect rtmp, add error code
winlin 8817823462 add rtmp detecter
winlin ef6efb821c add rtmp detecter
winlin 0327c85f85 refine kernel codec, remove unused stream
winlin 6286759eaa refine codec, extract avc aac codec to app.
winlin 31b568b013 refine core, move specified functions to kernel utility.
winlin 7c7920698d refine utest, move the mock io to handshake where actually use it.
winlin 94cf0c1069 refine kernel buffer. complete the utest for buffer.
winlin 8992e217a9 refine srs buffer, min interfaces
winlin e6c03c6d6d complete the amf0 strict array utest
winlin 5a06909d75 update amf0 strict array test, fix bug of count zero init
winlin 373f92551d refine librtmp, remove the ssl functoins, refine the type2string memory alloc to static
winlin 7166b666c8 refine http log.
winlin 5273509554 refine log, to 0.9.123
winlin 7ec202ee41 support flv inject and flv http streaming with start=bytes. 0.9.122
winlin d56f445076 remove research flv codec, to librtmp
winlin 22968c85df supprt inject flv
winlin 4970664e37 move codec to kernel.
winlin 608083d42f add flv injecter, add flv codec to librtmp.
winlin 6de81fdb1c refine fast id tracer
winlin 978e985519 fix : add source id for full trackable log. 0.9.120
winlin 8d99ef27cf fix : unpublish source when edge stop, clear gop cache
winlin 7920348e5f extract get_local_ip and get_peer_ip to app utility
winlin e39eed6519 add SrsPid and SrsId to client response, add pid to log
winlin 5ff1ce7cba for bug , response the server SrsId to flash.
winlin d74921e1ab fix , config to /dev/null to disable ffmpeg log. 0.9.117
winlin 14f0a2e046 for bug , add timeout for connect.
winlin 93c9c55fb9 remove the complex handshake of librtmp. refine makefile of librtmp tools
winlin 69248cedaa http streaming support flv start index. 0.9.115
winlin b13bd70c86 http streaming support flv start index.
winlin 7b69b8b5c4 fix : allow edge vhost to add or remove. 0.9.114
winlin 344a49918a fix : allow edge vhost to add or remove.
winlin 0eb9e0af5b fix st joinable thread must be stop by other threads, 0.9.113
winlin 6fba0db9b5 refine http stream server
winlin 9eedf1ac40 the st_thread_exit is ok, not the memory leak cause.
winlin 5f7bacf678 fix st thread exit bug, never implict invoke the st_thread_exit, which may cause memory leak. 0.9.112
winlin 25e279b7c8 support amf0 StrictArray(0x0a). 0.9.111.
winlin 7f48590239 support amf0 StrictArray(0x0a). 0.9.111.
winlin bd24fe7d75 support flv parser, add amf0 to librtmp. 0.9.110
winlin 69eb935505 fix bug of flv parser, librtmp amf0 library
winlin d4b8fee61a fix bug , http callback api support authentication in tcUrl
winlin f37faf7236 update librtmp, add amf0 parse functions
winlin efc9f53512 fix rtmp handshake utest bug
winlin f0b54678ad fix http hooks dvr bug, check dvr macro
winlin 2265173c4d donot install tools when ffmpeg is not open, 0.9.108
winlin ef0f7f4da8 support http heartbeat, 0.9.107
winlin cb95b5909c add http heartbeat framework