DroppingMediaElement
Element that filters media according to given parameters. The idea is that we have periods of accepting tags followed by periods of rejection. The duration of these periods are given by the parameters, in miliseconds.
Parameters:
- string media_filtered_
- name of the media to filter - we accept only requests to this media
- bigint audio_accept_period_ms_
- we accept audio for this long
- bigint audio_drop_period_ms_
- ..then we reject audio for this long.
- bigint video_accept_period_ms_
- we accept audio for this long
- bigint video_drop_period_ms_
- ..then we reject video this long.
- bool drop_headers_
- if this is true, we drop all tags regarded as headers (normally set this to false).
- bool drop_control_
- if this is true, we drop all tags regarded as control tags (normally set this to false).
- int video_grace_period_key_frames_
- when starting we do not drop anything until we passed throug these many key video frames (for non h264 encoded flv, set this to -1).
