Пример #1
0
 public void OnReceiveMessage(string tag, string message)
 {
     if (message == "Play")
     {
         mediaPlayer.Position = TimeSpan.FromSeconds(285);
         mediaPlayer.Play();
         mediaPlayer.SendMessage("M", "Playing");
     }
     Debug.WriteLine($"Client Message: {tag}, {message}");
 }