Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,10 @@ endif()
option(ENABLE_ONVIF "Enable ONVIF camera support" ON)
if(ENABLE_ONVIF)
add_compile_definitions(ENABLE_ONVIF)
target_sources(${CMAKE_PROJECT_NAME} PRIVATE src/ptz-onvif.cpp src/ptz-onvif.hpp)
target_sources(
${CMAKE_PROJECT_NAME}
PRIVATE src/ptz-onvif.cpp src/ptz-onvif.hpp src/onvif-discovery.cpp src/onvif-discovery.hpp
)
endif()

option(ENABLE_SERIALPORT "Enable UART connected camera support" OFF)
Expand Down
26 changes: 26 additions & 0 deletions data/locale/en-GB.ini
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,32 @@ PTZ.Pelco.UsePelcoD="Use Pelco-D"
PTZ.UVC.Name="USB Camera (UVC)"
PTZ.ONVIF.Name="ONVIF (experimental)"
PTZ.ONVIF.Warning="Warning: ONVIF support is experimental"
PTZ.ONVIF.Discovery.Title="Discover ONVIF Cameras"
PTZ.ONVIF.Discovery.Rescan="Rescan"
PTZ.ONVIF.Discovery.Searching="Searching the network for ONVIF cameras..."
PTZ.ONVIF.Discovery.Found="Found %1 camera(s). Select one to add."
PTZ.ONVIF.Discovery.NoResponse="No ONVIF cameras responded. Check that your camera is powered on and on the same network."
PTZ.ONVIF.Discovery.UseCamera="Use Selected Camera"
PTZ.ONVIF.Discovery.SelectHint="Select a camera from the list to see its details."
PTZ.ONVIF.Discovery.Col.Host="Host"
PTZ.ONVIF.Discovery.Col.Port="Port"
PTZ.ONVIF.Discovery.Col.Manufacturer="Manufacturer"
PTZ.ONVIF.Discovery.Col.Model="Model"
PTZ.ONVIF.Discovery.CredentialsHint="Enter the camera username and password to fetch RTSP stream URLs (optional)."
PTZ.ONVIF.Discovery.NeedCreds="Enter username and password to fetch stream URLs."
PTZ.ONVIF.Discovery.FetchingStreams="Fetching stream URLs..."
PTZ.ONVIF.Discovery.Streams="Streams"
PTZ.ONVIF.Discovery.StreamError="Could not fetch streams: %1"
PTZ.ONVIF.Discovery.AuthFailed="Authentication failed. Check the username and password."
PTZ.ONVIF.Discovery.ManualPrompt="Don't see your camera? Add manually:"
PTZ.ONVIF.Discovery.ManualAdd="Add"
PTZ.ONVIF.Discovery.ManualLabel="(manual)"
PTZ.ONVIF.Discovery.Detail.Location="Location"
PTZ.ONVIF.Discovery.Detail.Uuid="UUID"
PTZ.ONVIF.Discovery.Detail.DeviceService="Device service"
PTZ.ONVIF.Discovery.Detail.Types="Types"
PTZ.ONVIF.Discovery.Detail.Scopes="Scopes"
PTZ.ONVIF.Discovery.CreateMediaSource="Also create an OBS Media Source for this camera's stream"
PTZ.ONVIF.SpeedBoost="Speed Boost (multiplies normalized ONVIF velocity; spec max is 1.0)"
PTZ.ONVIF.MediaProfile="Media Profile"
PTZ.ONVIF.NoProfilesYet="(not loaded yet — apply and reopen)"
Expand Down
Loading
Loading