- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
问题一:
按照推荐的外网配置
设置portal / portal.toml ip_address为映射的外网ip port改为映射的端口 ??
webrtc-agent/agent-toml中的WebRTC
network_interfaces = [{name =“eth0”,replaced_ip_address =映射的外网ip“}]这里的名字为mcu中的网卡名称,还是外网的网卡名称
开启服务后,客户端请求portal模块中的IP +端口.,请求的WebSocket时无任何响应
https://开头外网地址:映射的端口/socket.io/?EIO=3&transport=polling&t=MBMuZxE
设置minport / maxport若无上面的外网设置,仅设置端口,无法显示混合流画面日志没有报错
nuve中的port是否需要映射到外网?
如何配置外网?
问题二:
var config = {
publishLimit: -1,
userLimit: -1,
enableMixing: 1,
viewports: [
{
name: "common",
mediaMixing: {
video: {
maxInput: 15,
resolution: 'hd720p',
quality_level: 'standard',
bkColor: {"r":1, "g":2, "b":255},
},
audio: null
}
}]
};
另外在验证MCU4.0中 updateRoom(myRoom,config);请求返回500错误是调用接口错误还是需要其他的配置?
期待回复,谢谢
- Tags:
- HTML5
- JavaScript*
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
如果MCU部署在内网,映射到外网需要映射哪几个端口,nuve 3004,portal 8080(),webrtc-agent端口如何配置?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
如果MCU部署在内网, 需要保证nuve的3004, 3001, portal的8080以及webrtc-agent/agent.toml中对应设置的minport到maxport的范围外网可访问
webrtc-agent/agent-toml中的WebRTC
network_interfaces = [{name =“eth0”,replaced_ip_address =映射的外网ip“}]这里的名字为mcu中的网卡名称,还是外网的网卡名称
此处的name里需要填可以访问外网的网卡名称或者是建立外网映射的网卡名字
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
createToken时,返回的portal地址为内网地址默认设置(portal.toml/ip_address + port),需要设置host? 怎么才能确保访问portal的ip:port
谢谢!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
NAT网络下如果需要访问外网的话portal.toml里的ip_address + port需要设置成外网可访问的地址, 同时webrtc的网络设置也需要设置成能外网通信

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