Rewrite support MPEG-TS client

This commit is contained in:
Alexey Khit
2023-08-17 05:41:27 +03:00
parent 4a82eb3503
commit b3def6cfa2
11 changed files with 569 additions and 367 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ func Open(r io.Reader) (core.Producer, error) {
return flv.Open(rd)
case b[0] == mpegts.SyncByte:
break // TODO
return mpegts.Open(rd)
}
return nil, errors.New("magic: unsupported header: " + hex.EncodeToString(b))