public void SendPacket(RtpPacket packet) { List <RtpSender> .Enumerator enumerator = this.senders.GetEnumerator(); while (enumerator.MoveNext()) { RtpSender current = enumerator.Current; current.Send(packet); } }
public bool RemoveSender(RtpSender sender) { return(this.senders.Remove(sender)); }
public void AddSender(RtpSender sender) { this.senders.Add(sender); }