1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-12 11:21:52 +00:00
srs/README.md

74 lines
3.3 KiB
Markdown
Raw Normal View History

2013-10-17 06:15:20 +00:00
simple-rtmp-server
==================
2013-11-04 14:58:43 +00:00
srs(simple rtmp origin live server) over state-threads.<br/>
2013-11-04 14:57:57 +00:00
srs is a simple, high-performance, running in single process, origin live server.<br/>
2013-10-27 03:29:12 +00:00
blog: [http://blog.csdn.net/win_lin](http://blog.csdn.net/win_lin) <br/>
see also: [https://github.com/winlinvip/simple-rtmp-server](https://github.com/winlinvip/simple-rtmp-server) <br/>
2013-10-27 01:15:02 +00:00
see also: [http://winlinvip.github.io/simple-rtmp-server](http://winlinvip.github.io/simple-rtmp-server)
2013-10-20 00:50:04 +00:00
2013-10-27 01:01:23 +00:00
### Usage
2013-10-27 00:54:05 +00:00
step 1: build srs <br/>
<pre>
2013-10-27 00:57:16 +00:00
tar xf srs.*.*.tar.gz
cd srs.*.*
./configure
make
2013-11-02 11:54:49 +00:00
./objs/simple_rtmp_server -c conf/srs.conf
2013-10-27 00:54:05 +00:00
</pre>
step 2: publish live stream <br/>
<pre>
FMS URL: rtmp://127.0.0.1:1935/live
Stream: livestream
</pre>
step 3: play live stream <br/>
<pre>
url: rtmp://127.0.0.1:1935/live/livestream
</pre>
2013-10-27 01:04:33 +00:00
### Summary
2013-10-20 14:25:21 +00:00
1. simple: also stable enough.<br/>
2. high-performance: single-thread, async socket, event/st-thread driven.<br/>
2013-11-04 14:56:51 +00:00
3. support vhost,support \_\_defaultVhost\_\_.<br/>
4. no edge server, origin server only.<br/>
5. no vod streaming, live streaming only.<br/>
2013-10-20 14:25:21 +00:00
6. no multiple processes, single process only.<br/>
2013-10-17 06:21:30 +00:00
2013-10-27 01:11:26 +00:00
### Releases
2013-11-04 14:55:19 +00:00
* 2013-11-04, [release v0.3](https://github.com/winlinvip/simple-rtmp-server/releases/tag/0.3), support vhost, refer, gop cache, listen multiple ports. 11773 lines.<br/>
2013-10-27 01:11:26 +00:00
* 2013-10-25, [release v0.2](https://github.com/winlinvip/simple-rtmp-server/releases/tag/0.2), support flash publish, h264 codec, time jitter correct. 10125 lines.<br/>
* 2013-10-23, [release v0.1](https://github.com/winlinvip/simple-rtmp-server/releases/tag/0.1), support FMLE/FFMPEG publish, vp6 codec live streaming. 8287 lines.<br/>
2013-10-23 04:03:49 +00:00
* 2013-10-17, created.<br/>
2013-10-27 01:01:23 +00:00
### Compare
2013-11-04 14:55:19 +00:00
* srs v0.3: 11773 lines.<br/>
2013-10-25 10:45:36 +00:00
* srs v0.2: 10125 lines.<br/>
2013-10-23 04:03:49 +00:00
* srs v0.1: 8287 lines.<br/>
* nginx-rtmp v1.0.4: 26786 lines <br/>
* nginx v1.5.0: 139524 lines <br/>
2013-10-27 01:01:23 +00:00
### History
2013-11-04 14:55:19 +00:00
* v0.3, 2013-11-04, v0.3 released. 11773 lines.
* v0.3, 2013-11-04, support refer/play-refer/publish-refer.
2013-11-04 14:42:03 +00:00
* v0.3, 2013-11-04, support vhosts specified config.
2013-11-02 11:32:52 +00:00
* v0.3, 2013-11-02, support listen multiple ports.
2013-11-02 09:55:59 +00:00
* v0.3, 2013-11-02, support config file in nginx-conf style.
* v0.3, 2013-10-29, support pithy print log message specified by stage.
* v0.3, 2013-10-28, support librtmp without extended-timestamp in 0xCX chunk packet.
2013-10-27 03:25:42 +00:00
* v0.3, 2013-10-27, support cache last gop for client fast startup.
* v0.2, 2013-10-25, v0.2 released. 10125 lines.
2013-10-25 10:44:56 +00:00
* v0.2, 2013-10-25, support flash publish.
2013-10-24 23:15:33 +00:00
* v0.2, 2013-10-25, support h264/avc codec by rtmp complex handshake(SrsComplexHandshake).
* v0.2, 2013-10-24, support time jitter detect and correct algorithm(SrsConsumer::jitter_correct).
2013-10-25 10:44:56 +00:00
* v0.2, 2013-10-24, support decode codec type(SrsCodec) to cache the h264/avc sequence header.
2013-10-25 10:52:51 +00:00
* v0.1, 2013-10-23, v0.1 released. 8287 lines.
2013-10-24 23:15:33 +00:00
* v0.1, 2013-10-23, support basic amf0 codec, simplify the api using c-style api.
* v0.1, 2013-10-23, support shared ptr msg(SrsSharedPtrMessage) for zero memory copy.
* v0.1, 2013-10-22, support vp6 codec with rtmp protocol specified simple handshake.
* v0.1, 2013-10-20, support multiple flash client play live streaming.
* v0.1, 2013-10-20, support FMLE/FFMPEG publish live streaming.
2013-10-30 03:35:40 +00:00
* v0.1, 2013-10-18, support rtmp message2chunk protocol(send\_message).
* v0.1, 2013-10-17, support rtmp chunk2message protocol(recv\_message).
2013-10-24 23:15:33 +00:00
2013-10-17 06:21:30 +00:00
Winlin