Closed dw8869 closed 2 years ago
AudioOutput is not working on iOS. We develop screen recordings using NatCorder. Audio mode set to Unity in script.
MediaPlayer mediaPlayer = transform.gameObject.AddComponent<MediaPlayer>(); mediaPlayer.PlatformOptionsIOS.audioMode = MediaPlayer.OptionsApple.AudioMode.Unity; mediaPlayer.PlatformOptionsMacOSX.audioMode = MediaPlayer.OptionsApple.AudioMode.Unity;
But, audio listener does not seem to detect a sound output.
When i playing the Demo_MediaPlayer scene in Windows Editor, there was no sound when disable AudioSource component. But, MacEditor has sound.
Demo_MediaPlayer
Unity: Audio is played by Unity via the AudioOutput component. HLS media is not supported and will continue to playback in system direct mode regardless of the chosen audio mode.
Okay.
AudioOutput is not working on iOS. We develop screen recordings using NatCorder. Audio mode set to Unity in script.
But, audio listener does not seem to detect a sound output.
When i playing the
Demo_MediaPlayer
scene in Windows Editor, there was no sound when disable AudioSource component. But, MacEditor has sound.