feat: aac

This commit is contained in:
langhuihui
2024-07-04 19:12:13 +08:00
parent 87dc204fc0
commit 938f23955b
31 changed files with 723 additions and 505 deletions

View File

@@ -51,6 +51,10 @@ func (avcc *RTMPData) GetTimestamp() time.Duration {
return time.Duration(avcc.Timestamp) * time.Millisecond
}
func (avcc *RTMPData) GetCTS() time.Duration {
return 0
}
func (avcc *RTMPData) WrapAudio() *RTMPAudio {
return &RTMPAudio{RTMPData: *avcc}
}