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

@@ -62,7 +62,7 @@ func main() {
}
// route RTP packet to the server
c.WritePacketRTP(0, &pkt)
c.WritePacketRTP(0, &pkt, true)
// read another RTP packet from source
n, _, err = pc.ReadFrom(buf)