fix notification icon bug on some devices ...
This is a FFmpeg 4.0 android library demo built over android MediaCodec Encoders(H.264, AAC).
You - as a developer - can easily cast android screen with this library to Network (RTSP, RTMP, UDP, ...) including File.
--- github ---
https://github.com/iocaster/ScreenCastDemoApp
--- APIs ---
1) prepare an instance
mMC264Recorder = new MC264ScreenRecorder();
mMC264Recorder.registerCallback( new MyMC264RecorderCallback() );
mMC264Recorder.init( this );
mMC264Recorder.onActivityResult(requestCode, resultCode, data);
mMC264Recorder.setCaptureSize( mDisplayWidth, mDisplayHeight );
mMC264Recorder.setDst(capDstStr);
mMC264Recorder.setLandscapeMode(true/false);
2) start
mMC264Recorder.start();
3) stop
mMC264Recorder.stop();
4) release
mMC264Recorder.release();