正在显示
3 个修改的文件
包含
28 行增加
和
17 行删除
@@ -4,8 +4,8 @@ SRS is industrial-strength live streaming cluster, | @@ -4,8 +4,8 @@ SRS is industrial-strength live streaming cluster, | ||
4 | for the best conceptual integrity and the simplest implementation, | 4 | for the best conceptual integrity and the simplest implementation, |
5 | which delivering rtmp/hls/http live on x86/x64/arm/mips linux, | 5 | which delivering rtmp/hls/http live on x86/x64/arm/mips linux, |
6 | supports origin/edge/vhost and transcode/ingest and dvr/forward | 6 | supports origin/edge/vhost and transcode/ingest and dvr/forward |
7 | -and http-api/http-callback/reload, with wiki and the most | ||
8 | -simple architecture. | 7 | +and http-api/http-callback/reload and srs-librtmp, with wiki and |
8 | +the most simple architecture. | ||
9 | 9 | ||
10 | Download from github.io: | 10 | Download from github.io: |
11 | [Centos6-x86_64](http://winlinvip.github.io/srs.release/releases/files/SRS-CentOS6-x86_64-1.0.0.zip) | 11 | [Centos6-x86_64](http://winlinvip.github.io/srs.release/releases/files/SRS-CentOS6-x86_64-1.0.0.zip) |
@@ -47,6 +47,15 @@ client/[edge](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_Edge) p | @@ -47,6 +47,15 @@ client/[edge](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_Edge) p | ||
47 | [http server](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_HTTPServer), | 47 | [http server](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_HTTPServer), |
48 | [dvr](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_DVR). | 48 | [dvr](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_DVR). |
49 | 49 | ||
50 | +[SRS-librtmp](https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_SrsLibrtmp) | ||
51 | +is a client library, only depends on c++ and socket, with | ||
52 | +[examples](https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_SrsLibrtmp#srs-librtmp-examples)(to play, | ||
53 | +publish, ingest flv/rtmp, inject flv, | ||
54 | +[publish h264 raw stream](https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_SrsLibrtmp#publish-h264-raw-data)), | ||
55 | +[exported as seperate project or single cpp file by configure](https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_SrsLibrtmp#export-srs-librtmp). | ||
56 | +SRS-librtmp provides api about RTMP, FLV, AMF0 and | ||
57 | +[h.264 raw stream](https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_SrsLibrtmp#publish-h264-raw-data). | ||
58 | + | ||
50 | WebSite: [http://ossrs.net](http://ossrs.net) <br/> | 59 | WebSite: [http://ossrs.net](http://ossrs.net) <br/> |
51 | Release: [http://winlinvip.github.io/srs.release](http://winlinvip.github.io/srs.release) <br/> | 60 | Release: [http://winlinvip.github.io/srs.release](http://winlinvip.github.io/srs.release) <br/> |
52 | Blog: [http://blog.csdn.net/win_lin](http://blog.csdn.net/win_lin) <br/> | 61 | Blog: [http://blog.csdn.net/win_lin](http://blog.csdn.net/win_lin) <br/> |
@@ -200,6 +209,7 @@ Supported operating systems and hardware: | @@ -200,6 +209,7 @@ Supported operating systems and hardware: | ||
200 | 1. Support system full utest on gtest. | 209 | 1. Support system full utest on gtest. |
201 | 1. [experiment] Support embeded [HTTP server](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_SampleHTTP) for hls(live/vod) | 210 | 1. [experiment] Support embeded [HTTP server](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_SampleHTTP) for hls(live/vod) |
202 | 1. [experiment] Support [vod stream(http flv/hls vod stream)](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_FlvVodStream). | 211 | 1. [experiment] Support [vod stream(http flv/hls vod stream)](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_FlvVodStream). |
212 | +1. Support [publish h264 raw stream](https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_SrsLibrtmp#publish-h264-raw-data) by srs-librtmp. | ||
203 | 1. [dev] Suppport [English wiki](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_v1_ENHome). | 213 | 1. [dev] Suppport [English wiki](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_v1_ENHome). |
204 | 1. [dev] Research and simplify st, [bug #182](https://github.com/winlinvip/simple-rtmp-server/issues/182). | 214 | 1. [dev] Research and simplify st, [bug #182](https://github.com/winlinvip/simple-rtmp-server/issues/182). |
205 | 1. [no-plan] Support <500ms latency, FRSC(Fast RTMP-compatible Stream Channel tech). | 215 | 1. [no-plan] Support <500ms latency, FRSC(Fast RTMP-compatible Stream Channel tech). |
@@ -98,7 +98,7 @@ cat << END >$FILE | @@ -98,7 +98,7 @@ cat << END >$FILE | ||
98 | /** | 98 | /** |
99 | # Example to use srs-librtmp | 99 | # Example to use srs-librtmp |
100 | # see: https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_SrsLibrtmp | 100 | # see: https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_SrsLibrtmp |
101 | -${COMPILE} | 101 | + ${COMPILE} |
102 | */ | 102 | */ |
103 | #include <stdio.h> | 103 | #include <stdio.h> |
104 | #include "srs_librtmp.h" | 104 | #include "srs_librtmp.h" |
@@ -448,20 +448,6 @@ if [ $SRS_UTEST = YES ]; then | @@ -448,20 +448,6 @@ if [ $SRS_UTEST = YES ]; then | ||
448 | LINK_OPTIONS="-lpthread ${SrsLinkOptions}" MODULE_DIR="src/utest" APP_NAME="srs_utest" . auto/utest.sh | 448 | LINK_OPTIONS="-lpthread ${SrsLinkOptions}" MODULE_DIR="src/utest" APP_NAME="srs_utest" . auto/utest.sh |
449 | fi | 449 | fi |
450 | 450 | ||
451 | -# for srs-librtmp single file, | ||
452 | -# package the whole project to srs_librtmp.h and srs_librtmp.cpp | ||
453 | -if [ $SRS_EXPORT_LIBRTMP_SINGLE != NO ]; then | ||
454 | - echo "package the whole project to srs_librtmp.h and srs_librtmp.cpp" | ||
455 | - . $SRS_EXPORT_LIBRTMP_SINGLE/auto/generate-srs-librtmp-single.sh | ||
456 | - echo -e "${GREEN}Please use the srs-librtmp files: ${BLACK}" | ||
457 | - echo -e "${GREEN} $SRS_EXPORT_LIBRTMP_PROJECT/srs_librtmp.h ${BLACK}" | ||
458 | - echo -e "${GREEN} $SRS_EXPORT_LIBRTMP_PROJECT/srs_librtmp.cpp ${BLACK}" | ||
459 | - echo -e "${GREEN} $SRS_EXPORT_LIBRTMP_PROJECT/example.c ${BLACK}" | ||
460 | -elif [ $SRS_EXPORT_LIBRTMP_PROJECT != NO ]; then | ||
461 | - echo -e "${GREEN}Please use the srs-librtmp project: ${BLACK}" | ||
462 | - echo -e "${GREEN} cd $SRS_EXPORT_LIBRTMP_PROJECT && make ${BLACK}" | ||
463 | -fi | ||
464 | - | ||
465 | echo 'configure ok! ' | 451 | echo 'configure ok! ' |
466 | 452 | ||
467 | ##################################################################################### | 453 | ##################################################################################### |
@@ -603,4 +589,19 @@ if [ $SRS_EXPORT_LIBRTMP_PROJECT = NO ]; then | @@ -603,4 +589,19 @@ if [ $SRS_EXPORT_LIBRTMP_PROJECT = NO ]; then | ||
603 | echo "to build:" | 589 | echo "to build:" |
604 | echo "\" make \" to build the srs(simple rtmp server)." | 590 | echo "\" make \" to build the srs(simple rtmp server)." |
605 | echo "\" make help \" to get the usage of make" | 591 | echo "\" make help \" to get the usage of make" |
592 | +else | ||
593 | + # for srs-librtmp single file, | ||
594 | + # package the whole project to srs_librtmp.h and srs_librtmp.cpp | ||
595 | + if [ $SRS_EXPORT_LIBRTMP_SINGLE != NO ]; then | ||
596 | + echo "package the whole project to srs_librtmp.h and srs_librtmp.cpp" | ||
597 | + . $SRS_EXPORT_LIBRTMP_SINGLE/auto/generate-srs-librtmp-single.sh | ||
598 | + echo -e "${GREEN}Please use the srs-librtmp files: ${BLACK}" | ||
599 | + echo -e "${GREEN} $SRS_EXPORT_LIBRTMP_PROJECT/srs_librtmp.h ${BLACK}" | ||
600 | + echo -e "${GREEN} $SRS_EXPORT_LIBRTMP_PROJECT/srs_librtmp.cpp ${BLACK}" | ||
601 | + echo -e "${GREEN} $SRS_EXPORT_LIBRTMP_PROJECT/example.c ${BLACK}" | ||
602 | + # for srs-librtmp project. | ||
603 | + else | ||
604 | + echo -e "${GREEN}Please use the srs-librtmp project: ${BLACK}" | ||
605 | + echo -e "${GREEN} cd $SRS_EXPORT_LIBRTMP_PROJECT && make ${BLACK}" | ||
606 | + fi | ||
606 | fi | 607 | fi |
-
请 注册 或 登录 后发表评论