Ejemplo n.º 1
0
 public RTCPReportPacket(byte[] packet)
 {
     Header = new RTCPReportHeader(packet);
     Report = new byte[Header.Length];
     Array.Copy(packet, RTCPReportHeader.HEADER_BYTES_LENGTH, Report, 0, Report.Length);
 }
Ejemplo n.º 2
0
 public RTCPReportPacket(RTCPReportTypesEnum reportType, byte[] report)
 {
     Header = new RTCPReportHeader(reportType, Convert.ToUInt16(report.Length));
     Report = report;
 }