Get Audio Session Id From Google Meet
I am playing with DynamicsProcessing. I want to process the audio from an external application. I just require the audioSessionId for that. I have no problems with Play Music, for
Solution 1:
It can be obtained from the audioSessionId
of the active AudioRecord
because it is created just after the AudioTrack
creation and the numbers go from 8 to 8.
val audioManager = (context.getSystemService(Context.AUDIO_SERVICE) as AudioManager)
return audioManager.activeRecordingConfigurations[0].clientAudioSessionId - 8
I have checked it doing a video conference with Google Meet and equalize the voice from the other person. ;-)
https://github.com/soygabimoreno/AudioClean
Post a Comment for "Get Audio Session Id From Google Meet"