7 #ifndef MEDIA_FORMATS_MP4_KEY_ROTATION_FRAGMENTER_H_
8 #define MEDIA_FORMATS_MP4_KEY_ROTATION_FRAGMENTER_H_
10 #include "packager/media/base/fourccs.h"
11 #include "packager/media/base/key_source.h"
12 #include "packager/media/event/muxer_listener.h"
13 #include "packager/media/formats/mp4/encrypting_fragmenter.h"
15 namespace edash_packager {
44 scoped_refptr<StreamInfo> info,
47 KeySource::TrackType track_type,
48 int64_t crypto_period_duration,
50 FourCC protection_scheme,
51 uint8_t crypt_byte_block,
52 uint8_t skip_byte_block,
67 KeySource::TrackType track_type_;
68 const int64_t crypto_period_duration_;
69 size_t prev_crypto_period_index_;
81 #endif // MEDIA_FORMATS_MP4_KEY_ROTATION_FRAGMENTER_H_