move MPEG-4 audio LATM to dedicated format (bluenviron/mediamtx#4403) (#834)

This commit is contained in:
Alessandro Ros
2025-07-20 17:28:52 +02:00
committed by GitHub
parent 1db87f6bf6
commit 800dd9c850
31 changed files with 1620 additions and 1800 deletions

View File

@@ -10,7 +10,6 @@ import (
"os"
"time"
"github.com/asticode/go-astits"
"github.com/bluenviron/gortsplib/v4"
"github.com/bluenviron/gortsplib/v4/pkg/description"
"github.com/bluenviron/gortsplib/v4/pkg/format"
@@ -149,7 +148,7 @@ func main() {
err := r.Read()
if err != nil {
// file has ended
if errors.Is(err, astits.ErrNoMorePackets) {
if errors.Is(err, io.EOF) {
log.Printf("file has ended, rewinding")
// rewind to start position