public static bool TryCreate(Uri url, out ITurnIceServer turnIceServer)
        {
            try
            {
                turnIceServer = new TurnIceServer(url, null, null);
            }
            catch (Exception)
            {
                turnIceServer = null;
                return(false);
            }

            return(true);
        }
    public static bool TryCreate(Uri url, out ITurnIceServer turnIceServer)
    {
      try
      {
        turnIceServer = new TurnIceServer(url, null, null);
      }
      catch (Exception)
      {
        turnIceServer = null;
        return false;
      }

      return true;
    }
Example #3
0
 private Task <RelayIceCandidate> FindRelayUdpIceCandidate(ITurnIceServer turnIceServer)
 {
     return(Task.FromException <RelayIceCandidate>(new NotImplementedException()));
 }
Example #4
0
 private Task <ServerReflexiveIceCandidate> FindServerReflexiveUdpIceCandidate(ITurnIceServer turnIceServer)
 {
     return(Task.FromException <ServerReflexiveIceCandidate>(new NotImplementedException()));
 }
 private Task<RelayIceCandidate> FindRelayUdpIceCandidate(ITurnIceServer turnIceServer)
 {
   return Task.FromException<RelayIceCandidate>(new NotImplementedException());
 }
 private Task<ServerReflexiveIceCandidate> FindServerReflexiveUdpIceCandidate(ITurnIceServer turnIceServer)
 {
   return Task.FromException<ServerReflexiveIceCandidate>(new NotImplementedException());
 }