Conversation
Member
Author
|
#132 でPeerJSを少し調べた形跡がある |
Member
Author
|
$ npm install peer でpeerjsサーバが立ち上がるところまでは確認。 |
Member
Author
|
http://peerjs.com/peerserver のPeerJSが用意してくれているクラウドサービスをまず利用して実現。とりあえずFirefoxが(相変わらず不安定だが)利用出来る状態にまでは戻った。 webrtc.io.jsと仕組み的に最も大きく違うのは、チャットルーム的な指定が無く、シグナリングを自分でやらなければいけない。 残作業は
|
stunサーバを指定出来るようにする peer.jsをCDNから自前フォルダに取り込んでリンク #138
Member
Author
|
peerjsサーバ、stunサーバを指定できるようにした。あとは設置。 $ wget https://rfc5766-turn-server.googlecode.com/files/turnserver-3.2.1.4-CentOS6-x86_64.tar.gz
$ tar zxvf turnserver-3.2.1.4-CentOS6-x86_64.tar.gz
$ cd turnserver-3.2.1.4
$ ./install.shでいける。バージョンは最新のものを取得すること。 sudo /etc/init.d/turnserver start にて3478ポートでstunサーバが上がった。 |
Member
Author
|
#136 を先にしょりしてください |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
webrtc.io.jsではFirefoxとの接続が全くできない状態になった(MacFF27で例外出続けて全く動かない)
webrtc.ioは去年で開発がストップしており、今後のメンテナンスがもう期待できない。
PeerJSは現在活発に更新されており、乗り換えた方がよさそう。