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

Metadata with auth url enabled #455

Open
mrrobot-brascast opened this issue Jul 16, 2024 · 2 comments
Open

Metadata with auth url enabled #455

mrrobot-brascast opened this issue Jul 16, 2024 · 2 comments

Comments

@mrrobot-brascast
Copy link

mrrobot-brascast commented Jul 16, 2024

I'm having problems sending metadata when I'm using the auth url. My settings are below:

<mount>
    <mount-name>/live</mount-name>
    <authentication type="url">
    	<option name="mount_add" value="http://auth.mystream.com/stream_start.php"/>
        <option name="mount_remove" value="http://auth.mystream.com/stream_end.php"/>
        <option name="listener_add" value="http://auth.mystream.com/listener_joined.php"/>
        <option name="listener_remove" value="http://auth.mystream.com/listener_left.php"/>
        <option name="username" value="user"/>
        <option name="password" value="pass"/>
        <option name="auth_header" value="icecast-auth-user: 1"/>
        <option name="timelimit_header" value="icecast-auth-timelimit:"/>
        <option name="headers" value="x-pragma,x-token"/>
        <option name="header_prefix" value="ClientHeader."/>
        <option name="stream_auth" value="http://auth.mystream.com/source.php"/>
    </authentication>
</mount>
@mooseh
Copy link

mooseh commented Aug 9, 2024

these authentication settings are for clients connecting to the streams, I do not think they are for the contribution / metadata auth.
metadata will always be source : {password}

the password will be defined by the <source-password> element.

@mrrobot-brascast
Copy link
Author

I understand. But if I don't add any verification in stream_auth, I just return the header: icecast-auth-user: 1. The metadata works. But it is necessary to add verification otherwise anyone can connect...

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

2 participants