54 lines
1.4 KiB
C#
54 lines
1.4 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace WGShare.Domain.Entities
|
|
{
|
|
/// <summary>
|
|
/// 用户在频道中的状态
|
|
/// </summary>
|
|
public class ChannelUserInfo
|
|
{
|
|
public ChannelUserInfo()
|
|
{
|
|
|
|
}
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
/// <param name="uid"></param>
|
|
/// <param name="connectId"></param>
|
|
/// <param name="isMute">是否关闭麦克风,默认关</param>
|
|
/// <param name="enableCamera">是否关闭摄像头,默认关</param>
|
|
public ChannelUserInfo(string uid, string connectId, bool enableMicr, bool enableCamera, string account, string screenShareId)
|
|
{
|
|
this.UID = uid;
|
|
this.ConnectId = connectId;
|
|
this.EnableMicr = enableMicr;
|
|
this.EnableCamera = enableCamera;
|
|
this.Account = account;
|
|
this.ScreenShareId = screenShareId;
|
|
}
|
|
|
|
public string UID { get; set; }
|
|
|
|
public string ConnectId { get; set; }
|
|
|
|
public string Account { get; set; }
|
|
|
|
/// <summary>
|
|
/// 是否关闭麦克风
|
|
/// </summary>
|
|
public bool EnableMicr { get; set; }
|
|
|
|
/// <summary>
|
|
/// 是否关闭摄像头
|
|
/// </summary>
|
|
public bool EnableCamera { get; set; }
|
|
|
|
public string ScreenShareId { get; set; }
|
|
}
|
|
}
|