[fix] add rtp header version checker

This commit is contained in:
dijunkun
2024-09-13 00:33:07 +08:00
parent bbd05bcb8d
commit c67ce332f6
2 changed files with 27 additions and 0 deletions

View File

@@ -59,6 +59,11 @@ int IceAgent::CreateIceAgent(nice_cb_state_changed_t on_state_changed,
: (enable_turn_ ? NICE_AGENT_OPTION_NONE
: NICE_AGENT_OPTION_RELIABLE)));
LOG_INFO(
"Nice agent init with [trickle ice|{}], [reliable mode|{}], [turn "
"support|{}]]",
trickle_ice_, !enable_turn_, enable_turn_);
if (agent_ == nullptr) {
LOG_ERROR("Failed to create agent_");
}