Bindings for the libsrt library.
The package exposes a server and a client module to interact with SRT streams.
def deps do
[
{:ex_libsrt, "~> 0.1.1"}
]
end
For examples of how to use the bindings, see examples/
subdirectory.
To see how to spawn a server listening on given port, how to connect
client to that server and how to send data between the client and the server,
see: simple_client_connection.exs
.
To see how to handle multiple client connections with a single server using
ExLibSRT.Connection.Handler
, see: connection_handler.exs
.
You can launch each of these scripts with the following sequence of commands:
cd examples/
elixir <script name>
Copyright 2025, Software Mansion
Licensed under the Apache License, Version 2.0