Panic if we can't open the media file.

This commit is contained in:
Luke Curley 2023-05-26 14:59:12 -07:00
parent c09306fd8c
commit a501f91dae
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ impl transport::App for Session {
session.accept_connect_request(conn, None)?;
// TODO
let media = media::Source::new("../media/fragmented.mp4")?;
let media = media::Source::new("../media/fragmented.mp4").expect("failed to open fragmented.mp4");
let init = &media.init;
// Create a JSON header.