public class CameraFramesSource
extends java.lang.Object
Constructor and Description |
---|
CameraFramesSource(android.media.ImageReader imageReader,
CameraMediaSourceConfiguration mediaSourceConfiguration,
EncodingCancellationToken encodingCancellationToken) |
Modifier and Type | Method and Description |
---|---|
void |
setCodecPrivateDataListener(EncoderWrapper.CodecPrivateDataAvailableListener listener) |
void |
setFramesListener(EncoderWrapper.FrameAvailableListener listener) |
void |
startEncoding(android.content.Context context,
java.util.List<android.view.Surface> previewSurfaces,
java.lang.String cameraId) |
public CameraFramesSource(android.media.ImageReader imageReader, CameraMediaSourceConfiguration mediaSourceConfiguration, EncodingCancellationToken encodingCancellationToken)
public void startEncoding(android.content.Context context, java.util.List<android.view.Surface> previewSurfaces, java.lang.String cameraId)
public void setCodecPrivateDataListener(EncoderWrapper.CodecPrivateDataAvailableListener listener)
public void setFramesListener(EncoderWrapper.FrameAvailableListener listener)
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.