Real Time (or near it) restreaming of IP camera

naviathan

n3wb
Aug 4, 2015
15
1
Eastern NC
Here's my situation:
I have an IP camera setup to stream church services.
I have gstreamer and nginx-rtmp running on the local PC.
I have two TV's setup in overflow rooms to display the streams. (TV's have Raspi's attached to them)
Using gstreamer I have managed to mux the audio connection from the mix board (connected through USB utilizing direcsoundsrc module) with the video source from the camera (rtspsrc h264) which is then sent to the local nginx-rtmp server (rtmpsink). The Raspis are running OpenElec and I have a simple .strm file that connect them to the nginx server. Everything plays just fine. No real issues except for the delay. There's on average between a 3 to 8 second delay and I'm having a really hard time figuring out where the delay is coming from. It becomes an issue during the service when the speaker exclaims something then becomes quiet again. One of the overflow rooms is right next to the front of the sanctuary and it creates a delayed echo. Short of soundproofing the overflow room, what other options are out there that won't cost us an arm and leg?