mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-27 04:35:34 +08:00
[feat] add callback to notify the travsesal mode
This commit is contained in:
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user