Shaka Packager SDK
Main Page
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
packager
media
replicator
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::media::MediaHandler
Definition:
media_handler.h:128
shaka::Status
Definition:
status.h:110
shaka::media::Replicator
Definition:
replicator.h:19
Generated on Tue Oct 24 2017 15:50:09 for Shaka Packager SDK by
1.8.6