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 )
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]