elixir-webrtc / ex_webrtc

An Elixir implementation of the W3C WebRTC API
Apache License 2.0
363 stars 14 forks source link

`:missing_rtcp_mux` when streaming to firefox #149

Closed Noarkhh closed 3 months ago

Noarkhh commented 3 months ago

Environment

firefox version: 129.0 membrane_webrtc_plugin version: 0.21.0 elixir version: 1.17.1 OS: MacOS Sonoma 14.4

Problem

When trying to stream to a firefox browser using a membrane Membrane.WebRTC.Sink element the pipeline crashes with

10:55:43.459 [error] <0.353.0>/:webrtc_output/:webrtc Error occured in Membrane Element:
** (MatchError) no match of right hand side value: {:error, :missing_rtcp_mux}

Reproduction

Run the "MP4 to WebRTC" section in the following livebook: https://github.com/membraneframework-labs/boombox/blob/5f6c646c7b9e755bf03fdc4d1d5dd062cf9b5bb1/examples.livemd

LVala commented 3 months ago

It seems like Firefox does not add the rtcp_mux attribute to rejected m-lines. We're going to take that under consideration.