7 #ifndef MEDIA_FORMATS_MP4_KEY_ROTATION_FRAGMENTER_H_
8 #define MEDIA_FORMATS_MP4_KEY_ROTATION_FRAGMENTER_H_
10 #include "packager/media/base/key_source.h"
11 #include "packager/media/event/muxer_listener.h"
12 #include "packager/media/formats/mp4/encrypting_fragmenter.h"
14 namespace edash_packager {
44 KeySource::TrackType track_type,
45 int64_t crypto_period_duration,
47 VideoCodec video_codec,
48 uint8_t nalu_length_size,
63 KeySource::TrackType track_type_;
64 const int64_t crypto_period_duration_;
65 size_t prev_crypto_period_index_;
77 #endif // MEDIA_FORMATS_MP4_KEY_ROTATION_FRAGMENTER_H_