/** * Add a new video frame * * @param data Data * @param timestamp Timestamp * @param marker Marker bit */ public void addFrame(byte[] data, long timestamp, VideoOrientation videoOrientation) { if (fifo != null) { VideoSample sample = new VideoSample(data, timestamp, videoOrientation); fifo.addObject(sample); } }