android - How can I setup SIP_UA in Flutter - Stack Overflow

I am trying to build a softphone application and I am having a hard time implementing sip_ua and make c

I am trying to build a softphone application and I am having a hard time implementing sip_ua and make calls. There's not a lot of resource online about this specific library. This is the state of the code at the moment.

I tried making a call with this functionality and it doesn't seem to be making a call. No errors, no returns.

final UaSettings uaSettings = UaSettings()
 ..webSocketUrl = "wss://ip:8089/ws"
 ..password = ""
 ..userAgent = ""
 ..transportType = TransportType.WS
 ..webSocketSettings.allowBadCertificate = true
 ..uri = "username@ip"
 ..displayName = "displayName";
await _sipuaHelper.start(uaSettings);


final Map<String, dynamic> mediaConstraints = <String, dynamic>{
 "video": true,
 "audio": true,
};
final MediaStream mediaStream = 
  await navigator.mediaDevices.getUserMedia(mediaConstraints);
await sipuaHelper.call(target, mediaStream: mediaStream);

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744975275a4604105.html

相关推荐

  • android - How can I setup SIP_UA in Flutter - Stack Overflow

    I am trying to build a softphone application and I am having a hard time implementing sip_ua and make c

    1天前
    30

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信