Shaka Packager SDK
Loading...
Searching...
No Matches
packager
media
formats
webm
encryptor.h
1
// Copyright 2015 Google LLC. 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 <mkvmuxer/mkvmuxer.h>
13
14
#include <packager/status.h>
15
16
namespace
shaka
{
17
namespace
media {
18
19
class
MediaSample;
20
21
namespace
webm {
22
25
Status UpdateTrackForEncryption(
const
std::vector<uint8_t>& key_id,
26
mkvmuxer::Track* track);
27
30
void
UpdateFrameForEncryption(MediaSample* sample);
31
32
}
// namespace webm
33
}
// namespace media
34
}
// namespace shaka
35
36
#endif
// PACKAGER_MEDIA_FORMATS_WEBM_ENCRYPTOR_H_
shaka
All the methods that are virtual are virtual for mocking.
Definition
crypto_flags.cc:66
Generated on Fri Jan 17 2025 22:20:43 for Shaka Packager SDK by
1.9.8