Shaka Packager SDK
Loading...
Searching...
No Matches
pssh_generator_util.h
1// Copyright 2017 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_BASE_PSSH_GENERATOR_UTIL_H_
8#define PACKAGER_MEDIA_BASE_PSSH_GENERATOR_UTIL_H_
9
10#include <iostream>
11#include <memory>
12#include <set>
13#include <vector>
14
15namespace shaka {
16namespace media {
17
18std::vector<uint8_t> GenerateWidevinePsshDataFromKeyIds(
19 const std::vector<std::vector<uint8_t>>& key_ids);
20
21} // namespace media
22} // namespace shaka
23
24#endif // PACKAGER_MEDIA_BASE_PSSH_GENERATOR_UTIL_H_
All the methods that are virtual are virtual for mocking.