@@ -327,14 +327,14 @@ var ws = require("ws");
327327
328328var wss = new ws.Server({
329329 server: server,
330- path: "/helloworld",
330+ path: "/helloworld"
331331});
332332
333333wss.on("connection", function (ws) {
334334 var sessionId = null;
335335 var request = ws.upgradeReq;
336336 var response = {
337- writeHead: {},
337+ writeHead: {}
338338 };
339339
340340 sessionHandler(request, response, function (err) {
@@ -359,7 +359,7 @@ wss.on("connection", function (ws) {
359359 ws.send(
360360 JSON.stringify({
361361 id: "startResponse",
362- sdpAnswer: sdpAnswer,
362+ sdpAnswer: sdpAnswer
363363 })
364364 );
365365 });
@@ -440,15 +440,15 @@ function start(sessionId, ws, sdpOffer, callback) {
440440 ws.send(
441441 JSON.stringify({
442442 id: "iceCandidate",
443- candidate: candidate,
443+ candidate: candidate
444444 })
445445 );
446446 });
447447
448448 webRtcEndpoint.processOffer(sdpOffer, (error, sdpAnswer) => {
449449 sessions[sessionId] = {
450450 pipeline: pipeline,
451- webRtcEndpoint: webRtcEndpoint,
451+ webRtcEndpoint: webRtcEndpoint
452452 };
453453 return callback(null, sdpAnswer);
454454 });
@@ -532,7 +532,7 @@ function start() {
532532 var options = {
533533 localVideo: videoInput,
534534 remoteVideo: videoOutput,
535- onicecandidate: onIceCandidate,
535+ onicecandidate: onIceCandidate
536536 };
537537
538538 webRtcPeer = kurentoUtils.WebRtcPeer.WebRtcPeerSendrecv(options, function (error) {
@@ -544,14 +544,14 @@ function start() {
544544function onIceCandidate(candidate) {
545545 sendMessage({
546546 id: "onIceCandidate",
547- candidate: candidate,
547+ candidate: candidate
548548 });
549549}
550550
551551function onOffer(error, offerSdp) {
552552 sendMessage({
553553 id: "start",
554- sdpOffer: offerSdp,
554+ sdpOffer: offerSdp
555555 });
556556}
557557` ` `
0 commit comments