Mateusz Front - Boombox explained | Elixir Stream Week

Поділитися
Вставка
  • Опубліковано 30 жов 2024

КОМЕНТАРІ • 2

  • @chornsokun
    @chornsokun 6 днів тому

    Is Boombox suppose to be standalone? How would we use it with Phoenix? Say, if we want to generate multiple streams (1/user) do we need to open multiple ws ports?

    • @SoftwareMansion
      @SoftwareMansion  6 днів тому

      Hi, that's a good question, we need a Phoenix integration example! You don't have to use websockets at all. For WebRTC, you can also use the Signaling Channel hexdocs.pm/membrane_webrtc_plugin/Membrane.WebRTC.SignalingChannel.html. You can pass it to boombox like input: {:webrtc, signaling_channel} and forward signaling messages between it and the browser however you like.
      If you have more questions, please join our discord discord.gg/fbXsjgfEVE :) / Mateusz