• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

Android Connecting to a Live Stream for Music

RyanC

Member
Hi All,

I'm looking to make my game connect to a live stream radio station.

Any one know the best method to do this?
 
Last edited:

PNelly

Member
See if the online radio service you're interested in has API documentation, which will have information about how to interact with their service. It's currently fashionable for web apps to use RESTful API's that are built on top of http, json, and oauth, so expect to see that kind of stuff.

As an example, (unofficial) Pandora API documentation: https://6xq.net/pandora-apidoc/json/

Building an API client brings a lot of topics together into one project that most GM users would find pretty advanced, and it can be obnoxious even when you have the right tools for the job (ideally strong web programming skills, quality documentation, perhaps even a purpose built library). Every web service API has it's own individual quirks, and authentication can be tough to figure out. It's ambitious project to say the least for GameMaker.
 
Top