pull/266/head
q191201771 2 years ago
parent f697fbac23
commit 3029db08fd

@ -88,7 +88,7 @@ func (r *Rtmp2RtspRemuxer) FeedRtmpMsg(msg base.RtmpMsg) {
case base.RtmpSoundFormatG711U: case base.RtmpSoundFormatG711U:
r.audioPt = base.AvPacketPtG711U r.audioPt = base.AvPacketPtG711U
if r.audioSampleRate < 0 { if r.audioSampleRate < 0 {
r.audioSampleRate = 8000 r.audioSampleRate = g711uSampleRate
} }
} }
} }

Loading…
Cancel
Save