You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the version registry.cn-hangzhou.aliyuncs.com/ossrs/oryx:5. In the configuration, I have set up an on_play callback URL, but I noticed that the callback is not triggered when the .m3u8 file is played. The callback was triggered for the .flv file, and the logs indicated that the callback was successful, but the video did not play and shortly after, the on_stop callback was triggered.
The logs are shown in the image:
The complete configuration is as follows for srs.release.conf:
The text was updated successfully, but these errors were encountered:
winlinvip
changed the title
m3u8无法触发回调以及flv文件触发回调后无法播放
The m3u8 file is not triggering the callback, and after the callback is triggered for the flv file, it cannot be played.
Mar 11, 2025
I am using the version registry.cn-hangzhou.aliyuncs.com/ossrs/oryx:5. In the configuration, I have set up an on_play callback URL, but I noticed that the callback is not triggered when the .m3u8 file is played. The callback was triggered for the .flv file, and the logs indicated that the callback was successful, but the video did not play and shortly after, the on_stop callback was triggered.
The logs are shown in the image:

The complete configuration is as follows for srs.release.conf:
listen 1935;
max_connections 1000;
srs_log_tank console;
daemon on;
disable_daemon_for_docker off;
http_api {
enabled on;
listen 127.0.0.1:1985;
raw_api {
enabled on;
allow_reload on;
}
auth {
enabled on;
username admin;
password admin;
}
}
http_server {
enabled on;
listen 8080;
dir ./objs/nginx/html;
}
rtc_server {
enabled on;
listen 8000; # UDP port
candidate $CANDIDATE;
use_auto_detect_network_ip off;
api_as_candidates off;
}
srt_server {
enabled on;
listen 10080; # UDP port
maxbw 1000000000;
connect_timeout 4000;
latency 20;
peerlatency 20;
recvlatency 20;
tlpktdrop off;
tsbpdmode off;
}
include containers/data/config/srs.server.conf;
vhost defaultVhost {
http_remux {
enabled on;
mount [vhost]/[app]/[stream].flv;
}
rtc {
enabled on;
nack on;
twcc on;
stun_timeout 30;
dtls_role passive;
rtmp_to_rtc on;
keep_bframe off;
rtc_to_rtmp on;
pli_for_rtmp 6.0;
}
}
`
TRANS_BY_GPT4
The text was updated successfully, but these errors were encountered: