Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on May 3, 2026. It is now read-only.

shavit/elixir-rtmp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

459 Commits

Repository files navigation

RTMP

Build Status

Streaming client and server

At the moment there are no build-in media encoders, so you will need to implement your own.

Create a client

iex(1)> {:ok, pid} = ExRTMP.Client.new ip: "127.0.0.1"
iex(2)> 
[debug] Handshake completed

AMF Encoders and Decoders

Encode and decode AMF0, AMF3 messages.

iex> AMF0.encode 3.141
<<0, 64, 9, 32, 196, 155, 165, 227, 84>>
iex(5)> AMF3.encode [1, 2, 3]
<<14, 7, 0, 0, 0, 0, 1, 0, 0, 0, 2, 0, 0, 0, 3>>

Configurations

  • rtmp_port - Environment variable RTMP_PORT, default to 1935.

Development

Debug the server with rtmpdump

Test

mix test

Releases

No releases published

Packages

Contributors

Languages

AltStyle によって変換されたページ (->オリジナル) /