22 std::unique_ptr<com::amazonaws::kinesis::video::StreamDefinition> stream_definition)
24 auto video_stream =
video_producer_->createStreamSync(std::move(stream_definition));
25 return std::make_shared<KinesisVideoStreamImpl>(video_stream);
29 std::shared_ptr<KinesisVideoStreamInterface> kinesis_video_stream)
31 auto video_stream = kinesis_video_stream->GetKinesisVideoStream();
32 if (
nullptr != video_stream) {
virtual std::shared_ptr< KinesisVideoStreamInterface > CreateStreamSync(std::unique_ptr< com::amazonaws::kinesis::video::StreamDefinition > stream_definition) override
virtual void FreeStream(std::shared_ptr< KinesisVideoStreamInterface > kinesis_video_stream) override
std::unique_ptr< com::amazonaws::kinesis::video::KinesisVideoProducer > video_producer_