1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-13 20:01:56 +00:00

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;