Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add RTCP packet #154

Merged
merged 11 commits into from
Oct 14, 2021
Prev Previous commit
Next Next commit
minor code update
  • Loading branch information
jgaulon committed Oct 13, 2021
commit d97413345f653ea83d977f48baea2da236b4de35
3 changes: 1 addition & 2 deletions PacketDotNet/RtcpContainerPacket.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,9 @@ public RtcpContainerPacket(ByteArraySegment byteArraySegment, Packet parentPacke
{
var list = new List<RtcpPacket>();
ByteArraySegment segment = byteArraySegment;
RtcpPacket item;
do
{
item = new RtcpPacket(segment, this);
var item = new RtcpPacket(segment, this);
list.Add(item);
segment = item.HeaderDataSegment;
} while (segment.Length > 0);
Expand Down