implement Broadcast and SessionManager services

This commit is contained in:
2026-05-02 22:01:21 +02:00
parent 750295eccf
commit 3166c6e647
6 changed files with 168 additions and 11 deletions

View File

@@ -1,9 +1,29 @@
namespace Chtn.CSharp.SDK.Models.Call
using Newtonsoft.Json;
using System.Collections.Generic;
namespace Chtn.CSharp.SDK.Models.Call
{
public class StreamRegistry
{
public string StreamKey { get; set; }
public string Status { get; set; }
public string StreamUrl { get; set; }
[JsonProperty("streamKey")] public string SreamKey { get; set; }
[JsonProperty("status")] public List<string> Status { get; set; }
[JsonProperty("streamUrl")] public List<string> StreamUrl { get; set; }
}
public class CreateServerReq
{
[JsonProperty("channelId")] public List<string> ChannelId { get; set; }
[JsonProperty("name")] public List<string> Name { get; set; }
}
public class GetRtmpDataReq
{
[JsonProperty("channelId")] public List<string> ChannelId { get; set; }
}
public class BroadcastJoinWsRoomReq
{
[JsonProperty("connId")] public List<string> ConnId { get; set; }
[JsonProperty("channelId")] public List<string> ChannelId { get; set; }
}
}