Skip to content

Commit

Permalink
adjust test to align with new behavior of RTP-Info header
Browse files Browse the repository at this point in the history
  • Loading branch information
Fusl committed May 9, 2024
1 parent 7418396 commit 365a64c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions server_play_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1901,6 +1901,13 @@ func TestServerPlayAdditionalInfos(t *testing.T) {
SequenceNumber: uint16Ptr(557),
Timestamp: (*rtpInfo)[0].Timestamp,
},
&headers.RTPInfoEntry{
URL: (&base.URL{
Scheme: "rtsp",
Host: "localhost:8554",
Path: mustParseURL((*rtpInfo)[1].URL).Path,
}).String(),
},
}, rtpInfo)
require.Equal(t, []*uint32{
uint32Ptr(96342362),
Expand Down

0 comments on commit 365a64c

Please sign in to comment.