-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can I using Websocket ? #32
Comments
Hi, Example in my case : 'ws://localhost:8080/'' On Tue, May 28, 2013 at 10:19 AM, chichigoodboy [email protected]:
|
but in this example , So , I want to know what I should do in "localhost:8080" , is it echo server or something ? |
You need a websockets server listening on localhost:8080 or any other On Tue, May 28, 2013 at 10:47 AM, chichigoodboy [email protected]:
|
I just want to change websocket to my own. but I have no idea :( . I want to do the the websocket example with my own Websocket , this is what I want to do . |
First, you need to learn how to setup a websockets server. Try this link : On Tue, May 28, 2013 at 10:58 AM, chichigoodboy [email protected]:
|
OK, very thanks!! |
Hi @chichigoodboy, please read this document to understand WebRTC Experiments signaling concepts because all WebSockets or Socket.io implementations that're not using dynamic channels (i.e. namespaces) will fail to run any experiment. PubNub, Firebase and Pusher all such free services supports dynamic channels feature. You can find socket.io over node.js implementation here. I'll add websockets over node.js soon. |
What if I want to use my own WebSocket ?
I don't know how to modify the following code...
var socket = new WebSocket('ws://your-websocket-url/');
should I do something in my websocket-url?
The text was updated successfully, but these errors were encountered: