kinesis_video_stream_interface.cpp
Go to the documentation of this file.
1 /*
2  * Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License").
5  * You may not use this file except in compliance with the License.
6  * A copy of the License is located at
7  *
8  * http://aws.amazon.com/apache2.0
9  *
10  * or in the "license" file accompanying this file. This file is distributed
11  * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12  * express or implied. See the License for the specific language governing
13  * permissions and limitations under the License.
14  */
15 
17 
18 namespace Aws {
19 namespace Kinesis {
20 
22 {
23  return video_stream_->isReady();
24 }
25 
27 {
28  return video_stream_->stop();
29 }
30 
32  com::amazonaws::kinesis::video::KinesisVideoFrame frame) const
33 {
34  return video_stream_->putFrame(frame);
35 }
36 
37 bool KinesisVideoStreamImpl::PutFragmentMetadata(const std::string& name,
38  const std::string& value, bool persistent)
39 {
40  return video_stream_->putFragmentMetadata(name, value, persistent);
41 }
42 
43 std::shared_ptr<com::amazonaws::kinesis::video::KinesisVideoStream>
45 {
46  return video_stream_;
47 }
48 
49 } // namespace Kinesis
50 } // namespace Aws
virtual bool PutFragmentMetadata(const std::string &name, const std::string &value, bool persistent=true) override
std::shared_ptr< com::amazonaws::kinesis::video::KinesisVideoStream > video_stream_
virtual std::shared_ptr< com::amazonaws::kinesis::video::KinesisVideoStream > GetKinesisVideoStream() override
virtual bool PutFrame(com::amazonaws::kinesis::video::KinesisVideoFrame frame) const override


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