private RtcpSdesReportPacket CreateSdesReport() { var items = new[] { new RtcpSdesNameItem(_machineName) }; var chunks = new[] { new RtcpSdesChunk(_senderSyncSourceId, items) }; var sdesReport = new RtcpSdesReportPacket(chunks); return(sdesReport); }
public IEnumerable <RtcpPacket> GetReportSdesPackets() { RtcpReceiverReportPacket receiverReport = CreateReceiverReport(); yield return(receiverReport); RtcpSdesReportPacket sdesReport = CreateSdesReport(); yield return(sdesReport); }