mirror of
https://github.com/ossrs/srs.git
synced 2025-02-13 03:41:55 +00:00
26 lines
708 B
Text
26 lines
708 B
Text
# push MPEG-TS over UDP to SRS.
|
|
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/streamer#push-mpeg-ts-over-udp
|
|
# @see https://github.com/ossrs/srs/issues/250#issuecomment-72321769
|
|
# @see full.conf for detail config.
|
|
|
|
listen 1935;
|
|
max_connections 1000;
|
|
daemon off;
|
|
srs_log_tank console;
|
|
stream_caster {
|
|
enabled on;
|
|
caster mpegts_over_udp;
|
|
output rtmp://127.0.0.1/live/livestream;
|
|
listen 8935;
|
|
}
|
|
http_server {
|
|
enabled on;
|
|
listen 8080;
|
|
dir ./objs/nginx/html;
|
|
}
|
|
vhost __defaultVhost__ {
|
|
http_remux {
|
|
enabled on;
|
|
mount [vhost]/[app]/[stream].flv;
|
|
}
|
|
}
|