# ExLibSRT
[](https://hex.pm/packages/ex_libsrt)
[](https://hexdocs.pm/ex_libsrt/)
[](https://circleci.com/gh/membraneframework/ex_libsrt)
Bindings for the [libsrt](https://github.com/Haivision/srt) library.
The package exposes a server and a client module to interact with SRT streams.
## Installation
```elixir
def deps do
[
{:ex_libsrt, github: "membraneframework-labs/ex_libsrt"}
]
end
```
## Example usage
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 and License
Copyright 2025, [Software Mansion](https://swmansion.com/?utm_source=git&utm_medium=readme&utm_campaign=membrane_template_plugin)
[](https://swmansion.com/?utm_source=git&utm_medium=readme&utm_campaign=membrane_template_plugin)
Licensed under the [Apache License, Version 2.0](LICENSE)