Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(322)

Side by Side Diff: media/formats/mp2t/ts_section_cat.h

Issue 1517473002: Support HLS MPEG2 TS with SAMPLE-AES encryption. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@encryption_scheme
Patch Set: rebase Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « media/formats/mp2t/mp2t_stream_parser_unittest.cc ('k') | media/formats/mp2t/ts_section_cat.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef MEDIA_FORMATS_MP2T_TS_SECTION_CAT_H_
6 #define MEDIA_FORMATS_MP2T_TS_SECTION_CAT_H_
7
8 #include "base/callback.h"
9 #include "base/macros.h"
10 #include "media/formats/mp2t/ts_section_psi.h"
11
12 namespace media {
13 namespace mp2t {
14
15 class TsSectionCat : public TsSectionPsi {
16 public:
17 // RegisterCencPidsCb::Run(int ca_pid, int pssh_pid);
18 using RegisterCencPidsCb = base::Callback<void(int, int)>;
19 explicit TsSectionCat(const RegisterCencPidsCb& register_cenc_ids_cb);
20 ~TsSectionCat() override;
21
22 // TsSectionPsi implementation.
23 bool ParsePsiSection(BitReader* bit_reader) override;
24 void ResetPsiSection() override;
25
26 private:
27 RegisterCencPidsCb register_cenc_ids_cb_;
28
29 // Parameters from the CAT.
30 int version_number_;
31
32 DISALLOW_COPY_AND_ASSIGN(TsSectionCat);
33 };
34
35 } // namespace mp2t
36 } // namespace media
37
38 #endif
OLDNEW
« no previous file with comments | « media/formats/mp2t/mp2t_stream_parser_unittest.cc ('k') | media/formats/mp2t/ts_section_cat.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698