Ejemplo n.º 1
0
 /// <summary>
 /// Constructor for RTP feedback reports that do not require any additional feedback control
 /// indication parameters (e.g. RTCP Rapid Resynchronisation Request).
 /// </summary>
 /// <param name="feedbackMessageType">The payload specific feedback type.</param>
 public RTCPFeedback(uint senderSsrc, uint mediaSsrc, RTCPFeedbackTypesEnum feedbackMessageType)
 {
     Header              = new RTCPHeader(feedbackMessageType);
     SenderSSRC          = senderSsrc;
     MediaSSRC           = mediaSsrc;
     SENDER_PAYLOAD_SIZE = 8;
 }
Ejemplo n.º 2
0
        public uint FCI;        // Feedback Control Information (FCI)

        public RTCPFeedback(uint ssrc, RTCPFeedbackTypesEnum feedbackMessageType, ushort sequenceNo, ushort bitMask)
        {
            Header = new RTCPHeader(feedbackMessageType);
            SENDER_PAYLOAD_SIZE = 12;
            MIN_PACKET_SIZE     = RTCPHeader.HEADER_BYTES_LENGTH + SENDER_PAYLOAD_SIZE;
            SenderSSRC          = ssrc;
            PID = sequenceNo;
            BLP = bitMask;
        }
Ejemplo n.º 3
0
 public RTCPHeader(RTCPFeedbackTypesEnum feedbackType)
 {
     PacketType          = RTCPReportTypesEnum.RTPFB;
     FeedbackMessageType = feedbackType;
 }