Playing background music.

Hi Guys, 

So I have an app built and the last thing to do is to add the background music. Music that will play as soon as the app is launched. 

Heres the code I have but its not working. Could somebody explain why ? 

local soundFile = audio.loadStream("soundtrack.mp3")   audio.play(soundtrack)

It is located in the main.lua file 

This is the error appearing in the Corona Editor. Warning: audio error: Can’t play because data is NULL

Thank you 

You are defining soundFile as the stream, but you are using soundtrack in the play() method.

You are defining soundFile as the stream, but you are using soundtrack in the play() method.