mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
res_pjsip_sdp_rtp: include ice in ANSWER only if offered
Keep track if ICE candidates were in the SDP offer & only put them in the corresponding SDP answer if the offer condaind ICE candidates ASTERISK-27957 #close Change-Id: Idf2597ee48e9a287e07aa4030bfa705430a13a92
This commit is contained in:
committed by
Torrey Searle
parent
df25563433
commit
1445384699
@@ -444,6 +444,7 @@ struct ast_sip_session_media *ast_sip_session_media_state_add(struct ast_sip_ses
|
||||
}
|
||||
|
||||
session_media->encryption = session->endpoint->media.rtp.encryption;
|
||||
session_media->remote_ice = session->endpoint->media.rtp.ice_support;
|
||||
session_media->keepalive_sched_id = -1;
|
||||
session_media->timeout_sched_id = -1;
|
||||
session_media->type = type;
|
||||
|
Reference in New Issue
Block a user