forked from mirrors/linphone-iphone
fix crash related to zrtp hello hash when adding video
This commit is contained in:
parent
0466c94986
commit
7fe41ec081
1 changed files with 1 additions and 1 deletions
|
|
@ -271,7 +271,7 @@ void linphone_call_make_local_media_description(LinphoneCore *lc, LinphoneCall *
|
|||
l=make_codec_list(lc,lc->codecs_conf.video_codecs,0,NULL,-1);
|
||||
md->streams[1].payloads=l;
|
||||
// if ZRTP is enabled, put the hello hash into the audiostream's desc
|
||||
if (call->videostream->ms.zrtp_context!=NULL){
|
||||
if (call->videostream && call->videostream->ms.zrtp_context!=NULL){
|
||||
ortp_zrtp_get_hello_hash(call->videostream->ms.zrtp_context,
|
||||
md->streams[1].zrtp_hello_hash,
|
||||
sizeof(md->streams[1].zrtp_hello_hash));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue