I am using J4K library to extract raw live data from kinect in java. So far I have managed to get RAW BGRA image data from kinect and convert them to PNG. Now I need to stream them into the browser as a video. So my question is any suggestions how to turn live photo frames into live video that I can stream.
This is how I receive the frames. I have no open stream nothing just frame by frame.
@Override
public void onColorFrameEvent(byte[] color_frame) {
...image processing
}
The client where I want to receive the video is a nodejs application but I dont think it matters here.