java.lang.Object
public SdlEncoder()
public void setFrameRate(int iVal)
public void setFrameInterval(int iVal)
public void setFrameWidth(int iVal)
public void setFrameHeight(int iVal)
public void setBitrate(int iVal)
public void setOutputStream(PipedOutputStream mStream)
public void setOutputListener(IVideoStreamListener listener)
public android.view.Surface prepareEncoder()
public void startEncoder()
Releases encoder resources.
public void releaseEncoder()
Extracts all pending data from the encoder
If endOfStream is not set, this returns when there is no more data to drain. If it is set, we send EOS to the encoder, and then iterate until we see EOS on the output. Calling this with endOfStream set should be done once, right before stopping the muxer.
public void drainEncoder(boolean endOfStream)
From Class | Methods |
---|---|
java.lang.Object | getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize |