support recording M-JPEG tracks (#2391)
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-22 12:35:35 +02:00
committed by GitHub
parent d07ba5983e
commit 1f11d95059
7 changed files with 217 additions and 7 deletions

View File

@@ -69,6 +69,9 @@ func New(
case *format.MPEG1Audio:
return newMPEG1Audio(udpMaxPayloadSize, forma, generateRTPPackets)
case *format.MJPEG:
return newMJPEG(udpMaxPayloadSize, forma, generateRTPPackets)
case *format.AC3:
return newAC3(udpMaxPayloadSize, forma, generateRTPPackets)