Onvif-backchannel examples

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Onvif-backchannel examples

Stefan Ulbrich
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@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

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Onvif-backchannel examples

Stefan Ulbrich
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 <[hidden email]> 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@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



_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel