mirror of
https://github.com/aler9/gortsplib
synced 2025-10-06 07:37:07 +08:00
new track system
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user