update examples

This commit is contained in:
aler9
2021-11-01 10:36:45 +01:00
parent a59f840d81
commit 7e978595b5
11 changed files with 15 additions and 15 deletions

View File

@@ -38,7 +38,7 @@ func main() {
// instantiate a RTP/H264 decoder
dec := rtph264.NewDecoder()
// read RTP packets
// read packets
err = conn.ReadFrames(func(trackID int, streamType gortsplib.StreamType, payload []byte) {
if streamType != gortsplib.StreamTypeRTP {
return