1
0
mirror of https://github.com/algora-io/tv.git synced 2025-02-14 01:59:50 +02:00

ignore livestream started events if one already playing

This commit is contained in:
zafer 2024-06-09 16:33:26 +03:00
parent 2ac3b7b011
commit 2b46096254

View File

@ -218,7 +218,7 @@ defmodule AlgoraWeb.HomeLive do
@impl true
def handle_info(
{Library, %Library.Events.LivestreamStarted{video: video}},
socket
%{assigns: %{livestream: nil}} = socket
) do
send_update(PlayerComponent, %{
id: "home-player",