T
t0m90
Guest
I would like to recording screen with audio. I use MediaProjection and recording video via MediaCodec. It works.
(I tried to resolve with MediaRecorder: here but with very slow framerate.)
I do not know, how i add audio track.
1. How to add audio track via addTrack.
2. What with audioIndex in record() method.
3. How to writeSampleData to Muxer (method encodeToAudioTrack()).
Could you help me please? Thank you very much.
Fore better formatting code is here: http://stackoverflow.com/questions/...tion-record-screen-with-audio-from-microphone
(I tried to resolve with MediaRecorder: here but with very slow framerate.)
I do not know, how i add audio track.
1. How to add audio track via addTrack.
2. What with audioIndex in record() method.
3. How to writeSampleData to Muxer (method encodeToAudioTrack()).
Could you help me please? Thank you very much.
Fore better formatting code is here: http://stackoverflow.com/questions/...tion-record-screen-with-audio-from-microphone