GNOME Bugzilla – Bug 581329
rtspsrc: NAT dummy packets not being sent
Last modified: 2009-05-04 16:33:25 UTC
Please describe the problem: A logic problem in gst_rtspsrc_send_dummy_packets() prevents dummy udp packets being sent when "nat-method" is set to "dummy" Steps to reproduce: From behind a NAT router that is not firewalling RTSP/RPT traffic, issue the gst-launch command: gst-launch rtspsrc location="rtsp://ewan.rtsp-youtube.l.google.com/CkELENy73wIaOAkNHBGWSDl4oBMYESARFEIJbXYtZ29vZ2xlSARSBXdhdGNoWglDbGlja0xpbmtgqqug0Nj3uroLDA==/0/0/0/video.3gp" nat-method="dummy" name=d d. ! rtpmp4depay ! faad ! alsasink d. ! rtpmp4vdepay ! ffdec_mpeg4 ! xvimagesink Actual results: The RTSP session is negotiated correctly, but no RTP data is received on the client ports from the server. No dummy UDP packets are seen to be sent from the client when monitoring network traffic in wireshark. Expected results: Dummy UDP should be seen in the network traffic coming from the client on the client RTP ports negotiated with the server. After that, the RTP streams should be processed by the gstreamer pipeline. Does this happen every time? Yes. Other information:
Created attachment 133930 [details] [review] Fix for bug 581329
commit 752cfb16fe419443e712f194ee897e2b1317076e Author: Chris Winter <elwintro at gmail.com> Date: Mon May 4 18:32:05 2009 +0200 rtspsrc: fix dummy nat packet logic Fix a typo in the dummy NAT packet sending code. Fixes #581329