I have an app that manages its own GLSurfaceView and now I want to use Android 4.3\'s new MediaCodec feature that takes a Surface as input.
In all the examples I\'ve see
It seems that in API 23+ there is an API called setInputSurface(Surface):