media.playSound stops working after media.playVideo

I have an app that plays mp3 audio for voiceovers and also launches videos. When I first run the program media.playSound works fine everytime UNTIL I play a video using media.playVideo. After media.playVideo then all calls to media.playSound do nothing.

[code]
media.playSound( “song.mp3” ) --works fine

–… later …

local onComplete = function(event)
print( “video session ended” )
end
media.playVideo( “Movie.m4v”, true, onComplete )

–… later …

media.playSound( “song.mp3” ) --does nothing

[import]uid: 7588 topic_id: 4852 reply_id: 304852[/import]

I’m having the same problem. Is there a solution to this? Thanks. [import]uid: 8780 topic_id: 4852 reply_id: 38802[/import]

What platforms is this a problem with? My suspicion is this is iOS and is probably related to the AudioSession APIs. We currently hide these details, but there are enough permutations that I think we are going to have to expose this API.

Please submit a bug report with a simple reproducible test case.
[import]uid: 7563 topic_id: 4852 reply_id: 38814[/import]

This is happening with iOS and I’m playing a video and when it stops it is supposed to play a “caf” audio file. No matter what I try, it will not play a sound after the video is completed. Any work arounds? [import]uid: 8780 topic_id: 4852 reply_id: 38818[/import]

@ewing I tried to submit a bug report, but I don’t have a bug file. When I try to play the audio, it simply does not play without a bug report. [import]uid: 8780 topic_id: 4852 reply_id: 38821[/import]

I found your bug: 5939.
Thanks!
[import]uid: 7563 topic_id: 4852 reply_id: 38827[/import]

Is this for just iOS 3.x or also 4.x? Which versions? I just tried on an iPad 2 (4.3.x) and I hear the audio if I play it after the movie.

[import]uid: 7563 topic_id: 4852 reply_id: 38829[/import]