DASH Media Packaging SDK
Main Page
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerator
media
formats
mp2t
ts_muxer.h
1
// Copyright 2016 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_FORMATS_MP2T_TS_MUXER_H_
8
#define PACKAGER_MEDIA_FORMATS_MP2T_TS_MUXER_H_
9
10
#include "packager/base/macros.h"
11
#include "packager/media/base/muxer.h"
12
#include "packager/media/formats/mp2t/ts_segmenter.h"
13
14
namespace
edash_packager {
15
namespace
media {
16
namespace
mp2t {
17
20
class
TsMuxer
:
public
Muxer
{
21
public
:
22
explicit
TsMuxer
(
const
MuxerOptions
& muxer_options);
23
~
TsMuxer
()
override
;
24
25
private
:
26
// Muxer implementation.
27
Status
Initialize()
override
;
28
Status
Finalize()
override
;
29
Status
DoAddSample(
const
MediaStream
* stream,
30
scoped_refptr<MediaSample> sample)
override
;
31
32
TsSegmenter
segmenter_;
33
34
DISALLOW_COPY_AND_ASSIGN(
TsMuxer
);
35
};
36
37
}
// namespace mp2t
38
}
// namespace media
39
}
// namespace edash_packager
40
41
#endif // PACKAGER_MEDIA_FORMATS_MP2T_TS_MUXER_H_
edash_packager::media::Status
Definition:
status.h:75
edash_packager::media::mp2t::TsSegmenter
Definition:
ts_segmenter.h:25
edash_packager::media::mp2t::TsMuxer
Definition:
ts_muxer.h:20
edash_packager::media::Muxer
Definition:
muxer.h:33
edash_packager::media::MuxerOptions
This structure contains the list of configuration options for Muxer.
Definition:
muxer_options.h:18
edash_packager::media::MediaStream
Definition:
media_stream.h:26
Generated on Tue Apr 12 2016 23:58:01 for DASH Media Packaging SDK by
1.8.6