Skip to content

Allow rtsp params (like #backchannel=0) from onvif sources#1992

Merged
AlexxIT merged 2 commits intoAlexxIT:masterfrom
FIGIO55:rtsp_onvif_params
Dec 26, 2025
Merged

Allow rtsp params (like #backchannel=0) from onvif sources#1992
AlexxIT merged 2 commits intoAlexxIT:masterfrom
FIGIO55:rtsp_onvif_params

Conversation

@FIGIO55
Copy link
Contributor

@FIGIO55 FIGIO55 commented Dec 19, 2025

I added these lines since i needed to disable the backchannel on an onvif source and I did not find a way to do it, so I added this parameters re-append in the resulting stream uri.
I did this because i have issues with the video stream disconnecting when reproducing audio files to the camera if the source is just onvif.

This would allow sources like onvif://user:password@ip:port/onvif/device_service#backchannel=0 to work with the backchannel disabled.
An example from my usage is:

streams:
  camera1:
    - onvif://user:password@ip:8000/onvif/device_service#backchannel=0
    - onvif://user:password@ip:8000/onvif/device_service#backchannel=1#media=audio

This is a re-creation of PR #1959 because I messed up the branches on my fork

@AlexxIT AlexxIT self-assigned this Dec 20, 2025
@AlexxIT AlexxIT merged commit c880c37 into AlexxIT:master Dec 26, 2025
@AlexxIT
Copy link
Owner

AlexxIT commented Dec 26, 2025

Thanks!

@AlexxIT AlexxIT added this to the master milestone Dec 26, 2025
@AlexxIT
Copy link
Owner

AlexxIT commented Jan 20, 2026

57Darling02 pushed a commit to 57Darling02/go2nvr that referenced this pull request Feb 17, 2026
57Darling02 pushed a commit to 57Darling02/go2nvr that referenced this pull request Feb 17, 2026
Allow rtsp params (like #backchannel=0) from onvif sources
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants