Пример #1
0
 private void AddSenderReport(uint ssrc, SenderReport sr)
 {
     cpb.Add_SenderReport(ssrc, sr);
 }
Пример #2
0
 void RtpSender.IRtpSession.AddSenderReport(uint ssrc, SenderReport sr)
 {
     AddSenderReport(ssrc, sr);
 }
Пример #3
0
        public SrPacket(uint ssrc, SenderReport sr) : base(Rtcp.PacketType.SR)
        {
            if(sr == null)
            {
                throw new RtcpPacketException("Need a real SenderReport, not null");
            }

            SSRC = ssrc;
            this.sr = sr;
        }
Пример #4
0
 /// <summary>
 /// Construct a SenderReport packet from an existing RtcpPacket
 /// </summary>
 /// <param name="packet">Packet to process</param>
 public SrPacket(RtcpPacket packet) : base(Rtcp.PacketType.SR)
 {
     sr = new SenderReport();
     ProcessPacket(packet);
 }
Пример #5
0
 public void Add_SenderReport(uint ssrc, SenderReport sr)
 {
     senderReportPackets.Enqueue(new SrPacket(ssrc, sr));
 }