flutter_janus_client 示例因致命错误而崩溃

问题描述

我正在尝试 https://github.com/flutterjanus/flutter_janus_client 中的 Flutter_janus_client 包示例。

当我从示例中运行 videoRoom.dart 并点击连接时,它给了我一个致命错误

E/rtc     ( 8007): #
E/rtc     ( 8007): # Fatal error in: ../../../../usr/local/google/home/sakal/code/webrtc-aar-release/src/pc/peer_connection.cc,line 1989
E/rtc     ( 8007): # last system error: 0
E/rtc     ( 8007): # Check Failed: IsUnifiedplan()
E/rtc     ( 8007): # GetTransceivers is only supported with Unified Plan SdpSemantics.

应用失去连接。

由于错误是关于统一计划,我在 JanusClient 中添加了“isUnifiedplan: true”:

j = JanusClient(iceServers: [
        RTCIceServer(
            url: "stun:40.85.216.95:3478",username: "onemandev",credential: "SecureIt"),RTCIceServer(
            url: "turn:40.85.216.95:3478",credential: "SecureIt")
      ],server: [
        'https://janus.conf.meetecho.com/janus','https://janus.onemandev.tech/janus',// 'wss://janus.onemandev.tech/janus/websocket',// 'https://janus.onemandev.tech/janus',],withCredentials: true,apiSecret: "SecureIt",isUnifiedplan: true);

但它没有改变任何东西。

那么我该如何解决这个错误呢?谢谢。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)