mirror of
https://github.com/alfg/mp4-rust.git
synced 2024-05-20 01:08:06 +00:00
20 lines
330 B
Rust
20 lines
330 B
Rust
use std::{
|
|
pin::Pin,
|
|
task::{Context, Poll},
|
|
};
|
|
|
|
use futures::Stream;
|
|
|
|
use crate::Error;
|
|
|
|
pub struct Mp4Frame {}
|
|
|
|
pub struct Mp4Stream {}
|
|
impl Stream for Mp4Stream {
|
|
type Item = Result<Mp4Frame, Error>;
|
|
|
|
fn poll_next(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Option<Self::Item>> {
|
|
todo!()
|
|
}
|
|
}
|