7 #include "packager/media/replicator/replicator.h" 12 Status Replicator::InitializeInternal() {
16 Status Replicator::Process(std::unique_ptr<StreamData> stream_data) {
19 for (
auto& out : output_handlers()) {
20 std::unique_ptr<StreamData> copy(
new StreamData(*stream_data));
21 copy->stream_index = out.first;
23 status.Update(
Dispatch(std::move(copy)));
29 bool Replicator::ValidateOutputStreamIndex(
size_t stream_index)
const {
33 Status Replicator::OnFlushRequest(
size_t input_stream_index) {
34 DCHECK_EQ(input_stream_index, 0u);
All the methods that are virtual are virtual for mocking.