- fix truncation to seconds of RTP time in RTP-Info
- add a small quantity to rtptime in RTP-Info
- add 1 to last sequence number in RTP-Info
This commit is contained in:
aler9
2022-05-14 10:37:50 +02:00
parent 3bd8ad810f
commit 206506a8f0
3 changed files with 48 additions and 33 deletions

View File

@@ -1743,7 +1743,7 @@ func TestServerReadAdditionalInfos(t *testing.T) {
Path: "/teststream/trackID=0",
}).String(),
SequenceNumber: func() *uint16 {
v := uint16(556)
v := uint16(557)
return &v
}(),
Timestamp: (*rtpInfo)[0].Timestamp,
@@ -1777,7 +1777,7 @@ func TestServerReadAdditionalInfos(t *testing.T) {
Path: "/teststream/trackID=0",
}).String(),
SequenceNumber: func() *uint16 {
v := uint16(556)
v := uint16(557)
return &v
}(),
Timestamp: (*rtpInfo)[0].Timestamp,
@@ -1789,7 +1789,7 @@ func TestServerReadAdditionalInfos(t *testing.T) {
Path: "/teststream/trackID=1",
}).String(),
SequenceNumber: func() *uint16 {
v := uint16(87)
v := uint16(88)
return &v
}(),
Timestamp: (*rtpInfo)[1].Timestamp,