You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ok, I got this. Sorry, this is likely not correctly explained in the documentation (@maxsharabayko likely we need a fix here).
The problem is with the SRTO_IPV6ONLY option, which reflects the IPV6_V6ONLY system option. There's no way to determine the current value of this option, and many internals depend on its value if you are using IPv6. It's not a problem for caller, but for listener SRT must be certain of its value. As SRT can't state what could be the default value, it's UNDETERMINED until set explicitly or until the first socket is created and the value obtained from it.
Therefore if you want to make a listener in IPv6, you have to add also the ipv6only option. Set it to 1 or 0, whatever you want, just it can't be left unset. By setting it to 0, of course, your listener will be able to accept callers that use IPv4.
Latest commit version.
Commandline used:
srt-live-transmit srt://[::]:5000?mode=listener udp://127.0.0.1:50001
Error log:
ERROR: error: srt_bind: Operation not supported: Bad parameters
According to docs (https://github.com/Haivision/srt/blob/master/docs/apps/srt-live-transmit.md), it should work as a listener for both IPv4 and IPv6.
In fact with v1.5.1 worked fine.
Linux AMD 64 bits OS (Debian 11) machine
The text was updated successfully, but these errors were encountered: