Set media URL's based on mediamtx API URL or special ENV variable
Set the URL's provided by the cameras based on:
-
MEDIAMTX_HOST
Environmental Variable - hostname from the
MEDIAMTX_API_URL
Environmental Variable - the
window.location.origin
Set the URL's provided by the cameras based on:
MEDIAMTX_HOST
Environmental VariableMEDIAMTX_API_URL
Environmental Variablewindow.location.origin