Esempio n. 1
0
 public static void ChatInitialized(bool isMuted)
 {
     IsMuted = isMuted;
     if (initiatedChat)
     {
         ringer.StartRinging();
         SocketClient.SendAvRequest(ToUserId, ToUserName, ChatType, ClientWindow);
     }
     else
     {
         SocketClient.AcceptAvRequest(FromUserId, FromUserName, ChatType, ClientWindow);
         if (IsMuted)
         {
             ShowPlayer();
         }
     }
 }