//in AudioPlayerProxy.java:
@Kroll.method
public int getAudioSessionId() {
MediaPlayerWrapper s = getSound();
if (s != null) {
return s.getAudioSessionId();
}
return 0;
}
//in MediaPlayerWrapper.java:
public int getAudioSessionId() {
int id = 0;
if (mp != null) {
id = mp.getAudioSessionId();
}
return id;
}
Hi,
for using of visualizer (https://github.com/AppWerft/Ti.AudioVisualizerView) I propose the add 2 methodes:
Cheers!