[Plugin] InGame web radio (under development)

0 favourites
  • 7 posts
From the Asset Store
You can become a REAL game developer. Learn the basics and get resources that will let you get profits from your game!
  • I was thinking to integrate an inGame radio like the GTA series, reading streams from shoutCAST in particular.

    I first tried to use the video plugin by rexrainbow, knewing that the HTML5 video tag reads even audio sources. It worked only on Chrome, the stream reads fine.

    I wanted to wrap the audio tag but it seems that Android users under 2.1 don't support the HTML5 audio tag. This feature is implemented in Gingerbread. There's a workaround that involves using the video tag instead only for Android as iOS doesn't seem to support this method.

    I wanted to write a universal "external audio file reader" for both iOS and Android user, I'm starting to wrap the audio tag but I will need help from someone else.

  • I am looking at SoundManager as a starting point

    May end up simply using an iframe in the meantime, but something more elegant would be much better!

    I have not looked at the plugin SDK yet, if I can figure it out - will post results here!

  • That would be a super-cool feature to have :)

  • Yeah, you're right. Still, I stopped working on it as it was very time consuming and, afterall, a quite unnecessary feature for my project. But it'd still be nice to have. Has anybody found a workaround?

  • I'll see if I can come up with a background shoutcast/icecast audio plugin for construct2 soon, already have created something like this and works well on ios, android and web platforms. Once I test it with construct2 as a plugin I'll post an update.

  • Maybe it would be possible to use Pode's HTML Pack and have an offscreen iframe or something? Then you'd just have to set it to autoplay songs from the embeded iframe.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • any news?

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)