rtcp*: split ProcessFrame into ProcessPacketRTP and ProcessPacketRTCP

This commit is contained in:
aler9
2021-10-30 16:36:58 +02:00
committed by Alessandro Ros
parent 1f5dec4a02
commit 6d340cdf39
10 changed files with 163 additions and 139 deletions

View File

@@ -1872,7 +1872,7 @@ func TestClientReadRTCPReport(t *testing.T) {
Payload: byts,
}.Write(bconn.Writer)
require.NoError(t, err)
rs.ProcessFrame(time.Now(), StreamTypeRTP, byts)
rs.ProcessPacketRTP(time.Now(), byts)
err = base.InterleavedFrame{
Channel: 1,