avoid using fmt.Print* in example

This commit is contained in:
aler9
2022-12-09 12:45:16 +01:00
parent e6e7f11ee1
commit 00efb912aa

View File

@@ -1,7 +1,6 @@
package main
import (
"fmt"
"log"
"github.com/aler9/gortsplib"
@@ -59,10 +58,8 @@ func main() {
return
}
fmt.Println("PTS", pts)
for _, nalu := range nalus {
log.Printf("received NALU of size %d\n", len(nalu))
log.Printf("received NALU with PTS %v and size %d\n", pts, len(nalu))
}
}