Public Member Functions | List of all members
Aws::Kinesis::KinesisVideoStreamInterface Class Referenceabstract

#include <kinesis_video_stream_interface.h>

Inheritance diagram for Aws::Kinesis::KinesisVideoStreamInterface:
Inheritance graph

Public Member Functions

virtual std::shared_ptr< com::amazonaws::kinesis::video::KinesisVideoStream > GetKinesisVideoStream ()
virtual bool IsReady () const =0
virtual bool PutFragmentMetadata (const std::string &name, const std::string &value, bool persistent=true)=0
virtual bool PutFrame (com::amazonaws::kinesis::video::KinesisVideoFrame frame) const =0
virtual bool Stop ()=0
virtual ~KinesisVideoStreamInterface ()

Detailed Description

Definition at line 23 of file kinesis_video_stream_interface.h.

Constructor & Destructor Documentation

virtual Aws::Kinesis::KinesisVideoStreamInterface::~KinesisVideoStreamInterface ( )

Definition at line 67 of file kinesis_video_stream_interface.h.

Member Function Documentation

virtual std::shared_ptr<com::amazonaws::kinesis::video::KinesisVideoStream> Aws::Kinesis::KinesisVideoStreamInterface::GetKinesisVideoStream ( )

Reimplemented in Aws::Kinesis::KinesisVideoStreamImpl.

Definition at line 63 of file kinesis_video_stream_interface.h.

virtual bool Aws::Kinesis::KinesisVideoStreamInterface::IsReady ( ) const
pure virtual
true if the stream is ready, false otherwise.

Implemented in Aws::Kinesis::KinesisVideoStreamImpl.

virtual bool Aws::Kinesis::KinesisVideoStreamInterface::PutFragmentMetadata ( const std::string &  name,
const std::string &  value,
bool  persistent = true 
pure virtual

Appends a "metadata" - a key/value string pair into the stream.

NOTE: The metadata is modeled as MKV tags and are not immediately put into the stream as it might break the fragment. This is a limitation of MKV format as Tags are level 1 elements. Instead, they will be accumulated and inserted in-between the fragments and at the end of the stream.

1name - the metadata name.
2value - the metadata value.
3persistent - whether the metadata is persistent.

Implemented in Aws::Kinesis::KinesisVideoStreamImpl.

virtual bool Aws::Kinesis::KinesisVideoStreamInterface::PutFrame ( com::amazonaws::kinesis::video::KinesisVideoFrame  frame) const
pure virtual

Packages and streams the frame to Kinesis Video service.

frameThe frame to be packaged and streamed.
true if the encoder accepted the frame and false otherwise.

Implemented in Aws::Kinesis::KinesisVideoStreamImpl.

virtual bool Aws::Kinesis::KinesisVideoStreamInterface::Stop ( )
pure virtual

Stops the the stream. Consecutive calls will fail until start is called again.

NOTE: The function is async and will return immediately but the stream buffer will continue emptying until it's finished and the close stream will be called.

Implemented in Aws::Kinesis::KinesisVideoStreamImpl.

The documentation for this class was generated from the following file:

Author(s): AWS RoboMaker
autogenerated on Thu Mar 4 2021 03:28:41