1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

fix rtp h264 packet bug

This commit is contained in:
xiaozhihong 2020-03-10 00:45:40 +08:00
parent 3ae510b843
commit e2675109fb
3 changed files with 44 additions and 29 deletions

View file

@ -625,7 +625,7 @@ srs_error_t SrsRtcSenderThread::cycle()
for (int i = 0; i < msg->nb_rtp_fragments; ++i) {
srs_trace("rtp fragment size=%d, payload=%s", msg->rtp_fragments[i].size,
dump_string_hex(msg->rtp_fragments[i].bytes, msg->rtp_fragments[i].size, 128).c_str());
dump_string_hex(msg->rtp_fragments[i].bytes, msg->rtp_fragments[i].size, 1460).c_str());
if (rtc_session->dtls_session) {
char rtp_send_protected_buf[1500];