使用WebRTC 1.0构建示例AppRTC android应用

时间:2018-07-21 08:40:47

标签: android webrtc

我拿了AppRTC Example App Code并将其转换为gradle项目。然后,我添加了WebRTC 1.0 depencency。该项目成功编译为一个我可以运行的apk。但是,当尝试在appr.tc网址上呼叫一个房间时,我收到以下错误消息。

07-21 13:55:34.934 21627-22103/de.jackofallco.apprtcdemo E/rtpsender.cc: (line 469): Tried to get DTMF sender from video sender.
07-21 13:55:34.937 21627-22103/de.jackofallco.apprtcdemo E/rtpsender.cc: (line 469): Tried to get DTMF sender from video sender.
07-21 13:55:34.944 21627-22103/de.jackofallco.apprtcdemo E/rtpsender.cc: (line 469): Tried to get DTMF sender from video sender.
07-21 13:55:35.067 21627-22101/de.jackofallco.apprtcdemo E/stunport.cc: (line 529): sendto : [0x00000016] Invalid argument
07-21 13:55:35.068 21627-22101/de.jackofallco.apprtcdemo E/stunport.cc: (line 529): sendto : [0x00000016] Invalid argument
07-21 13:55:35.122 21627-22101/de.jackofallco.apprtcdemo E/turnport.cc: (line 801): Port[0x7f85d30100:0:1:0:relay:Net[lo:127.0.0.x/8:Loopback:id=1]]: Failed to send TURN message, error: 22
07-21 13:55:35.124 21627-22101/de.jackofallco.apprtcdemo E/basicpacketsocketfactory.cc: (line 181): TCP connect failed with error 22
07-21 13:55:35.124 21627-22101/de.jackofallco.apprtcdemo E/turnport.cc: (line 339): Failed to create TURN client socket
07-21 13:55:35.318 21627-22101/de.jackofallco.apprtcdemo E/stunport.cc: (line 529): sendto : [0x00000016] Invalid argument
    (line 529): sendto : [0x00000016] Invalid argument
07-21 13:55:35.372 21627-22101/de.jackofallco.apprtcdemo E/turnport.cc: (line 801): Port[0x7f85d30100:0:1:0:relay:Net[lo:127.0.0.x/8:Loopback:id=1]]: Failed to send TURN message, error: 22
07-21 13:55:35.819 21627-22101/de.jackofallco.apprtcdemo E/stunport.cc: (line 529): sendto : [0x00000016] Invalid argument
    (line 529): sendto : [0x00000016] Invalid argument
07-21 13:55:35.873 21627-22101/de.jackofallco.apprtcdemo E/turnport.cc: (line 801): Port[0x7f85d30100:0:1:0:relay:Net[lo:127.0.0.x/8:Loopback:id=1]]: Failed to send TURN message, error: 22
07-21 13:55:36.820 21627-22101/de.jackofallco.apprtcdemo E/stunport.cc: (line 529): sendto : [0x00000016] Invalid argument
    (line 529): sendto : [0x00000016] Invalid argument
07-21 13:55:36.874 21627-22101/de.jackofallco.apprtcdemo E/turnport.cc: (line 801): Port[0x7f85d30100:0:1:0:relay:Net[lo:127.0.0.x/8:Loopback:id=1]]: Failed to send TURN message, error: 22
07-21 13:55:38.821 21627-22101/de.jackofallco.apprtcdemo E/stunport.cc: (line 529): sendto : [0x00000016] Invalid argument
    (line 529): sendto : [0x00000016] Invalid argument
07-21 13:55:38.875 21627-22101/de.jackofallco.apprtcdemo E/turnport.cc: (line 801): Port[0x7f85d30100:0:1:0:relay:Net[lo:127.0.0.x/8:Loopback:id=1]]: Failed to send TURN message, error: 22
07-21 13:55:42.822 21627-22101/de.jackofallco.apprtcdemo E/stunport.cc: (line 529): sendto : [0x00000016] Invalid argument
    (line 529): sendto : [0x00000016] Invalid argument
07-21 13:55:42.876 21627-22101/de.jackofallco.apprtcdemo E/turnport.cc: (line 801): Port[0x7f85d30100:0:1:0:relay:Net[lo:127.0.0.x/8:Loopback:id=1]]: Failed to send TURN message, error: 22
07-21 13:55:50.823 21627-22101/de.jackofallco.apprtcdemo E/stunport.cc: (line 529): sendto : [0x00000016] Invalid argument
    (line 529): sendto : [0x00000016] Invalid argument
07-21 13:55:50.877 21627-22101/de.jackofallco.apprtcdemo E/turnport.cc: (line 801): Port[0x7f85d30100:0:1:0:relay:Net[lo:127.0.0.x/8:Loopback:id=1]]: Failed to send TURN message, error: 22
07-21 13:55:58.824 21627-22101/de.jackofallco.apprtcdemo E/stunport.cc: (line 529): sendto : [0x00000016] Invalid argument
    (line 529): sendto : [0x00000016] Invalid argument
07-21 13:55:58.878 21627-22101/de.jackofallco.apprtcdemo E/turnport.cc: (line 801): Port[0x7f85d30100:0:1:0:relay:Net[lo:127.0.0.x/8:Loopback:id=1]]: Failed to send TURN message, error: 22
07-21 13:56:06.183 21627-22101/de.jackofallco.apprtcdemo E/turnport.cc: (line 801): Port[0x7f85d2fa00:0:1:0:relay:Net[lo:0:0:0:x:x:x:x:x/128:Loopback:id=2]]: Failed to send TURN message, error: 107
07-21 13:56:06.825 21627-22101/de.jackofallco.apprtcdemo E/stunport.cc: (line 529): sendto : [0x00000016] Invalid argument
    (line 529): sendto : [0x00000016] Invalid argument
07-21 13:56:06.879 21627-22101/de.jackofallco.apprtcdemo E/turnport.cc: (line 801): Port[0x7f85d30100:0:1:0:relay:Net[lo:127.0.0.x/8:Loopback:id=1]]: Failed to send TURN message, error: 22
07-21 13:56:14.825 21627-22101/de.jackofallco.apprtcdemo E/stunport.cc: (line 87): Binding request timed out from [0:0:0:x:x:x:x:x]:41587 (lo)
    (line 87): Binding request timed out from [0:0:0:x:x:x:x:x]:41587 (lo)
07-21 13:56:14.825 21627-22101/de.jackofallco.apprtcdemo E/stunport.cc: (line 87): Binding request timed out from 127.0.0.x:34540 (lo)
    (line 87): Binding request timed out from 127.0.0.x:34540 (lo)
07-21 13:56:14.828 21627-22101/de.jackofallco.apprtcdemo E/stunport.cc: (line 87): Binding request timed out from [0:0:0:x:x:x:x:x]:32880 (any)
    (line 87): Binding request timed out from [0:0:0:x:x:x:x:x]:32880 (any)

可以找到完整的日志here。找出问题所在的任何帮助将不胜感激。

0 个答案:

没有答案