@Test(expected = UnsupportedOperationException.class) public void pull_shouldThrowUnsupportedOperationException() { VideoEncoder videoEncoder = create.videoEncoder().construct(); videoEncoder.pull(create.frame().construct()); }
@Override public void pull(Frame frame) { throw new UnsupportedOperationException("Unexpected call of pull() in Encoder."); }
Encoder extends MediaCodecPlugin implements ITransform, ISurfaceCreator { @Override public void pull(Frame frame) { throw new UnsupportedOperationException("Unexpected call of pull() in Encoder."); } }
Encoder extends MediaCodecPlugin implements ITransform, ISurfaceCreator { @Override public void pull(Frame frame) { throw new UnsupportedOperationException("Unexpected call of pull() in Encoder."); } Encoder(IMediaCodec mediaCodec); }
Encoder extends MediaCodecPlugin implements ITransform, ISurfaceCreator { @Override public void pull(Frame frame) { throw new UnsupportedOperationException("Unexpected call of pull() in Encoder."); } Encoder(IMediaCodec mediaCodec); @Override ISurface getSurface(); @Override ISurface getSimpleSurface(IEglContext eglContext); @Override void checkIfOutputQueueHasData(); @Override void push(Frame frame); @Override void configure(); @Override void onSurfaceAvailable(IOnSurfaceReady listener); @Override void pull(Frame frame); @Override void releaseOutputBuffer(int outputBufferIndex); @Override void setTrackId(int trackId); @Override void close(); }
Encoder extends MediaCodecPlugin implements ITransform, ISurfaceCreator { @Override public void pull(Frame frame) { throw new UnsupportedOperationException("Unexpected call of pull() in Encoder."); } Encoder(IMediaCodec mediaCodec); @Override ISurface getSurface(); @Override ISurface getSimpleSurface(IEglContext eglContext); @Override void checkIfOutputQueueHasData(); @Override void push(Frame frame); @Override void configure(); @Override void onSurfaceAvailable(IOnSurfaceReady listener); @Override void pull(Frame frame); @Override void releaseOutputBuffer(int outputBufferIndex); @Override void setTrackId(int trackId); @Override void close();  }