Skip to content

Commit

Permalink
[TMP] config: add a warning for rtp_rxmode thread
Browse files Browse the repository at this point in the history
  • Loading branch information
cspiel1 committed Oct 3, 2023
1 parent 2f24276 commit 1d813ff
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -474,8 +474,11 @@ int config_parse_conf(struct config *cfg, const struct conf *conf)
(void)conf_get_bool(conf, "avt_bundle", &cfg->avt.bundle);
if (0 == conf_get(conf, "rtp_rxmode", &rxmode)) {

if (0 == pl_strcasecmp(&rxmode, "thread"))
if (0 == pl_strcasecmp(&rxmode, "thread")) {
cfg->avt.rxmode = RECEIVE_MODE_THREAD;
warning("rtp_rxmode thread is currently "
"experimental\n");
}
}

if (err) {
Expand Down

0 comments on commit 1d813ff

Please sign in to comment.