mirror of
https://github.com/aler9/rtsp-simple-server
synced 2025-10-12 19:10:19 +08:00
Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
This commit is contained in:

committed by
GitHub

parent
1083eea307
commit
0df5e2c81a
@@ -119,6 +119,14 @@ func New(
|
||||
Parent: parent,
|
||||
}
|
||||
|
||||
case *format.KLV:
|
||||
proc = &klv{
|
||||
RTPMaxPayloadSize: rtpMaxPayloadSize,
|
||||
Format: forma,
|
||||
GenerateRTPPackets: generateRTPPackets,
|
||||
Parent: parent,
|
||||
}
|
||||
|
||||
case *format.MPEG4Audio:
|
||||
proc = &mpeg4Audio{
|
||||
RTPMaxPayloadSize: rtpMaxPayloadSize,
|
||||
|
Reference in New Issue
Block a user