I'm trying to create app that stream radio from internet im using MediaPlayer class for that and its working fine.
i want to add recording function to the app and i use MediaRecorder class for that with this seting
recorder.setAudioSource(MediaRecorder.AudioSource.MIC);
recorder.setOutputFormat(MediaRecorder.OutputFormat.MPEG_4);
recorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB);
but i it catch the microphone sound. i want to record the stream sound only.
what i can do ?