mirror of
https://github.com/aler9/rtsp-simple-server
synced 2025-10-05 07:36:57 +08:00
@@ -135,6 +135,14 @@ func New(
|
||||
Parent: parent,
|
||||
}
|
||||
|
||||
case *format.MPEG4AudioLATM:
|
||||
proc = &mpeg4AudioLATM{
|
||||
RTPMaxPayloadSize: rtpMaxPayloadSize,
|
||||
Format: forma,
|
||||
GenerateRTPPackets: generateRTPPackets,
|
||||
Parent: parent,
|
||||
}
|
||||
|
||||
case *format.MPEG1Audio:
|
||||
proc = &mpeg1Audio{
|
||||
RTPMaxPayloadSize: rtpMaxPayloadSize,
|
||||
|
Reference in New Issue
Block a user