Shaka Packager SDK
Loading...
Searching...
No Matches
packager
media
replicator
replicator.h
1
// Copyright 2017 Google LLC. 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::media::MediaHandler
Definition
media_handler.h:157
shaka::media::Replicator
Definition
replicator.h:19
shaka
All the methods that are virtual are virtual for mocking.
Definition
crypto_flags.cc:66
Generated on Fri Jan 17 2025 22:20:43 for Shaka Packager SDK by
1.9.8