client: add parameter 'containsKeyFrame' to WritePacketRTP; fix RTCP sender reports

This commit is contained in:
aler9
2022-04-07 18:49:51 +02:00
committed by Alessandro Ros
parent d0cab3c8bd
commit 3c104d3727
9 changed files with 17 additions and 17 deletions

View File

@@ -47,7 +47,7 @@ func main() {
// called when a RTP packet arrives
reader.OnPacketRTP = func(trackID int, pkt *rtp.Packet) {
publisher.WritePacketRTP(trackID, pkt)
publisher.WritePacketRTP(trackID, pkt, true)
}
// start reading tracks