Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Icecast-Server Icecast-Server
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 100
    • Issues 100
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 5
    • Merge requests 5
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Xiph.Org
  • Icecast-ServerIcecast-Server
  • Issues
  • #1272
Closed
Open
Created Dec 13, 2007 by muelli@muelli

Moving clients on authentication failure

I want to move a client if she didn't pass my url authentication.

e.g.

    <mount>
        <mount-name>/mount</mount-name>
        <authentication type="url">
            <option name="mount_add"    value="http://some/url"/>
            <option name="mount_remove" value="http://some/url"/>

            <option name="listener_add"    value="http://some/url"/>
            <option name="listener_remove" value="http://some/url"/>
            <option name="auth_header" value="icecast-auth-user: 1"/>
        </authentication>
        
        <!-- 1st example. Moving to other mount -->
        <on-authentication-failure>/othermount</on-authentication-failure> 
        <!-- 2nd example. Playing pre-recorded file -->
        <on-authentication-failure>/sorry.ogg</on-authentication-failure>
        <!-- 3rd example. Firstplaying pre-recorded file, then play the stream anyway (or move to other mount) -->
        <on-authentication-failure>sorry.ogg+/othermount</on-authentication-failure>
    </mount> 

Especially the 3rd example looks difficult, but I'd say it's a legitimate use-case to tell the listener that she didn't authenticate properly and is now getting e.g. a lower quality stream.

Assignee
Assign to
Time tracking