DASH Media Packaging SDK
Main Page
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
media
formats
webm
encryptor.h
1
// Copyright 2015 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 MEDIA_FORMATS_WEBM_ENCRYPTOR_H_
8
#define MEDIA_FORMATS_WEBM_ENCRYPTOR_H_
9
10
#include <vector>
11
12
#include "packager/media/base/status.h"
13
#include "packager/third_party/libwebm/src/mkvmuxer.hpp"
14
15
namespace
shaka {
16
namespace
media {
17
18
class
MediaSample;
19
20
namespace
webm {
21
24
Status UpdateTrackForEncryption(
const
std::vector<uint8_t>& key_id,
25
mkvmuxer::Track* track);
26
29
void
UpdateFrameForEncryption(MediaSample* sample);
30
31
}
// namespace webm
32
}
// namespace media
33
}
// namespace shaka
34
35
#endif // MEDIA_FORMATS_WEBM_ENCRYPTOR_H_
Generated on Thu Mar 23 2017 18:29:04 for DASH Media Packaging SDK by
1.8.6