After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 581329 - rtspsrc: NAT dummy packets not being sent
rtspsrc: NAT dummy packets not being sent
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other All
: Normal normal
: 0.10.15
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-05-04 16:21 UTC by Chris Winter
Modified: 2009-05-04 16:33 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24


Attachments
Fix for bug 581329 (593 bytes, patch)
2009-05-04 16:23 UTC, Chris Winter
committed Details | Review

Description Chris Winter 2009-05-04 16:21:49 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:
Comment 1 Chris Winter 2009-05-04 16:23:49 UTC
Created attachment 133930 [details] [review]
Fix for bug 581329
Comment 2 Wim Taymans 2009-05-04 16:33:25 UTC
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