Skip to content

Commit

Permalink
bugfix: Don't fail receiver on unknown payload id
Browse files Browse the repository at this point in the history
Instead, only fail bad session.
  • Loading branch information
gavv committed Aug 22, 2024
1 parent e7377ac commit 2d548b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/internal_modules/roc_pipeline/receiver_session.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ ReceiverSession::ReceiverSession(const ReceiverSessionConfig& session_config,
roc_log(LogError,
"receiver session: can't find registered encoding for payload id %u",
(unsigned)session_config.payload_type);
init_status_ = status::StatusBadConfig;
init_status_ = status::StatusNoRoute;
return;
}

Expand Down

0 comments on commit 2d548b5

Please sign in to comment.