Skip to content
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

on_hls_notify duplicate [stream] param #4134

Open
cdgraff opened this issue Aug 5, 2024 · 0 comments
Open

on_hls_notify duplicate [stream] param #4134

cdgraff opened this issue Aug 5, 2024 · 0 comments

Comments

@cdgraff
Copy link

cdgraff commented Aug 5, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant