Get Audio Session Id from Google Meet

前端 未结 1 1223
孤独总比滥情好
孤独总比滥情好 2020-12-22 11:37

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 w

相关标签:
1条回答
  • 2020-12-22 11:47

    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

    0 讨论(0)
提交回复
热议问题