SRT IPv6 support
The host in the uri
is not resolved via DNS but simply parsed as an IP address. Attempting to use an IPv6 URI such as srt://[::1]:7777
results in an error Failed to open SRT: SRT supports IPv4 only
.
I believe this check was written before libsrt gained IPv6 support. It should be removed.