Skip to content

Commit

Permalink
Set default ka_data to double-CRLF - so it is a valid SIP message
Browse files Browse the repository at this point in the history
  • Loading branch information
space88man committed Jun 13, 2024
1 parent 28c54a4 commit ebca407
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pjsip/src/pjsua-lib/pjsua_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ PJ_DEF(void) pjsua_acc_config_default(pjsua_acc_config *cfg)
cfg->timer_setting = pjsua_var.ua_cfg.timer_setting;
cfg->lock_codec = 1;
cfg->ka_interval = 15;
cfg->ka_data = pj_str("\r\n");
cfg->ka_data = pj_str("\r\n\r\n");
cfg->vid_cap_dev = PJMEDIA_VID_DEFAULT_CAPTURE_DEV;
cfg->vid_rend_dev = PJMEDIA_VID_DEFAULT_RENDER_DEV;
#if PJMEDIA_HAS_VIDEO
Expand Down

0 comments on commit ebca407

Please sign in to comment.