Haivision / srtgo

Go bindings for SRT. Advantages of SRT technology for an easy to use programming language
Mozilla Public License 2.0
185 stars 52 forks source link

Fix/unit tests #26

Closed iSchluff closed 3 years ago

iSchluff commented 3 years ago

Add connect/accept unit tests for blocking and nonblocking modes. Also tests for #8 Fix netutils unit test

@jeoliva The SRTO_LATENCY sockopt test still fails for me, not sure what is up with that.

jeoliva commented 3 years ago

SRTO_LATENCY test issue should be fixed in master branch (at least I can't reproduce it anymore). I have also updated the AcceptHelper method so it accepts a listening port parameter. Otherwise there are errors when running tests all together given non blocking method is working fine right now.

jeoliva commented 3 years ago

Thanks!