Free RTP packet for RTC

This commit is contained in:
winlin 2020-04-11 21:46:34 +08:00
parent a2fdf0d3c7
commit bf62244908

View File

@ -653,6 +653,7 @@ srs_error_t SrsRtcSenderThread::send_messages(
if ((err = send_message(msg, is_video, is_audio, pkt, skt)) != srs_success) {
return srs_error_wrap(err, "send message");
}
srs_freep(pkt);
}
*pnn += msg->size;