izivkov / RemoteVideoCam

MIT License
115 stars 14 forks source link

motion detection feature #16

Open st3b1t opened 2 months ago

st3b1t commented 2 months ago

your is a amazing app I have had a chance to try it and I think it is currently the most effective open source app for monitoring realtime video streaming.

I think for your use case it is important to add a simple motion detection feature. here: https://github.com/jjoe64/android-motion-detection

you find a very simple example that you can integrate with: <SurfaceView i am not a kotlin programmer but looking at the code it seems to me a simple integration. I suppose here: https://github.com/izivkov/RemoteVideoCam/blob/main/app/src/main/java/org/avmedia/remotevideocam/camera/customcomponents/WebRTCSurfaceView.kt#L12

I'm trying to do this integration myself pero I'm missing a lot of Kotlin/Android Studio development acquaintance... I managed to start in development environment RemoteVideoCam which works perfectly, connected to my local webcam so I can test. The problem is the repository I linked, it looks like an old project and I can't start it in android studio.

you maybe can give me some pointers on what part of the code to include, I assume it is a very simple thing to do for those familiar with Kotlin.

I think this issua is also useful for other contributors who have the skills to send a PR

st3b1t commented 2 months ago

this functionality could start like this: A new button on the main layot that enables or disables motion recognition that play a sound.

izivkov commented 2 months ago

This is a great idea, but I'm tied up with another project right now. If someone wants to tackle this feature, please create a pull request, and I'll be glad to assist

izivkov commented 1 month ago

@st3b1t

I'm sorry, I just don't have time to work on this project at the moment. Are you interested in contributing by creating a PR with that feature.