mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Merge branch '2.0release' into develop
This commit is contained in:
commit
58b336451d
4 changed files with 48 additions and 0 deletions
|
@ -117,6 +117,7 @@ cd simple-rtmp-server/trunk
|
|||
<strong>See also:</strong>
|
||||
* Usage: How to delivery RTMP?([CN][v1_CN_SampleRTMP], [EN][v1_EN_SampleRTMP])
|
||||
* Usage: How to delivery HTTP FLV Live Streaming?([CN][v2_CN_SampleHttpFlv], [EN][v2_EN_SampleHttpFlv])
|
||||
* Usage: How to delivery HTTP FLV Live Streaming Cluster?([CN][v2_CN_SampleHttpFlvCluster], [EN][v2_EN_SampleHttpFlvCluster])
|
||||
* Usage: How to delivery HLS?([CN][v1_CN_SampleHLS], [EN][v1_EN_SampleHLS])
|
||||
* Usage: How to delivery HLS for other codec?([CN][v1_CN_SampleTranscode2HLS], [EN][v1_EN_SampleTranscode2HLS])
|
||||
* Usage: How to transode RTMP stream by SRS?([CN][v1_CN_SampleFFMPEG], [EN][v1_EN_SampleFFMPEG])
|
||||
|
@ -936,6 +937,8 @@ Winlin
|
|||
[v2_EN_Streamer2]: https://github.com/simple-rtmp-server/srs/wiki/v2_EN_Streamer#push-http-flv-to-srs
|
||||
[v2_CN_SampleHttpFlv]: https://github.com/simple-rtmp-server/srs/wiki/v2_CN_SampleHttpFlv
|
||||
[v2_EN_SampleHttpFlv]: https://github.com/simple-rtmp-server/srs/wiki/v2_EN_SampleHttpFlv
|
||||
[v2_CN_SampleHttpFlvCluster]: https://github.com/simple-rtmp-server/srs/wiki/v2_CN_SampleHttpFlvCluster
|
||||
[v2_EN_SampleHttpFlvCluster]: https://github.com/simple-rtmp-server/srs/wiki/v2_EN_SampleHttpFlvCluster
|
||||
|
||||
[bug #213]: https://github.com/simple-rtmp-server/srs/issues/213
|
||||
[bug #194]: https://github.com/simple-rtmp-server/srs/issues/194
|
||||
|
|
22
trunk/conf/http.flv.live.edge1.conf
Normal file
22
trunk/conf/http.flv.live.edge1.conf
Normal file
|
@ -0,0 +1,22 @@
|
|||
# the config for srs to remux rtmp to flv live stream.
|
||||
# @see https://github.com/simple-rtmp-server/srs/wiki/v2_CN_DeliveryHttpStream
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 19351;
|
||||
max_connections 1000;
|
||||
pid objs/srs.flv.19351.pid;
|
||||
srs_log_file objs/srs.flv.19351.log;
|
||||
http_server {
|
||||
enabled on;
|
||||
listen 8081;
|
||||
dir ./objs/nginx/html;
|
||||
}
|
||||
vhost __defaultVhost__ {
|
||||
mode remote;
|
||||
origin 127.0.0.1;
|
||||
http_remux {
|
||||
enabled on;
|
||||
mount [vhost]/[app]/[stream].flv;
|
||||
hstrs on;
|
||||
}
|
||||
}
|
22
trunk/conf/http.flv.live.edge2.conf
Normal file
22
trunk/conf/http.flv.live.edge2.conf
Normal file
|
@ -0,0 +1,22 @@
|
|||
# the config for srs to remux rtmp to flv live stream.
|
||||
# @see https://github.com/simple-rtmp-server/srs/wiki/v2_CN_DeliveryHttpStream
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 19352;
|
||||
max_connections 1000;
|
||||
pid objs/srs.flv.19352.pid;
|
||||
srs_log_file objs/srs.flv.19352.log;
|
||||
http_server {
|
||||
enabled on;
|
||||
listen 8082;
|
||||
dir ./objs/nginx/html;
|
||||
}
|
||||
vhost __defaultVhost__ {
|
||||
mode remote;
|
||||
origin 127.0.0.1;
|
||||
http_remux {
|
||||
enabled on;
|
||||
mount [vhost]/[app]/[stream].flv;
|
||||
hstrs on;
|
||||
}
|
||||
}
|
|
@ -25,6 +25,7 @@
|
|||
|
||||
#include <stdlib.h>
|
||||
#include <sstream>
|
||||
#include <algorithm>
|
||||
using namespace std;
|
||||
|
||||
#include <srs_kernel_error.hpp>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue