mirror of
https://github.com/aler9/gortsplib
synced 2025-11-03 11:11:01 +08:00
normalize names
This commit is contained in:
@@ -70,7 +70,7 @@ func main() {
|
||||
}
|
||||
|
||||
// write track frames
|
||||
err = conn.WriteFrame(track.ID, gortsplib.StreamTypeRtp, buf[:n])
|
||||
err = conn.WriteFrame(track.ID, gortsplib.StreamTypeRTP, buf[:n])
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
@@ -66,7 +66,7 @@ func main() {
|
||||
}
|
||||
|
||||
// write track frames
|
||||
err = conn.WriteFrame(track.ID, gortsplib.StreamTypeRtp, buf[:n])
|
||||
err = conn.WriteFrame(track.ID, gortsplib.StreamTypeRTP, buf[:n])
|
||||
if err != nil {
|
||||
break
|
||||
}
|
||||
|
||||
@@ -58,7 +58,7 @@ func main() {
|
||||
}
|
||||
|
||||
// write track frames
|
||||
err = conn.WriteFrame(track.ID, gortsplib.StreamTypeRtp, buf[:n])
|
||||
err = conn.WriteFrame(track.ID, gortsplib.StreamTypeRTP, buf[:n])
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user