mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 23:26:54 +08:00
move base elements into base folder
This commit is contained in:
@@ -96,11 +96,7 @@ func main() {
|
||||
}
|
||||
|
||||
// write frames to the server
|
||||
err = conn.WriteFrameTCP(&gortsplib.InterleavedFrame{
|
||||
TrackId: track.Id,
|
||||
StreamType: gortsplib.StreamTypeRtp,
|
||||
Content: buf[:n],
|
||||
})
|
||||
err = conn.WriteFrameTCP(track.Id, gortsplib.StreamTypeRtp, buf[:n])
|
||||
if err != nil {
|
||||
break
|
||||
}
|
||||
|
Reference in New Issue
Block a user