public IEnumerator ProcessOffer(string strOffer)
        {
            //deserialize offer
            WebRTCWrapper.FullOffer fofOffer = null;

            try
            {
                fofOffer = JsonUtility.FromJson <WebRTCWrapper.FullOffer>(strOffer);
            }
            catch
            {
                Debug.LogError($"Error Deserializing offer string {strOffer}");
                yield break;
            }

            if (fofOffer == null)
            {
                Debug.LogError("Offer deserialized to null");
                yield break;
            }

            m_rtwRTCWrapper.ProcessFullOffer(fofOffer);

            while (m_rtwRTCWrapper.WebRtcObjectState == WebRTCWrapper.State.MakingReply)
            {
                yield return(null);
            }
        }
        public string GetOffer()
        {
            WebRTCWrapper.FullOffer fofOffer = m_rtwRTCWrapper.GetFullOffer();

            return(JsonUtility.ToJson(fofOffer));
        }