[RESOLVED] Play sound on another channel with MediaPlayer
Hello,
I saw native MediaPlayer has a function: setAudioStreamType, wchich allows to play sound as ALARM, SYSTEM.. etc.
I want to mute MUSIC channel, because my app says some informations to user.
But, media player supports only MUSIC channel, and i'm confused.
How to play mp3 file on another channel ?
Regards,
Chris
Hello,
I saw native MediaPlayer has a function: setAudioStreamType, wchich allows to play sound as ALARM, SYSTEM.. etc.
I want to mute MUSIC channel, because my app says some informations to user.
But, media player supports only MUSIC channel, and i'm confused.
How to play mp3 file on another channel ?
Regards,
Chris
Last edited: