[feat] add callback to notify the travsesal mode

This commit is contained in:
dijunkun
2024-07-30 17:32:12 +08:00
parent 05deb73c29
commit 5b6bdee25a
4 changed files with 10 additions and 1 deletions

View File

@@ -229,3 +229,8 @@ void Render::OnConnectionStatusCb(ConnectionStatus status, void *user_data) {
}
}
}
void Render::NetStatusReport(TraversalMode mode, const unsigned short send,
const unsigned short receive, void *user_ptr) {
printf("Net mode: [%d]\n", mode);
}