Hello everyone
My first topic here..
I'm trying to create an custom panel that controlling GV K2 summit video server. K2 AMP remote protocol using TCP socket connection on port 3811. So, I created listener, connected as server with delimiter "new line", and trigger the listener with buttons that uses myListener.start/stop() func. OK, its working fine, after the connection i fire command using the listener socket in that way:
this.writeString( "cmd", false ).
Until that point, all work fine. All commands TO video server is working.
Now i want to get clip list, or another data from the server and show it on the panel (for example). This is the code i using inside listener task:
if (event.isMessageEvent()) {
ogscript.debug('GOT AN MESSAGE!');
}
As you see, for the beginning i want just to see that some message is received by the dashboard. But no reaction. I sending many different cmd's which requesting data, but dashboard doesn't receive a thing in an debug window.
Where is my mistake? Maybe its delimiter type? Maybe dashboard can't work with TCP sockets?
Please help..
Thank you, Alex.