-
1. Re: StageVideo on iOS Produces No Sound
Apocalyptic0n3 Aug 30, 2013 9:24 AM (in response to Apocalyptic0n3)As an update, I have tested it on AIR 3.6 and AIR 3.7 as well as Flex 4.9 with both of them and I still get no sound. So that means one of the following:
- This is a longstanding AIR bug (unlikely)
- There is a problem with my iPad (unlikely)
- I have something configured wrong with my app
Does anyone have any idea of any setting of compiler configuration that could be causing this? I'm at a loss here.
-
2. Re: StageVideo on iOS Produces No Sound
Apocalyptic0n3 Aug 30, 2013 9:43 AM (in response to Apocalyptic0n3)Okay, so I am a complete idiot. I have been troubleshooting this for a few hours now and of course the mute switch was on. I didn't even think about it for two reasons:
- I didn't think AIR apps were affected by the mute switch. In fact, I've read several posts saying they weren't. My guess is AIR isn't, but StageVideo, which uses the native video capabilities, is. Honest mistake there
- My personal iPad uses the mute switch to lock orientation so I forgot that it even worked as a mute switch
Crisis averted. Sorry if this lost anyone any time trying to figure out the problem. I do feel like a complete idiot here.
-
3. Re: StageVideo on iOS Produces No Sound
Colin Holgate Aug 30, 2013 9:48 AM (in response to Apocalyptic0n3)There is a setting you can use to honor the mute switch:
SoundMixer.audioPlaybackMode = AudioPlaybackMode.AMBIENT;
If you haven’t done that, then the mute switch shouldn’t be used.
The general case with iOS is that video doesn’t honor the switch, but all other app sounds do. If you were playing video with StageWebView, the audio might well have been heard.
-
4. Re: StageVideo on iOS Produces No Sound
Apocalyptic0n3 Aug 30, 2013 9:53 AM (in response to Colin Holgate)I didn't have that set and it still obeyed the mute switch. I tried all three settings available in the AudioPlaybackMode class and they all obeyed the mute switch. Regardless, good to know of the setting. Thanks
-
5. Re: StageVideo on iOS Produces No Sound
Leafcutter Sep 4, 2013 11:39 PM (in response to Apocalyptic0n3)We had a problem with StageVideo on some iPad 2s where the audio wouldn't be audible until you played another sound first (i.e. a beep). The exact same code worked on iPad1 and iPad3 with no problems. So now for our video apps we just play a silent sound on startup and this seems to get everything warmed up enough to subsequently work ok.



