[asterisk-bugs] [JIRA] (ASTERISK-28420) In WebRTC video scenario, packet loss lead to freezon video stream.
Aaron An (JIRA)
noreply at issues.asterisk.org
Mon May 20 07:20:47 CDT 2019
Aaron An created ASTERISK-28420:
-----------------------------------
Summary: In WebRTC video scenario, packet loss lead to freezon video stream.
Key: ASTERISK-28420
URL: https://issues.asterisk.org/jira/browse/ASTERISK-28420
Project: Asterisk
Issue Type: Bug
Security Level: None
Components: Resources/res_srtp
Affects Versions: 16.3.0
Environment: CentOS 7.5
Reporter: Aaron An
Severity: Critical
In WebRTC video scenario, call from Chrome to asterisk. When network is pool, asterisk reports warnings like "SRTP unprotect failed" "SRTP try to re-create" and then the video is frozen for every, the same time asterisk console report "SRTCP unprotect failed on SSRC xxx" until the call end. I have investigated this issue for several days and find that there is something wrong with the srtp re-create process. The srtp->policy is store in the hash buckets which initialized with 5. This should change from 5 to 1 to avoid indeterminacy policy order when re-create the srtp session。
in res_srtp.c function res_srtp_new()
srtp->policies = ao2_t_container_alloc_hash(AO2_ALLOC_OPT_LOCK_MUTEX, 0, 5,
policy_hash_fn, NULL, policy_cmp_fn, "SRTP policy container");
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list