I have a task to record user activity in webview, in other words, I need to create a mp4 video file when the user goes to webview. Pretty complicated :) I, who introduced MediaCodec in Android 4.3: was expanded to include a way to provide input via Surface (via the createInputSurface method). This allows you to enter data from a camera preview or OpenGL ES rendering. I even find an example where you can write a game written in opengl: http://bigflake.com/mediacodec/
My question is: how can I register web browsing activity? I suppose that if I could draw the contents of a webview to create a texture, than everything would be fine. But I do not know how to do this.
Can someone help me with this?
source
share