| 1234567891011 |
- namespace Application.Abstractions.Hub;
- /// <summary>
- /// 채널 라이브 상태 변경을 SignalR AppHub 클라이언트에게 브로드캐스트.
- /// ChannelSidebar / WatchView 가 ReceiveChannelStatus 이벤트를 구독.
- /// </summary>
- public interface IChannelStatusBroadcaster
- {
- /// <param name="channelSID">내부 Channel.SID (GUID 문자열)</param>
- Task BroadcastAsync(string channelSID, bool isLive, int viewerCount, string? videoId, CancellationToken ct = default);
- }
|