mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
GB28181: Refine SRS listeners without wrapper.
This commit is contained in:
parent
b452144fb7
commit
173c683566
13 changed files with 601 additions and 762 deletions
|
@ -481,7 +481,7 @@ vhost rtc.vhost.srs.com {
|
|||
# the streamer cast stream from other protocol to SRS over RTMP.
|
||||
# @see https://github.com/ossrs/srs/tree/develop#stream-architecture
|
||||
|
||||
# MPEGTS over UDP
|
||||
# Push MPEGTS over UDP, see https://github.com/ossrs/srs/issues/250
|
||||
stream_caster {
|
||||
# whether stream caster is enabled.
|
||||
# default: off
|
||||
|
@ -498,7 +498,7 @@ stream_caster {
|
|||
listen 8935;
|
||||
}
|
||||
|
||||
# FLV
|
||||
# Push HTTP-FLV stream, see https://github.com/ossrs/srs/issues/2611
|
||||
stream_caster {
|
||||
# whether stream caster is enabled.
|
||||
# default: off
|
||||
|
|
|
@ -18,12 +18,8 @@ stream_caster {
|
|||
listen 8936;
|
||||
}
|
||||
vhost __defaultVhost__ {
|
||||
hls {
|
||||
enabled on;
|
||||
hls_fragment 10;
|
||||
hls_window 60;
|
||||
hls_path ./objs/nginx/html;
|
||||
hls_m3u8_file [app]/[stream].m3u8;
|
||||
hls_ts_file [app]/[stream]-[seq].ts;
|
||||
http_remux {
|
||||
enabled on;
|
||||
mount [vhost]/[app]/[stream].flv;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,7 +11,16 @@ stream_caster {
|
|||
enabled on;
|
||||
caster mpegts_over_udp;
|
||||
output rtmp://127.0.0.1/live/livestream;
|
||||
listen 1935;
|
||||
listen 8935;
|
||||
}
|
||||
http_server {
|
||||
enabled on;
|
||||
listen 8080;
|
||||
dir ./objs/nginx/html;
|
||||
}
|
||||
vhost __defaultVhost__ {
|
||||
http_remux {
|
||||
enabled on;
|
||||
mount [vhost]/[app]/[stream].flv;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
# push MPEG-TS over UDP to SRS.
|
||||
# @note Removed for https://github.com/ossrs/srs/issues/2304#issuecomment-826009290
|
Loading…
Add table
Add a link
Reference in a new issue