mirror of
https://github.com/ossrs/srs.git
synced 2025-02-13 03:41:55 +00:00
01. Support GB config as StreamCaster. 02. Support disable GB by --gb28181=off. 03. Add utests for SIP examples. 04. Wireshark plugin to decode TCP/9000 as rtp.rfc4571 05. Support MPEGPS program stream codec. 06. Add utest for PS stream codec. 07. Decode MPEGPS packet stream. 08. Carry RTP and PS packet as helper in PS message. 09. Support recover from error mode. 10. Support process by a pack of PS/TS messages. 11. Add statistic for recovered and msgs dropped. 12. Recover from err position fastly. 13. Define state machine for GB session. 14. Bind context to GB session. 15. Re-invite when media disconnected. 16. Update GitHub actions with GB28181. 17. Support parse CANDIDATE by env or pip. 18. Support mux GB28181 to RTMP. 19. Support regression test by srs-bench.
65 lines
1.2 KiB
Text
65 lines
1.2 KiB
Text
|
|
listen 1935;
|
|
max_connections 1000;
|
|
daemon on; disable_daemon_for_docker off; srs_log_tank file;
|
|
|
|
stream_caster {
|
|
enabled on;
|
|
caster gb28181;
|
|
output rtmp://127.0.0.1/live/[stream];
|
|
listen 9000;
|
|
sip {
|
|
enabled on;
|
|
listen 5060;
|
|
timeout 2.1;
|
|
reinvite 1.2;
|
|
}
|
|
}
|
|
|
|
http_server {
|
|
enabled on;
|
|
listen 8080;
|
|
dir ./objs/nginx/html;
|
|
}
|
|
|
|
http_api {
|
|
enabled on;
|
|
listen 1985;
|
|
}
|
|
stats {
|
|
network 0;
|
|
}
|
|
rtc_server {
|
|
enabled on;
|
|
listen 8000;
|
|
candidate $CANDIDATE;
|
|
}
|
|
|
|
vhost __defaultVhost__ {
|
|
rtc {
|
|
enabled on;
|
|
rtmp_to_rtc on;
|
|
keep_bframe off;
|
|
rtc_to_rtmp on;
|
|
}
|
|
play {
|
|
atc on;
|
|
}
|
|
http_remux {
|
|
enabled on;
|
|
mount [vhost]/[app]/[stream].flv;
|
|
}
|
|
ingest livestream {
|
|
enabled on;
|
|
input {
|
|
type file;
|
|
url ./doc/source.200kbps.768x320.flv;
|
|
}
|
|
ffmpeg ./objs/ffmpeg/bin/ffmpeg;
|
|
engine {
|
|
enabled off;
|
|
output rtmp://127.0.0.1:[port]/live/livestream;
|
|
}
|
|
}
|
|
}
|
|
|