Handle all SRT_E values and create typed errors that can be checked by
consumers of srtgo library. Based on the runtime syscall.Errno code.
In all functions that can return an srt error value the OS thread is
locked, to make sure golang does not schedule is away from the thread.
This is needed since srt stores it's error value in thread local
storage.
Handle all SRT_E values and create typed errors that can be checked by consumers of srtgo library. Based on the runtime syscall.Errno code. In all functions that can return an srt error value the OS thread is locked, to make sure golang does not schedule is away from the thread. This is needed since srt stores it's error value in thread local storage.