Skip to main content
Participant
June 16, 2015
Question

SoundMixer.computeSpectrum problems.

  • June 16, 2015
  • 1 reply
  • 625 views

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 has been closed for replies.

1 reply

Colin Holgate
Inspiring
June 16, 2015

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.

Participant
June 17, 2015

Thank you.

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

Colin Holgate
Inspiring
June 17, 2015

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;