Skip to content

Commit

Permalink
parse compound rtcp packets immediately (jitsi#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
bbaldino committed Jan 9, 2020
1 parent 91a55ba commit 370ff1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/org/jitsi/rtp/rtcp/CompoundRtcpPacket.kt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class CompoundRtcpPacket(
length: Int
) : RtcpPacket(buffer, offset, length) {

val packets: List<RtcpPacket> by lazy {
val packets: List<RtcpPacket> = run {
var bytesRemaining = length
var currOffset = offset
val rtcpPackets = mutableListOf<RtcpPacket>()
Expand Down

0 comments on commit 370ff1b

Please sign in to comment.