Home
last modified time | relevance | path

Searched refs:video_file (Results 1 – 6 of 6) sorted by relevance

/webrtc/examples/examples/play-from-disk-renegotiation/
H A Dplay-from-disk-renegotiation.rs194 let video_file = { in add_video() localVariable
199 if let Some(video_file) = video_file { in add_video()
201 let _ = write_video_to_track(video_file, video_track).await; in add_video()
278 let video_file = matches.value_of("video"); in main() localVariable
280 if let Some(video_file) = video_file { in main()
281 if !Path::new(video_file).exists() { in main()
285 *vf = Some(video_file.to_owned()); in main()
375 async fn write_video_to_track(video_file: String, t: Arc<TrackLocalStaticSample>) -> Result<()> { in write_video_to_track()
379 let file = File::open(video_file)?; in write_video_to_track()
/webrtc/examples/examples/play-from-disk-h264/
H A Dplay-from-disk-h264.rs89 let video_file = matches.value_of("video"); in main() localVariable
92 if let Some(video_path) = &video_file { in main()
145 if let Some(video_file) = video_file { in main()
170 let video_file_name = video_file.to_owned(); in main()
/webrtc/examples/examples/play-from-disk-vpx/
H A Dplay-from-disk-vpx.rs95 let video_file = matches.value_of("video"); in main() localVariable
98 if let Some(video_path) = &video_file { in main()
151 if let Some(video_file) = video_file { in main()
180 let video_file_name = video_file.to_owned(); in main()
/webrtc/examples/examples/insertable-streams/
H A Dinsertable-streams.rs81 let video_file = matches.value_of("video").unwrap(); in main() localVariable
82 if !Path::new(video_file).exists() { in main()
150 let video_file_name = video_file.to_owned(); in main()
/webrtc/examples/examples/save-to-disk-h264/
H A Dsave-to-disk-h264.rs119 let video_file = matches.value_of("video").unwrap(); in main() localVariable
123 Arc::new(Mutex::new(H264Writer::new(File::create(video_file)?))); in main()
/webrtc/examples/examples/save-to-disk-vpx/
H A Dsave-to-disk-vpx.rs126 let video_file = matches.value_of("video").unwrap(); in main() localVariable
131 File::create(video_file)?, in main()