new track system

This commit is contained in:
aler9
2022-01-28 17:42:20 +01:00
committed by Alessandro Ros
parent cd0db96a5d
commit 6d5bf0c1bb
31 changed files with 1523 additions and 1432 deletions

View File

@@ -45,7 +45,7 @@ func main() {
// find the H264 track
h264Track := func() int {
for i, track := range tracks {
if track.IsH264() {
if _, ok := track.(*gortsplib.TrackH264); ok {
return i
}
}