voximplant / flutter_voximplant

Voximplant Flutter SDK
MIT License
9 stars 7 forks source link

onSIPInfoReceived callback with null content #20

Closed joaovirgilicw closed 3 years ago

joaovirgilicw commented 3 years ago

I'm receiving null content on onSIPInfoReceived callback. type and headers are fine.

VladimirBrejcha commented 3 years ago

Hello @joaovirgilicw,

Please provide logs, it is desirable to run your application from XCode

joaovirgilicw commented 3 years ago

Hey @VladimirBrejcha, thanks for the response.

Here are the logs running from XCode image

First one is native and it's fine. The second one is on flutter and content is null. My code is like this

call.onSIPInfoReceived = (call, type, content, headers) {
  print("[onSIPInfoReceived]: ($type, $content, $headers");
};
VladimirBrejcha commented 3 years ago

@joaovirgilicw Thanks for the contribution! Released in 2.6.1