We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a947aa commit c5d8188Copy full SHA for c5d8188
stream.go
@@ -192,8 +192,8 @@ func (r *Stream) WriteASC(asc []byte) {
192
} else {
193
r.AudioTag.Payload = append(r.AudioTag.Payload[:2], asc...)
194
}
195
- config1 := asc[2]
196
- config2 := asc[3]
+ config1 := asc[0]
+ config2 := asc[1]
197
r.AudioInfo.SoundFormat = 10
198
//audioObjectType = (config1 & 0xF8) >> 3
199
// 1 AAC MAIN ISO/IEC 14496-3 subpart 4
0 commit comments