openfresh / gosrt

Go SRT library with the net package like API.
MIT License
66 stars 16 forks source link

Add srt_listen_callback #9

Closed thmatuza closed 4 years ago

thmatuza commented 4 years ago

SRT Access Control requires using srt_listen_callback.

This pull request add srt_listen_callback support. It also add example code to use it.

mauricioabreu commented 4 years ago

Awesome! I tried to add a listen callback but my knowledge about cgo is really poor. Thank you!