rtsp-server onvif backchannel: examples stopped working between v1.18.5 and v1.20.3

Christian Wick c.wick at mail.de
Tue Nov 8 15:50:43 UTC 2022

Am 06.11.2022 um 16:43 schrieb Christian Wick via gstreamer-devel:
> I am currently experimenting with the following two examples:
> test-onvif-backchannel (server) and test-onvif (client)
> https://gitlab.freedesktop.org/gstreamer/gstreamer/-/blob/main/subprojects/gst-rtsp-server/examples/test-onvif-backchannel.c 
> https://gitlab.freedesktop.org/gstreamer/gstreamer/-/blob/main/subprojects/gst-plugins-good/tests/examples/rtsp/test-onvif.c 
> Both examples are executed on the same host with same IP address in 
> two different VS code terminals.
> The only change I applied to the source code in test-onvif.c is that I 
> replaced both "xvimagesink" and "pulsesink" with "fakesink".
> Unfortunately, the backchannel example stopped working in Ubuntu 22.04 
> which uses gstreamer-1.20.3.
> However, running the same code on Ubuntu 21.10 with gstreamer-1.18.5 
> seems to work without any issue.

> Does somebody else experience this behaviour and could confirm that a 
> bug was introduced here?

Never mind. The current main branch does not seem to have this issue.
Both executables (test-onvif-backchannel and test-onvif) seem to play 
well together when using the main branch.

However, after porting both to a python version I found a bug in rtspsrc 
for which I am proposing the following fix:

After applying this fix, the python versions of the backchannel test 
works too.

Best regards,

More information about the gstreamer-devel mailing list