Live video from server

I am building a baby monitor out of a raspberry pi and wanted to have a app to go along with it. I have built a couple things in meteor and think meteor would be for this project. The pi will also be the meteor server. The part I don’t know how to do is get the live video feed into the app. I don’t want to embed the stream into the app cause I want the stream to be password protected. Any idea on how this can be done?

What do you mean by ‘embed the stream’ ?

I have never tried this, but apparently you can use webRTC on a LAN :

Might be cool to try out.

By embed I mean create a stream with vlc and use something like jwplayer on a page in meteor that points to the stream.

I found this https://atmospherejs.com/fds/webrtc but that looks like it client to client and not client to server. Aslo I want this to work outside of home not just locally.