I have a setup of an IP-Camera which streams over RTP in a WIFI-mesh network, and I’m unable to receive a video using gstreamer of this stream, although i receive the exact same UDP data packets on the receiving end of my mesh-network (tested with wireshark) as when i connect directly to the ip-camera. So, there on the sending side of the ip-camera, i can watch the gstreamer-stream without a problem, but on the receiving end i get the Warning:
“discarding data packets received when we have no header”
Then, if I wait long enough, a stream opens with one single frame, which updates in an interval of 10-15 secs, but if i use the exact same command of gstreamer directly on the ip camera, it works faultlessly. My intuition is now that there is a problem with the mesh-network (i have a MTU of 1500, which should be enough – the wireshark identifies a length of 1494 and states udp messages came in completely), but if there is a problem with the network, why does wireshark on the receiving end receives exactly the same UDP packets as it should?
that’s the gstreamer command i have used:
GST_DEBUG=3 gst-launch 1.0 udpsrc port=50005 address=192.168.1.80 ! application/x-rtp,encoding-name=JPEG,payload=26 ! rtpjpegdepay ! jpegdec ! autovideosink
The error is raised in this .C file: text in Line 531.
Thanks for your help!
Matthias Wöckinger is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.