Shaka Packager SDK
packager
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 PACKAGER_MEDIA_FORMATS_WEBM_ENCRYPTOR_H_
8
#define PACKAGER_MEDIA_FORMATS_WEBM_ENCRYPTOR_H_
9
10
#include <vector>
11
12
#include "packager/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
// PACKAGER_MEDIA_FORMATS_WEBM_ENCRYPTOR_H_
shaka
All the methods that are virtual are virtual for mocking.
Definition:
gflags_hex_bytes.cc:11
Generated on Fri Apr 9 2021 21:00:12 for Shaka Packager SDK by
1.9.1