Files
SDK-CSharp/Models/BroadcastModels.cs

29 lines
901 B
C#

using Newtonsoft.Json;
using System.Collections.Generic;
namespace Chtn.CSharp.SDK.Models.Call
{
public class StreamRegistry
{
[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; }
}
}