예제 #1
0
    public void OnIceCandiateReadytoSend(int id, string candidate, int sdpMlineIndex, string sdpMid)
    {
        MsgExchanger.RequiredSendingMessage("ice", candidate);

        IceJson iceJson = new IceJson(candidate, sdpMlineIndex, sdpMid);
        string  jonStr  = JsonUtility.ToJson(iceJson);

        MsgExchanger.RequiredSendingMessage("iceJson", jonStr);
    }
예제 #2
0
 public void OnLocalSdpReadytoSend(int id, string type, string sdp)
 {
     Debug.Log("WebRTC OnLocalSdpReadytoSend called. id=" + id + " | type=" + type + " | sdp=" + sdp);
     MsgExchanger.RequiredSendingMessage(type, sdp);
 }
예제 #3
0
 public void SdpReadyCallback(string type, string sdp)
 {
     CoMuLogger_Log("SdpReadyCallback is type, " + type + ", sdp " + sdp);
     MsgExchanger.RequiredSendingMessage(type, sdp);
 }