Hi all,
I’m attempting to write a port of the Erizo client in C++ from JavaScript.
With regard to Room.JS, I realize “that.socket” is referring to Socket.IO,
but what I’m not understanding is:
In the function “connectSocket”, I see lines like:
that.socket.on(‘onAddStream’, …
that.socket.on(‘onDataStream’, …
that.socket.on(‘onRemoveStream’, …
But referencing the rest of the source, I never see where these events
"onAddStream", “onDataStream”, “onRemoveStream” ever get called.
Can anyone provide some insight on how these callbacks would get called?
Thanks,
Hi,
that callbacks are called from erizo_controller
(erizo_controller/erizoController/erizoController.js file) that is the
server side part of erizo. It is connected with the clients (that use erizo
client API and classes like Room.js) using socket.io
best regards,
Álvaro2013/9/26 TJ Grant tjgrant@tatewake.com
Hi all,
I’m attempting to write a port of the Erizo client in C++ from JavaScript.
With regard to Room.JS, I realize “that.socket” is referring to Socket.IO,
but what I’m not understanding is:
In the function “connectSocket”, I see lines like:
that.socket.on(‘onAddStream’, …
that.socket.on(‘onDataStream’, …
that.socket.on(‘onRemoveStream’, …
But referencing the rest of the source, I never see where these events
“onAddStream”, “onDataStream”, “onRemoveStream” ever get called.
Can anyone provide some insight on how these callbacks would get called?
Thanks,
–
You received this message because you are subscribed to the Google Groups
“lynckia” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lynckia+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
–
Álvaro