Set media URL's based on mediamtx API URL or special ENV variable
Set the URL's provided by the cameras based on:
-
MEDIAMTX_HOSTEnvironmental Variable - hostname from the
MEDIAMTX_API_URLEnvironmental 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