kingdomcoder
RTMP Pipeline Crash Issues: (MatchError) no match of right hand side value: {:error, :eaddrinuse}
Hi,
I have multiple issues with an RTMP-in to an HLS and RTMP-out pipeline. When using Membrane.Tee.Parallel, it buffers. As per the docs, I understand that:
the slowest output pad dictates the speed of processing data
On switching to Membrane.Tee.PushOutput, the pipeline crashes after a while with a toilet capacity error. What are my options and is there a “best” way to handle this situation?
Also, when the RTMP pipeline crashes, it takes down the entire app with:
** (MatchError) no match of right hand side value: {:error, :eaddrinuse}
(membrane_rtmp_plugin 0.27.3) lib/membrane_rtmp_plugin/rtmp_server/listener.ex:41: Membrane.RTMPServer.Listener.run/1
My understanding is that the RTMP server did not teardown properly when the pipeline crashed and repeated retries hit eaddrinuse, crashing the app. I tried a few supervision hacks but in the best case, the RTMP server stopped accepting connections.
How can I solve this, please?
First Post!
mat-hek
Hi there, could you provide some code so I can reproduce?
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance









