winlin
4c6c2c28b8
refine h264 raw publish with fps
2016-09-09 11:32:24 +08:00
Star Brilliant
a164c90e28
Flush the stdout buffer after logging to console
...
Normally if the stdout is connected to a PTY, the stdout buffer is flushed automatically after each \n.
However if I run SRS under Docker, the stdout is not connected to a PTY (unless I ask it to), causing the last log line to be incomplete (showing only half).
By adding fflush, we could make sure each log line is completely shown, whenever the stdout is connected to a PTY or not.
2016-09-08 07:58:52 -05:00
winlin
7aaa74b9e0
TODO: FIXME: for librtmp, must group NALUs to frame.
2016-09-08 19:56:06 +08:00
winlin
80a98cf836
refine annexb parse
2016-09-08 18:55:35 +08:00
winlin
590e951739
fix memory leak of source.
2016-09-05 14:56:31 +08:00
winlin
c7b97aa1c3
fix memory leak at source. 2.0.214
2016-09-05 14:13:37 +08:00
winlin
6ec60b0a21
fix memory leak at handshake. 2.0.213
2016-09-05 09:38:30 +08:00
winlin
1214af643e
refine comments for arm
2016-09-03 23:11:51 +08:00
winlin
e775eb3ff2
support all arm for patched st. 2.0.212
2016-09-03 18:47:46 +08:00
xubin
49853d2b8a
修复forward崩溃
2016-09-02 15:10:43 +08:00
winlin
e2865c6ac1
workaround for #511 , the fly stfd in close. 2.0.211
2016-09-01 16:51:09 +08:00
winlin
a0890fe06a
comment the pcr
2016-08-30 19:29:59 +08:00
winlin
d919668b61
don't ignore aud
2016-08-18 12:22:04 +08:00
winlin
a4bb03b9d6
ignore other 264 frame except sps,pps,idr,nonidr
2016-08-18 11:27:11 +08:00
winlin
304ff02aef
default to 30s timeout for librtmp
2016-08-10 22:29:56 +08:00
winlin
02fb0779be
fix the microsec calc bug for librtmp
2016-08-10 22:13:24 +08:00
winlin
e00928557e
fix the timeout for librtmp
2016-08-10 22:04:01 +08:00
intliang
3fbe9d2442
fixed crash by improper srs_info use.
2016-08-08 14:07:19 +08:00
winlin
f87646d489
fix typo of config.
2016-08-08 13:58:42 +08:00
winlin
ec6e77992e
2.0.210
2016-08-06 16:38:18 +08:00
weiyabo
8df7135dee
for bug #5064 , success parse 264 sps
2016-05-17 10:53:56 +08:00
winlin
d72b93e58b
fix the sed bug, to compatible with osx
2016-03-03 10:57:26 +08:00
winlin
f7d9ed5ae4
update api
2016-01-31 21:49:53 +08:00
winlin
28080efec8
fix http reader bug, support infinite chunkted. 2.0.209
2016-01-13 12:44:51 +08:00
winlin
e2e6e76f92
for #558 and #559 , 2.0.208
2016-01-11 13:21:28 +08:00
winlin
da722b5b5d
Merge pull request #559 from tufang14/2.0release
...
srs reusable thread need join
2016-01-09 16:00:58 +08:00
tufang14
56bffb6646
Update srs_app_thread.cpp
2016-01-09 15:54:23 +08:00
flowerwrong
d42a58faf4
Keep blank of line
2016-01-09 15:10:24 +08:00
tufang14
233ff11172
srs reusable thread need join
2016-01-09 14:58:40 +08:00
flowerwrong
9ddd0054a1
Add tcUrl to on_publish http hook for issue #548
2016-01-08 15:10:25 +08:00
winlin
8155e97b84
add keyword XCORE for coredump to identify the version. 2.0.207
2016-01-05 16:49:27 +08:00
winlin
dc38ae1687
show first message when not show version.
2016-01-04 17:41:16 +08:00
winlin
26211abf2e
refine code.
2015-12-31 15:57:16 +08:00
winlin
eca46c03d2
refine code for consumer to refer the rtmp connection.
2015-12-26 12:13:17 +08:00
winlin
5d3a183f43
fix #509 , always alloc big object at heap. 2.0.205
2015-12-22 19:18:46 +08:00
winlin
8b24319ffb
fix #418 , ignore null connect props to make RED5 happy. 2.0.204
2015-12-22 17:00:22 +08:00
winlin
8d378cda2e
for #418 , when simple handshake, copy s1 to c2.
2015-12-22 16:48:06 +08:00
winlin
c7850570c1
fix #546 , thread terminate normally dispose bug. 2.0.203
2015-12-22 16:13:49 +08:00
winlin
cee8c3d07d
fix #541 , failed when chunk size too small. 2.0.202
2015-12-22 15:39:12 +08:00
winlin
69d191e53f
refine the hls error log.
2015-12-15 16:25:21 +08:00
winlin
40457e6cab
default hls_on_error to continue. 2.0.201
2015-12-15 16:02:02 +08:00
winlin
26d328e7f2
fix bug for api, level should be string.
2015-12-14 18:43:20 +08:00
winlin
5660e24953
fast stop server.
2015-12-11 11:30:36 +08:00
winlin
2830ee12c1
fix the on_hls.ts_url bug.
2015-12-11 11:29:10 +08:00
winlin
2310b2da59
fix #518 , fix fd leak bug when fork. 2.0.200
2015-11-16 18:06:44 +08:00
YueHonghui
eb4ca9ff5d
fix bug of fd leek in srs_app_server
2015-11-16 15:47:17 +08:00
winlin
c77cefb6fa
refine the position of log script
2015-11-11 17:49:46 +08:00
winlin
c4c63f7825
fix build failed bug for osx.
2015-11-11 17:06:12 +08:00
winlin
1ffd5fd455
rename org simple-rtmp-server to ossrs
2015-11-11 10:37:50 +08:00
winlin
1d8318d2fc
change simple-rtmp-server org to ossrs
2015-11-10 12:16:01 +08:00
winlin
8c04b17d08
use /usr/local/bin for osx.
2015-11-10 12:03:52 +08:00
winlin
18b50d961f
support query server by id.
2015-11-09 15:19:50 +08:00
winlin
d916c53702
refine the api server.
2015-11-09 14:51:41 +08:00
winlin
a89ed68aa3
update readme for #511 .
2015-11-06 10:51:32 +08:00
winlin
98e25def6c
fix utest build failed for osx.
2015-11-05 15:11:59 +08:00
zhengfl
38b81ce312
允许操作SrsStream中的函数时,长度为0.
2015-11-05 14:37:21 +08:00
zhengfl
1dae8fc987
fix #511 , fix the bug of thread stop invalid.
2015-11-05 13:52:59 +08:00
winlin
49d77b3f09
for #515 , use srs_freepa and SrsAutoFreeA for array. 2.0.198
2015-11-02 13:42:05 +08:00
winlin
ec225b2108
quit child process when fork failed.
2015-11-02 11:46:33 +08:00
winlin
f4f76cd196
for #515 , use SrsAutoFreeA to free the array.
2015-11-02 11:26:37 +08:00
winlin
2af7749771
for #515 , use srs_freepa to free the array.
2015-11-02 11:02:27 +08:00
winlin
ef00005ab4
for ExoPlayer, remove duration for live.
2015-10-28 11:51:03 +08:00
winlin
50a7b9c1ff
for ExoPlayer, add av tag in flv header. 2.0.197
2015-10-28 11:01:20 +08:00
winlin
3b0bf1e10b
for #512 , make the segment more acceptable, when in [min, max_td * 2], it's ok.
2015-10-27 18:20:57 +08:00
winlin
d1979c760f
for #512 , partical hotfix the hls pure audio. 2.0.196
2015-10-27 17:44:10 +08:00
winlin
3683f06e4d
for #512 , write audio frame by frame for video+audio hls.
2015-10-27 16:20:02 +08:00
winlin
e08beba89e
fix the sed command for arm
2015-10-26 13:34:28 +08:00
winlin
45385241bb
fix the sed command for arm
2015-10-26 13:29:59 +08:00
winlin
91e9fc7e5b
fix typo of INVLIAD to INVALID
2015-10-20 10:17:48 +08:00
winlin
5de65d41f4
Merge pull request #499 from synote/2.0release
...
fix bug for build failure when configure with --log-info
2015-10-12 10:07:08 +08:00
winlin
9c2eafc244
refine the git command
2015-10-08 15:53:49 +08:00
winlin
0c8209cccd
fix #448 , fix the bug of response of http hooks. 2.0.195
2015-10-04 08:09:39 +08:00
winlin
7811b4f3f7
fix #497 , response error when client not found to kickoff. 2.0.194
2015-10-01 13:20:13 +08:00
winlin
a3c229472e
fix #495 , decrease the srs-librtmp size. 2.0.193
2015-10-01 13:04:28 +08:00
winlin
65e4bf2e77
fix compile failed bug.
2015-10-01 12:30:38 +08:00
winlin
353e3260b8
remove duplicated code
2015-09-24 17:55:27 +08:00
winlin
7cdcf41d26
refine the api server
2015-09-23 18:23:09 +08:00
winlin
d1de097f5e
fix make clean bug, donot rm when no dir
2015-09-23 16:42:41 +08:00
winlin
8b1198562a
show cpu info.
2015-09-23 15:46:51 +08:00
winlin
cfe2082353
fix #485 , error when arm glibc 2.15+ or not i386/x86_64/amd64. 2.0.192
2015-09-23 15:09:59 +08:00
winlin
f6e655396c
for #485 , support cross build for arm
2015-09-23 11:54:53 +08:00
winlin
16730ea031
refine code for cross build
2015-09-23 11:21:51 +08:00
winlin
6990508e58
for #485 , srs for respberrypi and cubieboard. 2.0.191
2015-09-23 11:05:56 +08:00
winlin
7dcdb18588
support build on pi and cubie
2015-09-23 10:27:57 +08:00
winlin
a8829e0a8b
support build on pi or cubie.
2015-09-23 10:22:58 +08:00
winlin
d8a64aaab5
fix #484 , hotfix the openssl build script 2.0.190
2015-09-21 12:01:48 +08:00
没——问题
e8680527c3
allow domain *
...
在使用时,srs_player可能和所在页面部署在不同的域名下。
所以在此处添加跨域许可。
2015-09-17 12:09:29 +08:00
没——问题
c548ab5019
function set_srs_player_url(url, params)
...
在实际环境中,player.swf 等静态资源 和页面可能部署到不同的域名或路径下。
所以在此处提供设置 srs_player.swf 的url的方法。
2015-09-17 11:44:45 +08:00
winlin
511627abab
fix #474 , config to donot parse width/height from sps. 2.0.189
2015-09-14 18:36:44 +08:00
winlin
eb578b4a39
refine the thread, set to disposed when terminate normally
2015-09-14 17:17:38 +08:00
winlin
83a9ff9f5d
for #474 , refine the hls publish, donot fetch from source when publish
2015-09-14 15:49:25 +08:00
winlin
44bcb4045f
for #474 , decode the sequence header before hls.
2015-09-14 15:32:09 +08:00
winlin
07ef8160a3
clear the queue when edge republish.
2015-09-14 15:25:01 +08:00
winlin
704624c9ec
clear the queue when edge republish.
2015-09-14 15:19:49 +08:00
winlin
8be3c875af
donot release stream when busy
2015-09-14 15:17:59 +08:00
winlin
3da25f3aee
when thread terminated normally, set the tid to NULL.
2015-09-14 15:11:49 +08:00
winlin
a994191ddc
for #474 , always release publish for source.
2015-09-14 15:10:34 +08:00
winlin
0d57ef9373
fix #458 , http hooks use source thread cid. 2.0.188
2015-09-14 13:47:25 +08:00
winlin
6d50aa1aa2
#475 , fix http hooks crash for st context switch. 2.0.187
2015-09-14 12:22:19 +08:00
winlin
f0fc093b19
fix the http zero content length bug.
2015-09-14 11:17:04 +08:00
winlin
abd7ee227c
support reload utc_time. 2.0.186
2015-09-09 23:37:07 +08:00
synote
9b01aad220
fix bug for build failure when configure with --log-info
...
wrong use of size in SrsStream::initialize of srs_kernel_stream.cpp
2015-08-28 11:43:55 +08:00
winlin
fe4cdceb15
always wait for process to terminated when SIGKILL.
2015-08-26 23:02:54 +08:00
lovecat
9c2beffe8f
statistic connection bytes before remove client.
2015-08-25 11:46:12 +08:00
winlin
15102a7345
refine commit script
2015-08-24 11:16:39 +08:00
winlin
a7f4104d45
fix bug of commit script
2015-08-24 11:04:39 +08:00
winlin
064031cac1
refine commit script
2015-08-24 10:59:32 +08:00
winlin
8e259eb0c2
refine the commit script
2015-08-24 10:57:12 +08:00
winlin
4118138cf0
update commit script
2015-08-24 10:54:31 +08:00
winlin
28791fd14a
release 2.0alpha0, the 2.0a0, 2.0.185
2015-08-23 09:00:21 +08:00
winlin
e43d4e46b4
support JSONP DELTE/POST/PUT
2015-08-23 00:01:03 +08:00
winlin
baa70d4ddd
add nb_streams for vhost
2015-08-22 22:51:59 +08:00
winlin
6e5143449e
HTTP API support JSONP by specifies the query string callback=xxx.
2015-08-22 18:18:18 +08:00
winlin
aeebddb269
for #442 , add more information for client for api.
2015-08-22 13:57:34 +08:00
winlin
94641c812b
fix #442 , support kickoff client.
2015-08-22 13:36:15 +08:00
winlin
b37797b13a
for #442 , add publish connection in stream.publish api
2015-08-22 13:03:10 +08:00
winlin
529803ed04
refine code for api.
2015-08-22 12:38:14 +08:00
winlin
6b6d951298
add api /api/v1/features
2015-08-22 11:08:56 +08:00
winlin
4763f205a2
add kbps for vhost and stream
2015-08-22 09:49:38 +08:00
winlin
20a8818a8e
refine the error response.
2015-08-21 17:15:32 +08:00
winlin
2edcf1d4ff
support query specified vhost
2015-08-21 17:00:52 +08:00
winlin
66a26bdce8
move json from app to protocol
2015-08-21 16:20:19 +08:00
winlin
a7589b9ad3
refine code for api, add clients and parse_rest_id
2015-08-21 16:12:48 +08:00
winlin
ab4620870d
refine the stat api, support query specified stream.
2015-08-21 15:51:20 +08:00
winlin
c75f05c88b
fix the log cid display error, merge the publish recv thread log to publish connection.
2015-08-21 15:22:40 +08:00
winlin
3c402cb908
refine the tcp nodelay, effect connected connections.
2015-08-21 13:43:33 +08:00
winlin
c31a546eec
support vhost for http flv.
2015-08-21 12:08:25 +08:00
winlin
dd21eee7f0
srs player show current time and url
2015-08-20 18:33:33 +08:00
winlin
dfecfb65b1
support fluency and stream empty count
2015-08-20 18:13:07 +08:00
winlin
fcd2d3d445
refine code for link generation from rtmp url.
2015-08-20 16:18:32 +08:00
winlin
fe87bf1b61
support generate link page for rtmp url
2015-08-20 16:11:17 +08:00
winlin
018af55d65
refine the demo pages, move scripts after body.
2015-08-20 15:19:43 +08:00
winlin
575a698820
fix #380 , srs-librtmp send sequence header when sps or pps changed.
2015-08-20 14:20:49 +08:00
winlin
ec87dd9cd6
refine code for srs rtmp dump
2015-08-19 19:02:33 +08:00
winlin
785a5907a8
set the default get_publish_normal_timeout to 5s
2015-08-19 16:27:22 +08:00
winlin
0bbfc5526a
set the default get_publish_normal_timeout to 5s
2015-08-19 16:22:52 +08:00
winlin
7273c33c35
support publish_1stpkt_timeout and publish_normal_timeout
2015-08-19 16:16:05 +08:00
winlin
170ad05148
add gfps and nb_packets
2015-08-19 15:31:19 +08:00
winlin
e7714cd445
add packets interval in ms to set the right send_min_interval
2015-08-19 15:14:26 +08:00
winlin
de48b477ae
drop the metadata when drop sequence header
2015-08-19 14:23:12 +08:00
winlin
f691dddc1a
drop metadata when drop sequence header. support PCUC 0x1a
2015-08-19 14:20:31 +08:00
winlin
2cf526ffc7
close #454 , support obs restart publish. 2.0.184
2015-08-18 17:43:01 +08:00
winlin
ccc4c05da9
fix #229 , support vs2010 for srslibrtmp.
2015-08-18 14:08:54 +08:00
winlin
01be68fe58
refine code, donot remove the detail when hls disabled.
2015-08-17 16:34:11 +08:00
winlin
afd05f71c3
refine code, use size cache for performance issue.
2015-08-14 15:51:02 +08:00
winlin
3b0b2e0b85
fix the bug to support dump packets with count.
2015-08-14 15:47:29 +08:00
winlin
a0a89a8ca6
use reduce_sequence_header for stream control.
2015-08-14 14:35:41 +08:00
winlin
b79d830e2c
refine the default smi
2015-08-14 11:15:23 +08:00
winlin
ae37fa8f3e
use send_min_interval for stream control. 2.0.183
2015-08-14 11:13:40 +08:00
winlin
7dcba040eb
refine config.
2015-08-12 18:02:31 +08:00