MCPcopy Create free account
hub / github.com/PhilLab/Android-MediaCodec-Examples / drainEncoder

Method drainEncoder

CameraToMpegTest.java:411–488  ·  view source on GitHub ↗

Extracts all pending data from the encoder and forwards it to the muxer. 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,

(boolean endOfStream)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

encodeCameraToMpegMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected