In start stream function on the server, added the gstreamer receiver component. Gets the port that its listening on and sends it to device to start the stream and send it to that port.