Webページのjavascript player/publisher関数のパラメータに、サーバーのIPアドレスではなくドメイン名を指定している場合(安全なWebソケットでの信号伝達にはドメイン名を使用する必要があります)。
サーバーがNATの後ろにある場合、以下のように変更する必要があります。
docokamewebrtcplayer.jsで再生し、docokamewebrtcpublisher.jsで公開します。
何をする必要があるかというと:
In docokamewebrtcplayer.js or docokamewebrtcpublisher.js, find function EnsureValidCandidate
1. Modify first line of that function: remove the last condition from the if: "|| !ValidateIPaddress(ipAddress)", so the modified line is:
if ((candidate.search(ipAddress) !== -1) || !useSingleWebRTCPort || (ipAddress == "127.0.0.1")) {
2. Modify third line from the bottom of that function: instead of
candLines[ipIndex] = ipAddress;
hardcode your server public IP, for example, "11.11.11.11":
candLines[ipIndex] = "11.11.11.11";
お問い合わせフォーム2日営業日以内にコールバックいたします。
あなたのやり方徹底サポート
株式会社ジャバテル
本社
〒663-8035
兵庫県西宮市北口町21-11-103
TEL 0798-27-0231
FAX 0798-39-7747
大阪分室
〒531-0072 大阪市北区豊崎4-6-20-105 (日本コンピュータ・システム㈱ 内)
TEL 06-6375-1850
FAX 0798-39-7747
東京支社
〒151-0051 東京都渋谷区千駄ヶ谷4-29-12
北参道ダイヤモンドパレス 212
TEL 03-6658-8726
FAX 0798-39-7747
西宮分室
〒662-0883
兵庫県西宮市上ヶ原九番町2-33
TEL 0798-27-0231
FAX 0798-39-7747
各種お問合せ
info@docokame.com
サポート
support@javatel.co.jp