Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

= AudioStreamIce =

Discussion in 'Assets and Asset Store' started by r618, May 31, 2022.

  1. r618

    r618

    Joined:
    Jan 19, 2009
    Posts:
    1,272
    - a complete Unity client for SHOUTcast/Icecast streams, including cloud and local media streaming in supported formats
    - managed decoders for MPEG, OggVorbis and OggOPUS formats - compatible with most commonly accessible public streaming stations
    - customizable UnityWebRequest for all networking
    - has extensive support for iOS command center/lock screen, and background running

    CoverImage_1950x1300.png

    Demo builds:
    Windows | macOS | Android

    For more information please see also latest Documentation
    and Asset Store page
     
    Last edited: Apr 15, 2023
  2. r618

    r618

    Joined:
    Jan 19, 2009
    Posts:
    1,272
    reserved .o
     
  3. r618

    r618

    Joined:
    Jan 19, 2009
    Posts:
    1,272
    Asset v 1.0 is live / with 30% discount for a week since now /
     
  4. r618

    r618

    Joined:
    Jan 19, 2009
    Posts:
    1,272
    just submitted support for retrieving all playlist items and few fixes, hopefully it will be there soon
    demos should be already available

    V 1.1 072022 X22
    - added playlist items browsing support
    - fixed local mp3 files tags
    - fixed iOS platform Control Center + metadata
    - also fixed too tight init/download restriction
     
    Last edited: Jul 6, 2022
  5. vice39

    vice39

    Joined:
    Nov 11, 2016
    Posts:
    108
    Will this work under Linux?
     
  6. r618

    r618

    Joined:
    Jan 19, 2009
    Posts:
    1,272
    It should - nothing included is preventing it .
    If you hit any issue on Linux just let me know
    Thanks !
     
  7. r618

    r618

    Joined:
    Jan 19, 2009
    Posts:
    1,272
  8. midwinter86

    midwinter86

    Joined:
    Mar 29, 2022
    Posts:
    4
    @r618 I seem to be running into issues getting this to work in a WebGL build. This works fine in playmode in the editor but not when built and run through a browser. Any idea as to what might be causing the issue? Audio plays fine in the build using a normal audioclip. The console logs just have a "Waiting for response headers" spamming the log after playing
     
  9. r618

    r618

    Joined:
    Jan 19, 2009
    Posts:
    1,272
    I should have emphasized this more, but it is mentioned on the store page - in technical details:
    // note: since UnityWebRequest doesn't currently support WebGL in a way which would enable incremental delivery of compressed audio data, this platform is currently not supported.
    Otherwise the asset should run on any platform which has System.Threading namespace available.


    I'll make sure to update the store description to make this more visible

    / technically AudioClips can be created at runtime on WebGL, only this needs to be updating them continuously via UnityWebRequest - which doesn't work there /
    - sorry for now !

    Please let me know if you have further questions!
     
    Last edited: Jan 13, 2023
  10. plan-systems

    plan-systems

    Joined:
    Mar 8, 2020
    Posts:
    43
    Last edited: Apr 3, 2023
  11. plan-systems

    plan-systems

    Joined:
    Mar 8, 2020
    Posts:
    43
    If it matters, the goal is to be able to play on iOS and android from a network stream, be able to play in the background (bypass Unity audio), and when the app is active, send fft data to the music visualizer.
     
  12. r618

    r618

    Joined:
    Jan 19, 2009
    Posts:
    1,272
  13. r618

    r618

    Joined:
    Jan 19, 2009
    Posts:
    1,272
    small update pushed:

    (prev. V 1.2 102022
    - demo - added AudioTextures)

    V 1.3 092023
    - added optional System.Net.HttpWebRequest backed 'attemptToResolveUrlRedirection' flag to resolve Url redirects when connecting

    // min. supported Unity version is 2019.4.5 due to bug in Il2CPP builds in lower versions

    Linux build of the demo is also available ~