Create a basic frontend and an endpoint to get video stream.
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
use std::any::Any;
|
||||
use uuid::Uuid;
|
||||
|
||||
pub enum VideoFormat {
|
||||
@@ -8,7 +9,9 @@ pub enum VideoFormat {
|
||||
UNKNOWN
|
||||
}
|
||||
|
||||
pub trait VideoFile {}
|
||||
pub trait VideoFile: Any {
|
||||
fn as_any(&self) -> &dyn Any;
|
||||
}
|
||||
|
||||
pub struct Video {
|
||||
pub id: Uuid,
|
||||
|
||||
Reference in New Issue
Block a user