mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-26 20:25:34 +08:00
Fix crash during answer
This commit is contained in:
@@ -63,6 +63,8 @@ int IceTransport::InitIceTransport() {
|
||||
int IceTransport::InitIceTransport(std::string const &id) {
|
||||
transport_id_ = id;
|
||||
|
||||
ice_agent_ = new IceAgent();
|
||||
|
||||
ice_agent_->CreateIceAgent(
|
||||
[](juice_agent_t *agent, juice_state_t state, void *user_ptr) {
|
||||
LOG_INFO("state_change: {}", ice_status[state]);
|
||||
|
||||
Reference in New Issue
Block a user