support AC-3 tracks in SRT and UDP; support recording AC-3 tracks (#2376)
Some checks reported warnings
lint / code (push) Has been cancelled
lint / mod-tidy (push) Has been cancelled
lint / apidocs (push) Has been cancelled
test / test64 (push) Has been cancelled
test / test32 (push) Has been cancelled
test / test_highlevel (push) Has been cancelled

This commit is contained in:
Alessandro Ros
2023-09-19 22:33:00 +02:00
committed by GitHub
parent 8fd7019f2a
commit fadfda936d
11 changed files with 441 additions and 496 deletions

View File

@@ -72,6 +72,9 @@ func New(
case *format.MPEG1Audio:
return newMPEG1Audio(udpMaxPayloadSize, forma, generateRTPPackets)
case *format.AC3:
return newAC3(udpMaxPayloadSize, forma, generateRTPPackets)
default:
return newGeneric(udpMaxPayloadSize, forma, generateRTPPackets)
}