var linkConditioningHubstart = $.connection.hub; hubstart.client.onMessageReceived = function (mac, jObj) { var sinrobj = JSON.stringify(jObj); var slApp = document.getElementById("slApp"); slApp.Content.SL2JS.OnMessageReceived(mac, sinrobj); console.log(mac + ' ' + sinrobj); };
function StartStream(mac, ip, port) { { $.connection.hub.start() .done(function () { alert(result); console.log('Success'); hubstart.server.startstreaming(mac, ip, port); }) .fail(function () { console.log('Failure'); }); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)