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

IP Camera Support #47

Open
ewilken opened this issue Jun 27, 2021 · 3 comments
Open

IP Camera Support #47

ewilken opened this issue Jun 27, 2021 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@ewilken
Copy link
Owner

ewilken commented Jun 27, 2021

No description provided.

@ewilken ewilken added the help wanted Extra attention is needed label Jun 27, 2021
@thinkier
Copy link

thinkier commented Jul 24, 2022

I've played with splicing H.264 streams but Apple's specs demand RTP and SRTP. At a glance, it appears that there's a rust implementation of RTP. Unfortunately, SRTP doesn't appear to be a "wrap it in TLS" kind of protocol. So a pure-rust stack where the handler accepts an H.264 stream appears to be a dead end.

(Correction on the above, there is an SRTP library)

Thus far, I've piggybacked my camera-related makes on homebridge-camera-ffmpeg, and they solved this problem by offloading the SRTP server to ffmpeg. So this functionality must be feature-gated and it's likely that it will not be available on any environment that doesn't support a full OS stack (eg. an RPi Pico with a camera)

@ewilken
Copy link
Owner Author

ewilken commented Jul 24, 2022

Oh wow! Thanks a lot for the effort so far! 🙂 Using FFmpeg and feature-gating video-related functionality sounds like a very good start to me. As of right now, none of this crate is no_std compatible anyway.

@soundprojects
Copy link
Contributor

https://github.com/brutella/hkcam

So I guess this is possible, also for RPI
I'll look into if there may be some porting possible on this

kstasik added a commit to kstasik/hap-rs that referenced this issue Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants