public class ProducerStreamSink
extends java.lang.Object
implements com.amazonaws.kinesisvideo.internal.client.mediasource.MediaSourceSink
Constructor and Description |
---|
ProducerStreamSink(com.amazonaws.kinesisvideo.internal.producer.KinesisVideoProducerStream producerStream) |
Modifier and Type | Method and Description |
---|---|
com.amazonaws.kinesisvideo.internal.producer.KinesisVideoProducerStream |
getProducerStream() |
void |
onCodecPrivateData(byte[] bytes) |
void |
onFragmentMetadata(java.lang.String metadataName,
java.lang.String metadataValue,
boolean persistent) |
void |
onFrame(KinesisVideoFrame kinesisVideoFrame)
Offers a frame from the source.
|
public ProducerStreamSink(com.amazonaws.kinesisvideo.internal.producer.KinesisVideoProducerStream producerStream)
public void onFrame(KinesisVideoFrame kinesisVideoFrame) throws KinesisVideoException
com.amazonaws.kinesisvideo.internal.client.mediasource.MediaSourceSink
onFrame
in interface com.amazonaws.kinesisvideo.internal.client.mediasource.MediaSourceSink
KinesisVideoException
public void onCodecPrivateData(byte[] bytes) throws KinesisVideoException
onCodecPrivateData
in interface com.amazonaws.kinesisvideo.internal.client.mediasource.MediaSourceSink
KinesisVideoException
public void onFragmentMetadata(java.lang.String metadataName, java.lang.String metadataValue, boolean persistent) throws KinesisVideoException
onFragmentMetadata
in interface com.amazonaws.kinesisvideo.internal.client.mediasource.MediaSourceSink
KinesisVideoException
public com.amazonaws.kinesisvideo.internal.producer.KinesisVideoProducerStream getProducerStream()
getProducerStream
in interface com.amazonaws.kinesisvideo.internal.client.mediasource.MediaSourceSink
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.