Exemplo n.º 1
0
 void ShowRtcpPacket(object sender, Media.Rtcp.RtcpPacket packet, Media.Rtp.RtpClient.TransportContext tc = null)
 {
     try
     {
         if (this.InvokeRequired)
         {
             Invoke(new FillGridRtcp(AddRtcp), packet.Clone(true, true, false));
         }
         else
         {
             RTCPPacketBinding.Add(packet.Clone(true, true, false));
         }
     }
     catch { }
 }
Exemplo n.º 2
0
 void ShowRtcpPacket(object sender, Media.Rtcp.RtcpPacket packet)
 {
     try
     {
         if (this.InvokeRequired)
         {
             Invoke(new FillGridRtcp(AddRtcp), packet.Clone(true, true, false));
         }
         else
         {
             RTCPPacketBinding.Add(packet.Clone(true, true, false));
         }
     }
     catch { }
 }