- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
目前SDK跑起来之后, 只能在局域网使用。 于是我用coturn搭了一个turnserver, 请问一下SDK里面要使用自己搭建的turnserver要在哪个文件里面进行设置。
- Tags:
- HTML5
- JavaScript*
Link Copied
5 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Siping,
你正在使用的是会议模式还是P2P模式?以及哪种SDK?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
是的, 我用的是p2p模式, 客户端用的是Intel CS for WebRTC Client SDK for Android使用p2p模式, 服务端SDK用的是Intel CS for WebRTC Server SDK里面的Conference Server, 根据文档中的引导把conference server搭起来了, 并且把peer server也搭建了。局域网内可以p2p已经可以进行视频通话。
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
PeerClientConfiguration.setIceServers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
删除内容, 看更新的reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
服务端报401错误: check_stun_auth: Cannot find credentials of user <shequguangli>; 麻烦帮忙看看是什么问题? 客户端这边的配置是否正确? android端设置 iceServers.add(new IceServer("stun:xxxx:3478")); iceServers.add(new IceServer("stun:stun.xxxx:3478")); iceServers.add(new IceServer("turn:xxxx:3478?transport=tcp", "shequguangli", "12369874")); iceServers.add(new IceServer("turn:xxxx:3478?transport=udp", "shequguangli", "12369874"));
以下为coturn的配置文件
listening-device=eth0 listening-port=3478 tls-listening-port=5349 alt-listening-port=3479 listening-ip= xxxxxxxxxxxx #我的服务器ip relay-device=eth0 relay-ip=xxxxxxxxxxx #我的服务器ip relay-threads=10 min-port=59000 max-port=65000 verbose fingerprint lt-cred-mech server-name=shequ user=shequguangli:12369874 userdb=/var/db/turndb realm=shequ cert=/etc/turn_server_cert.pem pkey=/etc/turn_server_pkey.pem no-stdout-log log-file=/var/tmp/turn.log simple-log no-loopback-peers pidfile="/var/run/turnserver.pid" mobility no-cli no-tlsv1 no-tlsv1_1

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page