Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add demo to open Bambu X1 Carbon live stream #66

Closed
wants to merge 2 commits into from

Conversation

jamwaffles
Copy link
Contributor

This needs more work to integrate it into the server (e.g. providing a WebRTC endpoint, dynamic IP and access code), but as it stands it's now possible to get video frames from the printer.

This has been a huge pain in the arse because there isn't a good RTSP auth crate that I could find, so that was written from scratch. Additionally, the network data that comes out of the printer starts with this weird 0x2400(len low)(len high) 4 byte preamble that I couldn't find in any specs anywhere, so that confused me for days as it meant none of the H.264 decoders I tried would pick up a frame.

I'm sick of reading hex off the command line so I'll present this code as-is for someone else (maybe me later lol) to integrate into machine-api proper.

I've left my NOTES.md in as it might prove helpful in the future, but be aware the file is pretty much a live stream (hah)/dumping ground of things I found in my travels.

Makes steps towards closing #52

@jessfraz
Copy link
Contributor

THIS IS AWESOME!

@jamwaffles
Copy link
Contributor Author

Closing in favour of #128 which uses a branch not in my fork.

@jamwaffles jamwaffles closed this Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants