mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 15:16:51 +08:00
normalize NewTrackOpus()
This commit is contained in:
@@ -34,10 +34,7 @@ func main() {
|
||||
log.Println("stream connected")
|
||||
|
||||
// create an Opus track
|
||||
track, err := gortsplib.NewTrackOpus(96, 48000, 2)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
track := gortsplib.NewTrackOpus(96, 48000, 2)
|
||||
|
||||
c := gortsplib.Client{}
|
||||
|
||||
|
Reference in New Issue
Block a user