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 795572 - srt: connection broken in srtserversink
srt: connection broken in srtserversink
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2018-04-26 10:04 UTC by Eloi BAIL
Modified: 2018-11-03 14:22 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Eloi BAIL 2018-04-26 10:04:17 UTC
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,
Comment 1 Olivier Crête 2018-04-26 13:23:58 UTC
Try putting srt://:1234 as the server URI maybe?
Comment 2 GStreamer system administrator 2018-11-03 14:22:09 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/696.