Onvif-backchannel examples

Stefan Ulbrich stefan.ulbrich at acceptto.com
Mon Jun 25 11:48:21 UTC 2018


Hi

I found out that when connecting to the camera, ``new_sample`` callback in
``gst-plugins-good-1.14.1/tests/examples/rtsp/test-onvif`` if never called
(it gets called when connected to the local rtsp server (``
gst-rtsp-server-1.14.1/examples/test-onvif-backchannel``).
I do not understand why this the chain ("audiotestsrc volume=0.99 !
mulawenc ! rtppcmupay ! appsink name=out") already depends on the
connection.

Any thoughts?

Best
Stefan

On Fri, Jun 22, 2018 at 5:58 PM Stefan Ulbrich <stefan.ulbrich at acceptto.com>
wrote:

> Hi List
>
> I want to send audio to an onvif-compliant IP camera (Amcrest) and
> therefore, I have compiled gstreamer-1.14.1-* on Ubuntu 16.04 (installed to
> /usr/local). I now tried:
>
>    1. ./gst-plugins-good-1.14.1/tests/examples/rtsp/test-onvif rtsp://
>    admin:XXXX at 192.168.2.116:554/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvi
>    But nothing is audible on the camera. While the program is running, I
>    cannot send audio via the manufacturer's android app so I think the
>    connection is established.
>    2. I changed the audio signal in test-onvif.c to a sine signal (by
>    removing `wave=red-noise`). Without suggess
>    3. Wireshark shows that there is data exchanged between ubuntu and the
>    camera
>    `58422 149.274903247 192.168.2.125 192.168.2.116 RTCP 126 Receiver
>    Report   Source description`
>    4. I build the gst-rtsp-server-1.14.1/examples/test-onvif-backchannel
>    and replaced `fakesink` with `pulseaudiosink` and confirmed
>    `/usr/local/bin/gst-launch-1.0 audiotestsrc ! pulsesink` works.
>    `test-onvif` connects but again, I cannot hear any sound.
>
> How can I trace/narrow down the problem?
>
> Best
> Stefan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180625/e4e6a7a1/attachment-0001.html>


More information about the gstreamer-devel mailing list