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 <cstdint>
11
#include <vector>
12
13
#include <mkvmuxer/mkvmuxer.h>
14
15
#include <packager/status.h>
16
17
namespace
shaka
{
18
namespace
media {
19
20
class
MediaSample;
21
22
namespace
webm {
23
26
Status UpdateTrackForEncryption(
const
std::vector<uint8_t>& key_id,
27
mkvmuxer::Track* track);
28
31
void
UpdateFrameForEncryption(MediaSample* sample);
32
33
}
// namespace webm
34
}
// namespace media
35
}
// namespace shaka
36
37
#endif
// PACKAGER_MEDIA_FORMATS_WEBM_ENCRYPTOR_H_
shaka
All the methods that are virtual are virtual for mocking.
Definition
crypto_flags.cc:70
Generated on Thu Mar 5 2026 03:54:55 for Shaka Packager SDK by
1.9.8