placeholder for FLV demuxing

This commit is contained in:
Muaz Ahmad 2023-10-05 15:35:16 +05:00
parent c1ac9397a5
commit 101afc4406

23
src/demux/flv.rs Normal file
View file

@ -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<util::Metadata, Box<dyn Error>> {
todo!();
}
fn read_nalu(&mut self) -> Result<util::NALUPacket, Box<dyn Error>> {
todo!();
}
}
pub fn new_reader(stdin: io::Stdin) -> Result<FLVReader, Box<dyn Error>> {
todo!();
}