1
0
Fork 0
forked from External/mediamtx

support reading MP4A-LATM-encoded AAC with RTMP and HLS (#1694) (#1898)

This commit is contained in:
Alessandro Ros 2023-06-02 00:38:27 +02:00 committed by GitHub
parent efda44cfae
commit 681a00347d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 459 additions and 123 deletions

View file

@ -267,7 +267,7 @@ func (s *udpSource) run(ctx context.Context, cnf *conf.PathConf, _ chan *conf.Pa
aus[i] = pkt.AU
}
stream.writeUnit(medi, medi.Formats[0], &formatprocessor.UnitMPEG4Audio{
stream.writeUnit(medi, medi.Formats[0], &formatprocessor.UnitMPEG4AudioGeneric{
PTS: pts,
AUs: aus,
NTP: time.Now(),