ExLibSRT

Hex.pmAPI DocsCircleCI

Bindings for the libsrt library.

The package exposes a server and a client module to interact with SRT streams.

Installation

def deps do
  [
    {:ex_libsrt, "~> 0.2.0"}
  ]
end

Migration Guide

If you are upgrading from version 0.1.x to 0.2.0, please refer to the Migration Guide for detailed information about breaking changes and how to update your code.

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

Software Mansion

Licensed under the Apache License, Version 2.0