Disable IPv6
Posted: 11 May 2018 18:44
Hello,
I made a small linux program that uses libVLC to simulate remote video playback without actually rendering the video (to test if playback stops due to buffer underrun).
This is working fine, but I needed to turn IPv6 off so that, when performing DNS resolution, no AAAA queries are sent.
I was going to try to pass the --ipv4 arg to libvlc_new(), but I just found out that this option is no longer supported since 2.0.0 (I'm using 3.0.0). I've crawled through both the command line and API documentation, but I cannot find any alternative.
Is there any way to disable IPv6 with version 3.0.0?
Thank you for your help.
I made a small linux program that uses libVLC to simulate remote video playback without actually rendering the video (to test if playback stops due to buffer underrun).
This is working fine, but I needed to turn IPv6 off so that, when performing DNS resolution, no AAAA queries are sent.
I was going to try to pass the --ipv4 arg to libvlc_new(), but I just found out that this option is no longer supported since 2.0.0 (I'm using 3.0.0). I've crawled through both the command line and API documentation, but I cannot find any alternative.
Is there any way to disable IPv6 with version 3.0.0?
Thank you for your help.