Пример #1
0
 public void SendPacket(RtpPacket packet)
 {
     List <RtpSender> .Enumerator enumerator = this.senders.GetEnumerator();
     while (enumerator.MoveNext())
     {
         RtpSender current = enumerator.Current;
         current.Send(packet);
     }
 }
Пример #2
0
 public bool RemoveSender(RtpSender sender)
 {
     return(this.senders.Remove(sender));
 }
Пример #3
0
 public void AddSender(RtpSender sender)
 {
     this.senders.Add(sender);
 }