public void writeFrame(byte[] frame,long timeStamp) throws IOException {
  mOutputStream.write(makeIvfFrameHeader(frame.length,timeStamp));
  mOutputStream.write(frame);
  mFrameCount++;
}

public void writeFrame ( byte [ ] frame , long timeStamp ) throws IOException { mOutputStream . write ( makeIvfFrameHeader ( frame . length , timeStamp ) ) ; mOutputStream . write ( frame ) ; mFrameCount ++ ; }
writes a single encoded vp8 frame with its frame header .
