mirror of
https://github.com/ossrs/srs.git
synced 2025-11-24 11:54:21 +08:00
This PR removes the embedded GB28181 SIP server implementation from SRS and enforces the use of external SIP servers for production deployments. The embedded SIP server depended on the deprecated `http-parser` library. With the planned migration to `llhttp` (which doesn't support SIP parsing), maintaining the embedded SIP server would require significant additional work. Since external SIP servers are already the recommended approach for production, removing the embedded implementation simplifies the codebase and eliminates this dependency. Eliminated `srs_gb28181_test` from CI workflow. Removed SIP configuration validation tests. --------- Co-authored-by: OSSRS-AI <winlinam@gmail.com> Co-authored-by: haibo.chen <495810242@qq.com>
55 lines
915 B
Plaintext
55 lines
915 B
Plaintext
|
|
max_connections 1000;
|
|
daemon off;
|
|
srs_log_tank console;
|
|
|
|
# RTMP server configuration
|
|
rtmp {
|
|
listen 1935;
|
|
}
|
|
|
|
stream_caster {
|
|
enabled on;
|
|
caster gb28181;
|
|
output rtmp://127.0.0.1/live/[stream];
|
|
listen 9000;
|
|
}
|
|
|
|
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; # UDP port
|
|
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#config-candidate
|
|
candidate $CANDIDATE;
|
|
}
|
|
|
|
vhost __defaultVhost__ {
|
|
rtc {
|
|
enabled on;
|
|
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#rtmp-to-rtc
|
|
rtmp_to_rtc on;
|
|
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#rtc-to-rtmp
|
|
rtc_to_rtmp on;
|
|
}
|
|
http_remux {
|
|
enabled on;
|
|
mount [vhost]/[app]/[stream].flv;
|
|
}
|
|
hls {
|
|
enabled on;
|
|
}
|
|
}
|
|
|