Skip to content

Commit

Permalink
chore: upgrade docs (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
cs50victor authored Feb 19, 2024
1 parent f66746f commit 9ffc2c1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
Binary file added .github/assets/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
# new_media

## notes to self
- only "audio" feature MUST be real-time "lipsync"
- focus on primarily building realistic camera features not visual effects existing video editing programs (i.e Davinci) work on.

## demo
![screenshot of demo](.github/assets/screenshot.png)

- run web: `pnpm --dir=demo dev`
- run server: `docker run -it -p 8080:8080 $(docker build -f Dockerfile.dev -q .)`

```
- only "audio" feature MUST be real-time "lipsync"
- focus on primarily building realistic camera features not visual effects existing video editing programs (i.e Davinci) work on.
```
4 changes: 1 addition & 3 deletions crates/bevy_remote_asset/src/web_asset_source.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ impl WebAssetReader {
}

async fn get<'a>(path: PathBuf) -> Result<Box<Reader<'a>>, AssetReaderError> {
println!("get");
println!("get | {path:?}");

use std::{
future::Future,
Expand Down Expand Up @@ -91,8 +91,6 @@ async fn get<'a>(path: PathBuf) -> Result<Box<Reader<'a>>, AssetReaderError> {
};
}

println!("{}", response.status());

match response.status() {
StatusCode::Ok => Ok(Box::new(VecReader::new(
ContinuousPoll(response.body_bytes())
Expand Down

0 comments on commit 9ffc2c1

Please sign in to comment.