Fixed video unhold failure when using SRTP (#3282)

remotes/origin/ip-change-early
sauwming 2 years ago committed by GitHub
parent 1128f9dc18
commit 43c8343c3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2005,6 +2005,11 @@ PJ_DEF(pj_status_t) pjmedia_vid_stream_create(
pjmedia_rtcp_init2(&stream->rtcp, &rtcp_setting);
if (info->rtp_seq_ts_set) {
stream->rtcp.stat.rtp_tx_last_seq = info->rtp_seq;
stream->rtcp.stat.rtp_tx_last_ts = info->rtp_ts;
}
/* Subscribe to RTCP events */
pjmedia_event_subscribe(NULL, &stream_event_cb, stream,
&stream->rtcp);

Loading…
Cancel
Save