mirror of
https://github.com/aler9/gortsplib
synced 2025-10-06 07:37:07 +08:00
avoid using fmt.Print* in example
This commit is contained in:
@@ -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))
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user