Shaka Packager SDK
replicator.h
1 // Copyright 2017 Google Inc. All rights reserved.
2 //
3 // Use of this source code is governed by a BSD-style
4 // license that can be found in the LICENSE file or at
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #ifndef PACKAGER_MEDIA_REPLICATOR_HANDLER_H_
8 #define PACKAGER_MEDIA_REPLICATOR_HANDLER_H_
9 
10 #include "packager/media/base/media_handler.h"
11 
12 namespace shaka {
13 namespace media {
14 
19 class Replicator : public MediaHandler {
20  private:
21  Status InitializeInternal() override;
22  Status Process(std::unique_ptr<StreamData> stream_data) override;
23  bool ValidateOutputStreamIndex(size_t stream_index) const override;
24  Status OnFlushRequest(size_t input_stream_index) override;
25 };
26 
27 } // namespace media
28 } // namespace shaka
29 
30 #endif // PACKAGER_MEDIA_REPLICATOR_HANDLER_H_
shaka
All the methods that are virtual are virtual for mocking.
Definition: gflags_hex_bytes.cc:11
shaka::media::Replicator
Definition: replicator.h:19
shaka::Status
Definition: status.h:110
shaka::media::MediaHandler
Definition: media_handler.h:154