Added C implementation of stream realay because gstreamer is fucking shit.