Replies: 4 comments 2 replies
|
This is unlikely to be the sort of thing we ship directly, although I'm sure a Bevy integration would be welcomed :) @tychedelia is active in the creative coding and art scene for example, where server side rendering makes a lot of sense, and there are numerous CAD users of Bevy who would be interested in that design. |
|
Great! I have a POC of spinning cube rendered on bevy headless and sent over WebRTC: Terminal 1: run mediamtx media server in docker Terminal 2: Browser: This demo assumes you have an nvidia card with cuda and nvenc |
|
We can also do the other direction: decompress video and store each frame as wgpu texture created on Bevy device. bevy-g2g-decode.mp4 |
|
Hello Again! a little update: I now have a Cargo.toml (add features = ["nvenc"] on an NVIDIA server for the zero-copy path) main.rs — swap the DefaultPlugins line for the plugin group and wrap the run: Streaming is controlled at launch: where Viewer plays game at Let me know if you have a chance to try it out. cc @tychedelia |
Uh oh!
There was an error while loading. Please reload this page.
I am developing a pure Rust media framework called glass2glass,
https://github.com/Glass2GlassHQ/glass2glass
I thought it might be useful to this project to have server side rendering over WebRTC.
Interested to hear your thoughts!
All reactions