-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GB28181: Segmentation fault (core dumped) #1855
Comments
Please use the latest version srs4.0.32 or above.
|
Hello, may I ask if you have resolved it? I also have the same issue. Mine is version 4.0.35.
|
@huhu123456789 You may have some different issues with them
|
@xialixin Oh, can you add me on QQ? Help me remotely and guide me. 1042018884
|
》gdb objs/srs
|
@xialixin Okay Xiaogong, sorry for the delay, I just saw it after many days. I'll give it a try.
|
Fixed?
|
Description'
Please ensure that the markdown structure is maintained.
SRS service error, segmentation fault (core dumped)'
Please ensure that the markdown structure is maintained.
Please ensure that the markdown structure is maintained.
Please ensure that the markdown structure is maintained.
push gb28181 stream to SRS.
listen 1935;
max_connections 1000;
daemon off;
#srs_log_tank console;
srs_log_level trace;
srs_log_tank file;
srs_log_file ./objs/srs.log;
http_api {
enabled on;
listen 1985;
}
stats {
network 0;
}
stream_caster {
enabled on;
caster gb28181;
Forward the stream to the rtmp server address and port
Please ensure that the markdown structure is maintained.
# TODO: https://github.com/ossrs/srs/pull/1679/files#r400875104
[stream] is the VideoChannelCodecID for sip (Video Channel Encoding ID for SIP)
The automatically created channel [stream] is 'chid[ssrc]' where [ssrc] is the RTP SSRC
[ssrc] is the SSRC in RTP
Please ensure that the markdown structure is maintained.
output rtmp://13.32.203.100:1935/live/[stream];
Multiplexing port for receiving RTP streams from the device end
Please ensure that the markdown structure is maintained.
listen 9000;
Minimum value for the range of listening ports for RTP reception
Please ensure that the markdown structure is maintained.
rtp_port_min 58200;
Maximum value for the range of listening ports for RTP reception
Please ensure that the markdown structure is maintained.
rtp_port_max 58300;
Whether to wait for a keyframe before forwarding
Please ensure that the markdown structure is maintained.
wait_keyframe on;
Idle waiting time for RTP packets, if no packets are received within the specified time
Please ensure that the markdown structure is maintained.
rtp_idle_timeout 60;
Whether to forward the audio stream
Please ensure that the markdown structure is maintained.
audio_enable off;
Whether to enable RTP buffering
Please ensure that the markdown structure is maintained.
jitterbuffer_enable on;
Server host number, can be a domain name or IP address
Please ensure that the markdown structure is maintained.
# TODO: https://github.com/ossrs/srs/pull/1679/files#r400917594
host 13.32.203.100;
Create an RTMP media channel based on the received PS RTP packets, no need to create it through the API interface.
Please ensure that the markdown structure is maintained.
auto_create_channel on;
Enable internal SIP signaling in SRS.
Please ensure that the markdown structure is maintained.
enabled on;
SIP listening UDP port.
Please ensure that the markdown structure is maintained.
listen 5060;
SIP server ID.
The device-side configuration number needs to be consistent with this value, otherwise registration will fail.
Please ensure that the markdown structure is maintained.
serial 13010100002000000126;
SIP server domain.
Please ensure that the markdown structure is maintained.
realm 1301010000;
Timeout for receiving response after sending ACK from the server, in seconds.
If no response is received within the specified time, it is considered a failure.
Duration for maintaining device heartbeat. If no heartbeat is received within the specified time (in seconds), it is considered that the device is offline.
Whether to automatically send an invite to the device after registration.
"on": Yes, "off": No. It needs to be controlled through the API.
Whether the port for sending streams from the device is fixed.
"on": Send streams to a multiplexing port, such as 9000.
"off": Automatically select a port from the range between rtp_mix_port and rtp_max_port that is available.
The interval, in seconds, for querying the device list from the device or subdomain.
Default is 60 seconds.
}
rtc_server {
enabled on;
# Listen at udp://8000
listen 8000;
#
# The $CANDIDATE means fetch from env, if not configed, use * as default.
#
# The * means retrieving server IP automatically, from all network interfaces,
# @see #307 (comment)
candidate 13.32.203.100;
}
vhost defaultVhost {
rtc {
enabled on;
bframe discard;
}
}
Replay
1. GB28181
2. webrtc playback
Expected Behavior (Expect)
To see more detailed logs, understand the cause of the error, and prevent the SRS service from crashing.
TRANS_BY_GPT3
The text was updated successfully, but these errors were encountered: