RTCEvent.cs 992 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. using Blue;
  2. /// <summary>
  3. /// RTC登录后获取Token成功事件
  4. /// </summary>
  5. public class RTCGetTokenSuccessEvent : IEvent
  6. {
  7. public string token;
  8. }
  9. /// <summary>
  10. /// RTC登录后获取Token失败事件
  11. /// </summary>
  12. public class RTCGetTokenFailEvent : IEvent
  13. {
  14. }
  15. /// <summary>
  16. /// 创建房间成功事件
  17. /// </summary>
  18. public class RTCCreatRoomSuccessEvent : IEvent
  19. {
  20. public string RTCUrl;
  21. public string roomInfo;
  22. }
  23. /// <summary>
  24. /// RTC创建房间失败事件
  25. /// </summary>
  26. public class RTCCreatRoomFailEvent : IEvent
  27. {
  28. }
  29. /// <summary>
  30. /// 连接RTC成功事件
  31. /// </summary>
  32. public class RTCConnectSuccessEvent : IEvent
  33. {
  34. }
  35. /// <summary>
  36. /// 连接RTC失败事件
  37. /// </summary>
  38. public class RTCConnectFailEvent : IEvent
  39. {
  40. }
  41. /// <summary>
  42. /// 加入房间成功事件
  43. /// </summary>
  44. public class JoinRoomSuccessEvent : IEvent
  45. {
  46. public string roomInfo;
  47. }
  48. /// <summary>
  49. /// 加入房间失败事件
  50. /// </summary>
  51. public class JoinRoomFailEvent : IEvent
  52. {
  53. }