mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 15:16:51 +08:00
implement automatic protocol switching; fix #13
This commit is contained in:
@@ -65,7 +65,7 @@ func main() {
|
||||
break
|
||||
}
|
||||
|
||||
// write frames to the server
|
||||
// write track frames
|
||||
err = conn.WriteFrame(track.Id, gortsplib.StreamTypeRtp, buf[:n])
|
||||
if err != nil {
|
||||
break
|
||||
|
Reference in New Issue
Block a user