两个页面接入完成
This commit is contained in:
@@ -30,6 +30,7 @@ namespace Unity.RenderStreaming
|
||||
public event Action<string, UserInfo> OnUserInfoMessageReceived;
|
||||
public event Action<string, MediaStateChange> OnMediaStateChangeReceived;
|
||||
|
||||
|
||||
public override void OnMessage(string message)
|
||||
{
|
||||
try
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
// Assets/Script/WebRtc/MessageTypes.cs
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Newtonsoft.Json;
|
||||
using UnityEngine;
|
||||
|
||||
@@ -10,7 +12,7 @@ namespace Unity.RenderStreaming
|
||||
public const string Chat = "chat";
|
||||
public const string UserInfo = "user-info";
|
||||
public const string MediaStateChange = "media-state-changed";
|
||||
public const string Image = "image";
|
||||
public const string ParticipantsSync = "participants-sync";
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
@@ -37,7 +39,6 @@ namespace Unity.RenderStreaming
|
||||
public bool audio;
|
||||
public bool video;
|
||||
public bool screenShare;
|
||||
public bool recording;
|
||||
public bool isSpeaking;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user