Skip to main content
Participant
Jun 16, 2015 1:23 PM UTC
Question

SoundMixer.computeSpectrum problems.

Hi.

SoundMixer.computeSpectrum()

not output the ByteArray during play mp4 video on mobile. (android & ios)


Why not return value?

AIR 18.0.0.142

MP4 : h.264, AAC

This topic is closed to new replies. Start a new post to keep the conversation going.

3 replies

Colin Holgate
Inspiring
Jun 16, 2015 1:44 PM UTC

MP4 video with AAC audio is handled by the hardware decoders. I'm not positive about this, but there is a chance that the sound doesn't pass through AIR at all.

Translate
Participant
Jun 17, 2015 10:46 AM UTC

Thank you.

so iphone silence mode flv video sound plays but mp4 video mute.

Translate
Colin Holgate
Inspiring
Jun 17, 2015 2:27 PM UTC

There is an audio playback mode you can use to make AIR apps honor the mute switch:

import flash.media.AudioPlaybackMode;

SoundMixer.audioPlaybackMode = AudioPlaybackMode.AMBIENT;

Translate