Skip to content

Commit 3b24972

Browse files
author
yngrtc
committed
complete RTCP
1 parent c5348f7 commit 3b24972

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
<img src="https://raw.githubusercontent.com/webrtc-rs/webrtc/master/doc/uncheck.png">DataChannel
3737
<br>
3838
<img src="https://raw.githubusercontent.com/webrtc-rs/webrtc/master/doc/check.png">RTP
39-
<img src="https://raw.githubusercontent.com/webrtc-rs/webrtc/master/doc/uncheck.png">RTCP
39+
<img src="https://raw.githubusercontent.com/webrtc-rs/webrtc/master/doc/check.png">RTCP
4040
<img src="https://raw.githubusercontent.com/webrtc-rs/webrtc/master/doc/uncheck.png">SRTP
4141
<img src="https://raw.githubusercontent.com/webrtc-rs/webrtc/master/doc/uncheck.png">SCTP
4242
<br>

Sources/RTCP/Packet.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ func unmarshaller(_ buf: ByteBuffer) throws -> (Packet, Int) {
101101
default:
102102
(packet, _) = try RawPacket.unmarshal(inPacket)
103103
}
104-
/*TODO:case PacketType.extendedReport:
105-
(packet, _) = try ExtendedReport.unmarshal(inPacket),*/
104+
case PacketType.extendedReport:
105+
(packet, _) = try ExtendedReport.unmarshal(inPacket)
106106
default:
107107
(packet, _) = try RawPacket.unmarshal(inPacket)
108108
}

Sources/RTCP/ReceptionReport.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ extension ReceptionReport: Unmarshal {
146146
guard let t2: UInt8 = reader.readInteger() else {
147147
throw RtcpError.errPacketTooShort
148148
}
149-
// TODO: The type of `total_lost` should be `i32`, per the RFC:
149+
// The type of `total_lost` should be `i32`, per the RFC:
150150
// The total number of RTP data packets from source SSRC_n that have
151151
// been lost since the beginning of reception. This number is
152152
// defined to be the number of packets expected less the number of

0 commit comments

Comments
 (0)