mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 07:06:58 +08:00
update examples
This commit is contained in:
@@ -71,7 +71,7 @@ func main() {
|
||||
})
|
||||
mux.SetPCRPID(256)
|
||||
|
||||
// read RTP packets
|
||||
// read packets
|
||||
err = conn.ReadFrames(func(trackID int, streamType gortsplib.StreamType, payload []byte) {
|
||||
if trackID != h264TrackID {
|
||||
return
|
||||
|
Reference in New Issue
Block a user