Home
last modified time | relevance | path

Searched refs:is_key_frame (Results 1 – 3 of 3) sorted by relevance

/xiu/protocol/rtmp/src/cache/
H A Dgop.rs55 pub fn save_frame_data(&mut self, data: FrameData, is_key_frame: bool) { in save_frame_data()
60 if is_key_frame { in save_frame_data()
H A Dmod.rs150 let is_key_frame = tag_header.frame_type == define::frame_type::KEY_FRAME; in save_video_data() localVariable
151 self.gops.save_frame_data(channel_data, is_key_frame); in save_video_data()
153 if is_key_frame && tag_header.avc_packet_type == define::avc_packet_type::AVC_SEQHDR { in save_video_data()
166 .notify_video_statistics_info(chunk_body.len(), is_key_frame) in save_video_data()
/xiu/library/streamhub/src/statistics/
H A Davstatistics.rs75 pub async fn notify_video_statistics_info(&mut self, data_size: usize, is_key_frame: bool) { in notify_video_statistics_info()
78 if is_key_frame { in notify_video_statistics_info()