From 101afc44065a01468395da22bad5103f750bdf10 Mon Sep 17 00:00:00 2001 From: Muaz Ahmad Date: Thu, 5 Oct 2023 15:35:16 +0500 Subject: [PATCH] placeholder for FLV demuxing --- src/demux/flv.rs | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/demux/flv.rs diff --git a/src/demux/flv.rs b/src/demux/flv.rs new file mode 100644 index 0000000..612d5e0 --- /dev/null +++ b/src/demux/flv.rs @@ -0,0 +1,23 @@ +use std::error::Error; +use std::io; +use std::io::Read; + +use crate::util; +use crate::demux::input; + +pub struct FLVReader { + stdin: io::Stdin +} + +impl input::FileReader for FLVReader { + fn init(&mut self) -> Result> { + todo!(); + } + fn read_nalu(&mut self) -> Result> { + todo!(); + } +} + +pub fn new_reader(stdin: io::Stdin) -> Result> { + todo!(); +}