首页 > 解决方案 > WebRtc 与 nodeJS 并做出反应

问题描述

WebRTC 仅在本地子网中工作,但在部署到 Heroku 后停止正常工作。我无法接收数据。

const PC_CONFIG = { 'iceServers': [{url:'stun:stun.l.google.com:19302'} ] }; github代码

标签: node.jsreactjswebrtc

解决方案


if you are having issues with Heroku, use the Heroku deploy template listed on the Github Code:  Heroku Deploy Template.

If you still have errors, please run heroku logs --tail and paste the logs so we can help further.


推荐阅读