srs
srs copied to clipboard
on_hls_notify duplicate [stream] param
Describe the bug
Using,
on_hls_notify https://xxxxx.x.pipedream.net/[app]/[stream]/[ts_url][param];
Send 2 times de [stream] part:
[app]/[stream]/[stream]/[ts_url]
/live/video/video/1722879774985.ts
Version SRS/7.0.0(Hang)
To Reproduce
vhost __defaultVhost__ {
http_hooks {
enabled on;
on_hls https://xxxxx.x.pipedream.net/;
on_hls_notify https://xxxxx.x.pipedream.net/[app]/[stream]/[ts_url][param];
}
hls {
enabled on;
hls_path ./objs/nginx/html;
hls_fragment 30;
hls_window 3600;
hls_dispose 3600;
hls_ts_file [app]/[stream]/[timestamp].ts;
}
}
The on_hls POST work well:
"file": "./objs/nginx/html/live/video/1722879774985.ts"
Expected behavior
/live/video/1722879774985.ts
Just one time the Stream