Ejemplo n.º 1
0
 public void OnSDPReady(WmeSdpType sdpType, string sdp)
 {
     if (sdpType == WmeSdpType.WmeSdp_Offer)
     {
         WmeSdpParsedInfo[] medias = mConnRemote.SetReceivedSDP(sdpType, sdp);
         foreach (WmeSdpParsedInfo mline in medias)
         {
             Console.WriteLine(mline.mid);
         }
         mConnRemote.CreateAnswer();
     }
     else
     {
         WmeSdpParsedInfo[] medias = mConnLocal.SetReceivedSDP(sdpType, sdp);
     }
 }