Kodi and Webcam Streaming Together

I would like to know if the Pi 2 is capable of running Kodi while also streaming a webcam across the network?
I had something working before reformatting the other day, but every once in a while it would loose it’s network connection or need to start motion over again. I don’t know if it was because I was asking too much from the pi, or if it was because of some other conflicts that I had that eventually led me to formatting and starting over.

Before I dive into it and possibly screw up files all over again I wanted to see if it can/should be done.

I also would really prefer a video stream, in place of a mjpeg stream where it’s choppy. I saw a tutorial using vlc, but it looked like you had to use the camera module, which I do not have.