Search Unity

= AudioStreamIce =

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

  1. r618

    r618

    Joined:
    Jan 19, 2009
    Posts:
    1,305
    - 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,305
    reserved .o
     
  3. r618

    r618

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

    r618

    Joined:
    Jan 19, 2009
    Posts:
    1,305
    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,305
    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,305
  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,305
    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:
    44
    Last edited: Apr 3, 2023
  11. plan-systems

    plan-systems

    Joined:
    Mar 8, 2020
    Posts:
    44
    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,305
  13. r618

    r618

    Joined:
    Jan 19, 2009
    Posts:
    1,305
    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 ~
     
  14. r618

    r618

    Joined:
    Jan 19, 2009
    Posts:
    1,305
    if you encounter weird skips/glitching with certain MP3 files, please let me know - I'll expedite a fix

    // had to also update decoding lib which apparently contained incorrect audio decoding table - this shouldn't be related to the above though /

    ~ Thank you for the attention ~
     
  15. r618

    r618

    Joined:
    Jan 19, 2009
    Posts:
    1,305
    fix submitted :
    V 1.3.1 122023
    - improved handling of decoder thread when stopping/destroying
    - MPEG decoder: fixed incorrect state for certain MPEG files and updated used NLayer library build

    (FWIW although this MPEG decoder now works (much) better, it still can't parse some files/stream which e.g. AudioStream can - we can't have all things)
     
  16. r618

    r618

    Joined:
    Jan 19, 2009
    Posts:
    1,305

    -~~`
    December '23 SALE `~~-

    - For two weeks - until about ~28th - the asset is 40% OFF

    Don't forget to download demos and enjoy the holidays - \o|