Home
last modified time | relevance | path

Searched refs:second_pos (Results 1 – 2 of 2) sorted by relevance

/xiu/protocol/rtsp/src/rtp/
H A Dutils.rs93 let mut second_pos = first_pos + 3 + distance_to_first_pos; in split_annexb_and_process() localVariable
94 while second_pos > 0 && nalus[second_pos - 1] == 0 { in split_annexb_and_process()
95 second_pos -= 1; in split_annexb_and_process()
97 nalus.split_to(second_pos) in split_annexb_and_process()
146 let mut second_pos = first_pos + 3 + distance_to_first_pos; in test_annexb_split() localVariable
148 while second_pos > 0 && nalus[second_pos - 1] == 0 { in test_annexb_split()
149 second_pos -= 1; in test_annexb_split()
152 nalus.split_to(second_pos) in test_annexb_split()
/xiu/protocol/rtmp/src/remuxer/
H A Drtsp2rtmp.rs271 let mut second_pos = first_pos + 3 + distance_to_first_pos; in on_rtsp_video() localVariable
272 while second_pos > 0 && nalus[second_pos - 1] == 0 { in on_rtsp_video()
273 second_pos -= 1; in on_rtsp_video()
275 nalus.split_to(second_pos) in on_rtsp_video()