I’m currently evaluating the Gocoder SDK and I’m wondering if it’s possible to provide a video stream as a series of images submitted to the SDK at regular intervals (e.g. in NV21 format), as opposed to streaming video captured by the camera.
What I’d like to do is open the camera myself and capture frames using the Android Camera.PreviewCallback, then modify these frames and submit them to the Gocoder SDK for streaming. The exact form in which I submit them isn’t important, if I have to submit them as a Surface or TextureSurface or byte array or whatever that would be fine.
Is something like this possible? I’ve looked through the SDK samples and it seems like the SDK is handling all the camera stuff itself.