Hello,
I was trying several mms/mmsh streams and all of them had huge delays (more than 15 seconds every time) when connecting to stream.
0:00:00.178218407 2393 0x5110e0 DEBUG mmssrc gstmms.c:409:gst_mms_start:<source> Trying mms_connect (mmsh://...) with bandwidth constraint of 2147483647 bps
0:00:16.822402027 2393 0x5110e0 DEBUG mmssrc gstmms.c:415:gst_mms_start:<source> Connect successful
After digging into the problem it turn that problem was ipv6. Oh yes, totaly forgot that OpenPLi has ipv6 enabled by default.
Turning off ipv6 and retry ...
echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6
0:00:00.177663445 2410 0x5110e0 DEBUG mmssrc gstmms.c:409:gst_mms_start:<source> Trying mms_connect (mmsh://...) with bandwidth constraint of 2147483647 bps
0:00:01.457120592 2410 0x5110e0 DEBUG mmssrc gstmms.c:415:gst_mms_start:<source> Connect successful
Huge difference right?
Writing to /etc/sysctl.conf the following seems not to making it permanent, I am missing something? sysctl -p doesn't executed at boot?
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
PS. I don't think that libmms is ipv6 ready. So most probably libmms must not select ipv6 interface if it is not ipv6 ready.