mirror of
https://github.com/aler9/gortsplib
synced 2025-10-04 23:02:45 +08:00
client: add parameter 'containsKeyFrame' to WritePacketRTP; fix RTCP sender reports
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user