mirror of
https://github.com/aler9/rtsp-simple-server
synced 2025-11-01 11:32:42 +08:00
update gortsplib
This commit is contained in:
@@ -58,7 +58,8 @@ func (p *clientAudioProcessor) doProcess(
|
||||
data []byte,
|
||||
pts time.Duration,
|
||||
) error {
|
||||
adtsPkts, err := aac.DecodeADTS(data)
|
||||
var adtsPkts aac.ADTSPackets
|
||||
err := adtsPkts.Unmarshal(data)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user