-
Notifications
You must be signed in to change notification settings - Fork 23
Description
Hello everyone, I recently saw issue #174 and saw that people are just as interested in getting the camera streams as I am. I've been looking into this for quite a while and I made a PoC to show the research and work I've done so far. It's not a 100% implementation and not everything is worked out and the code is a lil shoddy, but it does work and I am hoping that this will spur on more development and getting more hands on. My ultimate goal is to make a library in go and other languages to facilitate getting the camera streams, it would also be relevant here as the more modern models have their ports locked down. I have made a repo to showcase and to hopefully kickstart more development into this, there are many interesting things to read up on and if you have any questions feel free to ask them. In #174 it is said that the stream is over WebSocket, I haven't seen this to be the case what could be possible is that they were looking into the developer platform which can do HLS/DASH streaming too it may also have support for developers to initiate and recieve streams over WebSocket but the official applications do not use WebSockets in my network analysis and instead use a semi-custom protocol over TCP or UDP. I am interested in getting this working and getting the camera streams on home assistant as I am sure you and many others are, so I am bringing this here to see if we can all get together and hopefully get a good implementation. Currently it just gets the stream and spits out the data in console including the decoded RTP headers, the decoding of audio and video is more complicated and I am still looking into this. I am willing to help and answer any questions, I also have discord too if that's better for communication.