using Unity.WebRTC;
using UnityEngine.EventSystems;
namespace Unity.RenderStreaming
{
///
///
///
public class SignalingEventData : BaseEventData
{
///
///
///
public string connectionId { get; set; }
///
///
///
public RTCDataChannel channel { get; set; }
///
///
///
public RTCRtpTransceiver transceiver { get; set; }
///
///
///
public string sdp { get; set; }
///
/// 参与者ID
///
public string participantId { get; set; }
///
/// 角色 (host/participant)
///
public string role { get; set; }
///
/// 自定义消息内容
///
public string message { get; set; }
///
///
///
///
public SignalingEventData(EventSystem eventSystem) : base(eventSystem)
{
}
}
}