Disable IPv6 DNS lookup in gstreamer
Original problem: When reading HTTP streams using the gstreamer
( gst-launch
) command on a specific client network, I saw very often (not always) a 5 second initial delay before the stream started loading.
After some investigation, I discovered (with wireshark) that it was caused by DNS resolution issues and in particular AAAA (IPv6) requests failing (no response) at high frequency (on this network) and causing a wait and try again via 5 seconds.
I noticed the same problem when using "wget", but not with "wget ββ-4" because it doesnβt make AAAA requests.
Changing your network infrastructure is not an option. So I would like to know if it is possible to somehow skip the AAAA / IPv6 DNS lookup at startup gstreamer
like the wget option "-4".
source to share
No one has answered this question yet
Check out similar questions: