placeholder for FLV demuxing
This commit is contained in:
parent
c1ac9397a5
commit
101afc4406
1 changed files with 23 additions and 0 deletions
23
src/demux/flv.rs
Normal file
23
src/demux/flv.rs
Normal 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!();
|
||||
}
|
Loading…
Reference in a new issue