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

Dropping the blocking mode altogether? #33

Open iSchluff opened 3 years ago

iSchluff commented 3 years ago

If we get the non-blocking mode to work reliably is there even a reason to keep the blocking mode without epoll? Because from the go-side the API always blocks anyway. And with non-blocking mode we probably get some benefits like better error detection and working callbacks.

So I would suggest just removing the blocking code paths altogether to make the code simpler.