Closed JahleelAbraham closed 6 months ago
One more thing. Shouldn't be a deal breaker, but. By default ffmpeg's RTSP demuxer tries to use UDP. We could match what we do in bc-server: https://github.com/bluecherrydvr/bluecherry-apps/blob/master/lib/lavf_device.cpp#L90
Issue #645 requests that a feature be added to the Web UI that allows the end user to test and preview the connection status the their devices in an effort to make it more obvious when authentication settings and paths are not correct.
This PR contains changes to the
editip
stack (/templates/ajax/editip.php
,/templates/dist/js/editip.js
,/ajax/editip.php
) and the function already contained withinlib.php
titledcheckConnection()
.This function previously incorrectly made a request for the header data of http URLs and assumed a 200 code would mean that the authentication succeeded. This was not the case. These have been substituted for an
ffprobe
command with a timeout of 5 seconds.