implement screen capture by using MediaProjectionManager, VirtualDisplay, MediaCodec and MediaMuxer APIs