move base elements into base folder

This commit is contained in:
aler9
2020-10-04 17:32:26 +02:00
parent 973464ed1d
commit 662138a0cf
28 changed files with 352 additions and 297 deletions

View File

@@ -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
}