[Bug 795572] New: srt: connection broken in srtserversink

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Apr 26 10:04:17 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=795572

            Bug ID: 795572
           Summary: srt: connection broken in srtserversink
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: eloi.bail at savoirfairelinux.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Hi,

I tried to use default srt examples on gstreamer 1.14:

* server
GST_DEBUG="*srt*:5" gst-launch-1.0 videotestsrc ! videoconvert ! x264enc
tune=zerolatency ! video/x-h264, profile=high ! mpegtsmux ! srtserversink
uri=srt://127.0.0.1:1234/

* client
GST_DEBUG="*srt*:5" gst-launch-1.0 srtclientsrc srt://127.0.0.1:1234 ! fakesink

On the server side logs:

0:01:16.847828860 14463      0x1b41ca0 DEBUG          srtserversink
gstsrtserversink.c:243:idle_listen_callback:<srtserversink0> client added
0:01:16.853061871 14463      0x1b41b70 DEBUG            srtbasesink
gstsrtbasesink.c:362:gst_srt_base_sink_send_headers:<srtserversink0> Sending 2
stream headers
0:01:19.853099490 14463      0x1b41b70 WARN           srtserversink
gstsrtserversink.c:402:send_buffer_internal:<srtserversink0> Connection was
broken.


On the client side logs:
~/gst/1.14$ GST_DEBUG="*srt*:5" gst-launch-1.0 srtclientsrc
srt://127.0.0.1:1234 ! fakesink
Setting pipeline to PAUSED ...
0:00:03.036974378 14547      0x1883390 WARN                     srt
gstsrt.c:145:gst_srt_client_connect_full:<srtclientsrc0> error: Connection
error
0:00:03.037013540 14547      0x1883390 WARN                     srt
gstsrt.c:145:gst_srt_client_connect_full:<srtclientsrc0> error: failed to
connect to host (reason: Connection setup failure: connection time out.)
0:00:03.037368796 14547      0x1883390 DEBUG           srtclientsrc
gstsrtclientsrc.c:265:gst_srt_client_src_stop:<srtclientsrc1> closing SRT
connection
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstSRTClientSrc:srtclientsrc0:
Connection error
Additional debug info:
gstsrt.c(145): gst_srt_client_connect_full ():
/GstPipeline:pipeline0/GstSRTClientSrc:srtclientsrc0:
failed to connect to host (reason: Connection setup failure: connection time
out.)
Setting pipeline to NULL ...
Freeing pipeline ...


According to wireshark, UDP packets are sent on UDP src port 1234.

Thanks for your help,

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list