burger
infomaniak
infomaniak
cloud-computing-logo
Cloud Computing
web-domain-logo
Web & Domains
event-marketing-logo
Events & Marketing
  • Our products
    • Collaborative tools icon chevron
    • Web & Domains icon chevron
    • Cloud Computing icon chevron
    • Events & Marketing icon chevron
    • Streaming icon chevron

      ksuiteCollaborative suite

      Discover the collaborative suite → Discover →
    • kSuite Professional email, sovereign cloud and AI for sustainable performance
    • kSuite The suite for secure communication, storage and sharing
    • kdrive
      kDrive Store, collaborate and share your files
    • mail service
      Mail Service Create your email addresses with your domain
    • kChat
      kChat Communicate live with your teams
    • kmeet
      kMeet Organise your meetings online in complete security
    • swisstransfer
      SwissTransfer Send your files up to 50 GB free of charge.
    • kpaste
      kPaste Share and encrypt your sensitive information
    • ksuite
      Custom Brand Control the brand image of your products
    • kChat
      Chk Link reducer & QR code generator
      Find the web hosting solution you need
    • Domain name
      Domain name Reserve your domain name at the best price
    • Site Creator
      Site Creator Create your website with ease
    • web hosting
      Web Hosting Create your website with over 100 CMS
    • web hosting
      Wordpress Hosting Create your WordPress website easily
    • Cloud Server
      Cloud Server Power up your sites with guaranteed resources
    • Node.js Hosting Create a dynamic, interactive site with Node.js
    • SSL Certificat
      SSL certificates Secure your websites with an EV or DV certificate
    • Options
    • Domain privacy
      Domain Privacy Protect your domains’ private data
    • DNS Fast Anycast
      FastAnycast DNS Speed up your site access times
    • Dyn DNS
      DynDNS Access your devices remotely
    • Dyn DNS
      Renewal Warranty Secure your domains against loss and theft
      Find the right Cloud Computing solution

      Cloud services

    • public cloud
      Public Cloud (IaaS) Create your projects in a high-end, ultra-competitive Cloud
    • Cloud Server
      VPS Cloud Create a Windows / Linux server
    • Kubernetes service Deploy your containerised apps on a large scale.
    • VPS Lite
      VPS Lite Create a Windows/Linux server at a low cost
    • Database Service Manage your databases with a managed solution
    • jelastic cloud
      Jelastic Cloud (PaaS) Create your own customised environments
    • Other services

    • llm api
      AI Tools Boost your productivity with our sovereign AI
    • swiss backup
      Swiss Backup Back up your devices in the Cloud
    • nas synology
      NAS Synology Rent a NAS in our secure data centers
    • High availibility
      Very High Availability Create a multi-data center infrastructure with customised SLAs
    • Housing
      Housing Install your servers in our data centers
    • Auth Add a privacy-friendly login method to your apps
      Infomaniak Events, the independent local events portal
      Online ticketing service with a wide choice of concerts, shows and events.
    • online shop
      Ticketing Create your ticketing service and sell tickets
    • kdrive
      Access Control Control access to your events with ease
    • kdrive
      Guest manager Automate your event invitations
    • kdrive
      Newsletter Send your newsletters at competitive prices
    • Streaming radio
      Streaming radio Create and broadcast your own live radio station online
    • streaming video
      Video-Streaming Create and broadcast live events and TV online
    • VOD and AOD
      VOD & AOD service Host and broadcast your recordings without limits
  • Resources
    documentation icon Documentation
    Guides & tutorials
    API documentation
    special offers icon Special offers
    Get started for free
    Student programme
    Become an affiliate
    partner program icon Partner programme
    Find a partner
    Become a partner
    Infomaniak Academy
    support icon Support & contact
    Contact Support
    Premium support - 24/7
    Contact our sales department
    Hiring an expert
    Migrate to Infomaniak
  • About us
    forest
    icon Ecological commitment
    We pollute. But we are taking action to reduce the footprint of our services and infrastructure
    Discover our commitment →
    icon About Infomaniak
    Our vision, our values
    Our teams
    Infomaniak is recruiting
    Press and communication
    Blog and news
    icon Security
    Data confidentiality
    Bug Bounty Programme
  • Get started for free
    Sign in
  • search-icon
    close-icon
      icon

      Would your needs exceed our solutions? To find out, contact us so that we can advise you personally.

      Our flagship products:
  • search-icon
  • Get started for free
    Sign in
Price Price

Knowledge base

1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!

Knowledge base FAQ - Knowledge base Page 2/1
    6 FAQ(s) found
    Manage live streaming control (Streaming Radio)

    This guide covers the control of live broadcasting (timeshift) that allows your listeners to pause, rewind, and then return to live on your HLS streams, with a rewind depth of up to 2 hours.

     

    Preamble

    • Unlike Video Streaming, there is no scheduling tool for Timeshift on the Radio side.
    • Rewind/rewind is disabled by default on the Player to give you control over public exposure.

     

    Offer live control to listeners

    Prerequisites

    • Create or edit an HLS stream in your Radio Streaming product.

    Next:

    1. When creating (or modifying) an HLS stream, set the Buffer Memory between 00:00:25 and 02:00:00. This value between 25 seconds and 2 hours corresponds to the maximum duration during which listeners can rewind and pause the live broadcast, before returning to live. It determines the depth of live control. Examples:
      • 00:00:25 → 05:00: minimum tolerance for short pauses.
      • 10:00 → 30:00: ideal for news / talk formats.
      • 30:00 → 02:00:00: maximum comfort for music shows and events.
    2. Enable rewind in your Player (refer to this other guide) if you wish to offer it to the public (disabled by default).


    Updated 17.10.2025 Link to this FAQ:
    Has this FAQ been helpful?
    Thank you for your feedback. Improve this FAQ?
    Please do not ask any questions through this form, it is only used to improve our FAQ.
    Please use our contact form for any question.
    Your message has been sent. Thank you for suggesting an improvement to this FAQ.
    Broadcast an audio stream with SAM Cast

    SpacialAudio SAM Cast is compatible with the audio streaming offer.



    Link to this FAQ:
    Has this FAQ been helpful?
    Thank you for your feedback. Improve this FAQ?
    Please do not ask any questions through this form, it is only used to improve our FAQ.
    Please use our contact form for any question.
    Your message has been sent. Thank you for suggesting an improvement to this FAQ.
    Configure a Streaming Radio Player

    This guide details the configuration of a Player for your Streaming Radio Infomaniak.

     

    Prerequisites

    • Add 1 Player using the Infomaniak model.

     

    Configure the options of the Infomaniak Player

    Once you have linked your stream to your Player and your Player is created:

    1. Click here to access the management of your product on the Infomaniak Manager (need help?).
    2. Click directly on the name assigned to the product concerned.
    3. Click on My players in the left sidebar menu.
    4. Click on the name of the Player to configure (or add a new player by clicking on the button above):

     

    1. Appearance tab

    This is where you can choose the size of the player (large, medium, mini, or multi-radio player) and its display percentage.

    You can customize the colors of the background, buttons, and text:

    A toggle switch allows you to enable or disable the display of the tracks broadcast, with or without their broadcast times:

    • Learn more about this at the end of this guide.

    The Player can display:

    • an illustration representing the album cover, or a substitute image if it is not available,
    • a fixed image (3 Mo max.),
    • the logo of your radio, to customize here:
    • an audio spectrum visualization (Spectrogram / Spectrum).

     

    2. Broadcast tab

    This is where you can link your radio streams (HLS or not) to your Player in progress.

    Refer to this other guide regarding the choices offered concerning the management of live broadcasting:

     

    3. Tab Thumbnails

    This is where you can upload the images visible when the stream is loading, or unavailable/restricted:

     

    4. Tab Player Information

    This is where you can name your Player and decide to display or hide:

    • the title and artist instead of the radio name,
    • the number of listeners,
    • the Infomaniak logo.

     

    5. Tab Sharing Options

    A toggle switch allows you to enable or disable certain services like Facebook:

    Once enabled, a share button to these services will be visible on your Player:

     

    Broadcast history details (tab #1)

    The broadcast history allows you to replay the broadcasted music (between 1 and 40) if your stream is of type HLS only (you will then be able to define a buffer ranging from 25 seconds to 2 hours):

    The rewind and replay functionality is not enabled by default: it remains optional to comply with the restrictions of some countries or radios. Once enabled, the radio manager can choose which streams will be available for broadcasting (see tab #2 above), while the listener can select the listening quality in the Player:

     

    Position & integration of the broadcast history

    The list is viewable by choice:

    • directly under the Player,
    • on the Player,
    • or relocatable in the integration of your website...

    Indeed, it is possible to display the history in a second iframe, separate from that of the main Player. Example of URL for the Player:
    https://player-radio.infomaniak.com/2/prod/super/7cbaa24a-3510-47a4-b41e-b99218bfd507

    And for the exported history:
    https://player-radio.infomaniak.com/2/prod/history

    The two iframes must be integrated on the same page and communicate with each other to update the history or play a previously broadcasted title.

    A second integration mode allows displaying an autonomous history, without a main iframe. Simply add the Player ID to the URL:
    https://player-radio.infomaniak.com/2/prod/history/7cbaa24a-3510-47a4-b41e-b99218bfd507

    This mode is suitable, for example, for users of another Player who wish to display only the history of titles.



    Updated 17.10.2025 Link to this FAQ:
    Has this FAQ been helpful?
    Thank you for your feedback. Improve this FAQ?
    Please do not ask any questions through this form, it is only used to improve our FAQ.
    Please use our contact form for any question.
    Your message has been sent. Thank you for suggesting an improvement to this FAQ.
    Discover the benefits of an HLS stream

    This guide introduces HLS, which segments your audio for reliable, compatible, and highly distributable HTTP streaming, ideal for mobile and large audiences.

     

    What is HLS?

    HLS (HTTP Live Streaming) is a streaming protocol that cuts audio into small segments of a few seconds and publishes a .m3u8 manifest listing these segments. The Player downloads these segments via HTTP/HTTPS (ports 80/443), which facilitates caching, recovery after interruption, and large-scale distribution.

    On your Radio Streaming service, activating HLS adds an additional dedicated stream. It has its own listening URL (HLS manifest) and can be selected and prioritized in the infomaniak Player. The HLS stream coexists with your historical streams (e.g., MP3/AAC), without service disruption.

     

    Benefits for a radio stream

    • Extended compatibility: native support on iOS/iPadOS (Safari) and wide support via modern HTML5 players and third-party applications.
    • Scalability and performance: streaming via HTTP(S) easily distributable by CDN and caches; better scalability than a single continuous stream.
    • Robustness: in case of micro-cuts, the player can recover the following segments and resume quickly; less sensitive to temporary losses.
    • Network traversal: works on 80/443, generally better accepted by corporate firewalls and proxies than certain “ICY” streams.
    • Simplified HTTPS: secure delivery without plugins or exotic protocols.
    • Bitrate adaptation (ABR): when multiple variants are offered, the player can automatically switch according to network quality to limit interruptions in mobility.
    • Integration flexibility: a distinct listening point allows exposing HLS as the main, secondary, or backup stream in your Player.

     

    Specificities and points of attention

    • Latency: HLS adds latency generally in the order of a few tens of seconds (related to the size of the segments and buffering). This is normal for this protocol.
    • Compatible player required: use the infomaniak player or a player/web SDK supporting .m3u8 manifests.
    • Heterogeneous fleet: some older hardware receivers (web radios, IP car radios) only accept MP3/Icecast streams; keep their historical URLs in parallel.
    • Conditional ABR: bitrate adaptation is only effective if multiple profiles are published; otherwise, the HLS stream remains functional in single quality.


    Updated 17.10.2025 Link to this FAQ:
    Has this FAQ been helpful?
    Thank you for your feedback. Improve this FAQ?
    Please do not ask any questions through this form, it is only used to improve our FAQ.
    Please use our contact form for any question.
    Your message has been sent. Thank you for suggesting an improvement to this FAQ.
    Secure an MP3/AAC or HLS stream with a unique key

    This guide explains how to maintain control over your MP3/AAC or HLS Radio Streaming streams by activating unique key (token) protection to decide, for example, whether a listener can listen to your radio or not.

     

    Preamble

    • The principle is simple: with each connection, you will make a request to the Infomaniak API, which will return a unique token with a limited and configurable lifespan. This token will authorize anyone who possesses it to consume the stream during this period.
    • You can protect an MP3/AAC or HLS stream independently of each other (the same applies to geolocation).
    • Activating the restriction involves changing the stream configuration, which may take a few minutes to be replicated on the servers.

     

    Protect an audio stream with a unique key

    To do this, simply go to the restriction settings and activate token protection on the stream you wish to secure:

    1. Click here to access the management of your product on the Infomaniak Manager (need help?).
    2. Click directly on the name assigned to the product concerned.
    3. Click on the name of the audio stream concerned.
    4. Click on Restrictions in the left sidebar.
    5. Choose HLS if necessary.
    6. Click on the action menu â‹® located to the right of the item concerned.
    7. Click on Token Restriction:

       

    Then activate the protection.

    Warning, at the moment you activate this option, access to the stream will be instantly blocked for new connections. Adapt your Players to take into account the restriction, as illustrated in the example below:

     

    Create a Radio API Token

    To access the Radio API, you must first authenticate using an application token. This step only needs to be done once. To create this application token, refer to this other guide.

    The scope is radio and unlimited lifetime to avoid having to regenerate a code regularly. Once the token is generated, copy it to paste it in the example below.

     

    Example of use in PHP language

    For MP3/AAC or HLS, the code can be substantially the same, only the URL called in POST changes in its form.

    Paste the generated token below instead of the one indicated:

    if (!defined('API_TOKEN')) {
         define('API_TOKEN', 'AYF5lSh3c7Xy5974Fs12RTkTThujT-L9R4Xk2ZfGyP6sV7QqJ1oC3jD8nFtKzIxUeMw5oNzR6');
    }
    /**
     * Fonction générique pour executer des requêtes cURL
     *
     * @param string $method Méthode HTTP (GET, POST, PUT, etc...)
     * @param string $url Url de l'api a requĂŞter
     * @param array $headers Liste des en-têtes HTTP (l'autorisation doit être passée ici avec un ['Authorization: Bearer ']
     * @param array $payload Un tableau contenant les données pour créer un token
     * @return mixed
     */
    
    function request(string $method, string $url, array $headers = [], array $payload = []): mixed{
        // prepare options array
        $opts = [
            CURLOPT_HTTPHEADER => $headers,
            CURLOPT_RETURNTRANSFER => true,
            CURLOPT_URL => $url,
            CURLOPT_CUSTOMREQUEST => strtoupper($method),
        ];
    
        // add payload if relevant
        if ($payload && $method !== 'GET') {
            $opts[CURLOPT_POSTFIELDS] = json_encode($payload);
        }
        $ch = curl_init();
        curl_setopt_array($ch, $opts);
        $result = curl_exec($ch);
        if(curl_errno($ch)){
            throw new Exception(curl_error($ch));
        }
        $data = json_decode($result, true);
        if ($data['result'] === 'error') {
            throw new Exception($data['error']['description'] ?? 'an error occured');
    
        }
        return $data['data'];
    }

     

    We are going to create the token, the URL for creating the token is broken down as follows:

    • For an MP3/AAC stream
    POST https://api.infomaniak.com/1/radios/acl/streams/mountpoint.mp3/token

    Example to protect https://newradiotest.ice.infomaniak.ch/newradiotest-128.aac the route will be: https://api.infomaniak.com/1/radios/acl/streams/newradiotest-128.aac/token

    • For an HLS stream
    POST https://api.infomaniak.com/1/radios/acl/hls_streams/<stream>/token

    Example to protect https://myradiostream.radiohls.infomaniak.com/myradiostream/manifest.m3u8 the route will be: https://api.infomaniak.com/1/radios/acl/hls_streams/myradiostream/token

    Example in the case of MP3/AAC, remember to adjust:

    $token = request(
        'POST',
       'https://api.infomaniak.com/1/radios/acl/streams/newradiotest-128.aac/token',
        // en-tĂŞte d'authorization
        [
            'Authorization: Bearer ' . API_TOKEN,
            'Content-Type: application/json',
        ],
        /**
         * payload pour crĂ©er le token, vous pouvez passer les valeurs suivantes
         * window     | 300               | optionnel | durĂ©e de validitĂ© du token (default: 5 minutes)
         */
    
        [
            'window' => 3600, // 1h validity
        ]
    );

     

    It is important to note that if this code is generated at the time of page loading, the listener will have "window" seconds to start playing the stream. Beyond this deadline, the token will expire, and the stream will no longer be able to be started unless the page is reloaded. Depending on your needs and use case, it will be necessary to adjust this delay in the best possible way.

    You will also need to replace the playback URL of your stream below with the one indicated while keeping the parameter $token at the end. And finally, we display the Player (here a simple html5 tag, but you can of course add any overlay afterwards, the token being passed in the parameters $_GET of the url).

    $streamUrl = "https://newradiotest.ice.infomaniak.ch/newradiotest-128.aac?$token";
    echo "<audio controls=""><source src="$streamUrl"></audio>";


    Updated 17.10.2025 Link to this FAQ:
    Has this FAQ been helpful?
    Thank you for your feedback. Improve this FAQ?
    Please do not ask any questions through this form, it is only used to improve our FAQ.
    Please use our contact form for any question.
    Your message has been sent. Thank you for suggesting an improvement to this FAQ.
    Transfer an audio stream from one radio to another

    This guide explains how to transfer the audio streams present on one of your Infomaniak Streaming Radio to another of your radios, present in the same Organization.

     

    Refer to this other guide to transfer all streams from a Streaming Radio to a new owner.

     

    Transfer audio streams

    To do this:

    1. Click here to access the management of your product on the Infomaniak Manager (need help?).
    2. Click directly on the name assigned to the product in question.
    3. Click on the action menu â‹® located to the right of the relevant item.
    4. Choose Transfer:
    5. Search for and validate the name of the other radio that you own within the same Organization.
    6. Confirm the transfer:

    Refresh the Manager pages if necessary to update the displayed information.



    Link to this FAQ:
    Has this FAQ been helpful?
    Thank you for your feedback. Improve this FAQ?
    Please do not ask any questions through this form, it is only used to improve our FAQ.
    Please use our contact form for any question.
    Your message has been sent. Thank you for suggesting an improvement to this FAQ.
    Display more results If you cannot find an answer, contact us
    logo infomaniak
    Prices do not include VAT
    facebook
    twitter
    linkedin
    instagram

    Infomaniak

    About Infomaniak The team Infomaniak is recruiting Press space Infomaniak blog All certificates Products and offers Clients' opinions

    Support

    Assistance 7/7 FAQ and guides Premium Support Sales contact API REST Report abuse WHOIS Public Cloud status Service status

    Partnerships

    Become a reseller Affiliate programme Directory of partners Requests for quotes Infomaniak Academy

    Ecology

    Green hosting Certificates & awards

    Follow our development

    The email entered is invalid
    earth icon
    • EN
      • EN
      • DE
      • ES
      • FR
      • IT
    ©2025 Infomaniak - Legal documents - Legal notice - Data Protection - Privacy Policy - Site map - Manage your cookies
    bcorp-logo
    icann-logo
    swiss
    new-iso
    swiss-hosting
    logo infomaniak
    Prices do not include VAT

    Infomaniak

    About Infomaniak The team Infomaniak is recruiting Press and media Infomaniak blog All certificates Products and offers Clients' opinions

    Support

    Assistance 7/7 FAQ and guides Premium Support offer Sales contact API REST Report abuse WHOIS Public Cloud status Service status

    Partnerships

    Become a reseller Affiliate programme Directory of partners Requests for quotes Infomaniak Academy

    Ecology

    Green hosting Certificates & awards

    Follow our development

    The email entered is invalid
    bcorp-logo
    icann-logo
    swiss
    new-iso
    swiss-hosting

    facebook
    twitter
    linkedin
    instagram
    ©2025 Infomaniak
    Contracts - Legal notice - Data Protection - Privacy Policy - Site map - Manage your cookies

    Managers

    earth icon
    • EN
      • EN
      • DE
      • ES
      • FR
      • IT
    Your browser is outdated, security and browsability are no longer guaranteed. We recommend that you update it as soon as possible by clicking here.