--- a/client/annotviz/app/annotsvizview.html Fri Jan 23 09:58:21 2015 +0100
+++ b/client/annotviz/app/annotsvizview.html Fri Jan 23 10:09:59 2015 +0100
@@ -24,16 +24,12 @@
var pianorollChannel = 'PIANOROLL';
var annotationChannel = 'ANNOT';
- var eventCode = 'test_1';
- var serverUrl = "http://localhost:8080";
+ var eventCode = 'atelier2';
+ var eventCodeSessionDay1 = 'atelier2_jour2';
+ var serverUrl = "http://172.16.0.20:8080";
var wsUri;
- if (window.location.protocol === 'file:') {
- wsUri = 'ws://172.16.0.20:8090/broadcast';
- }
- else {
- wsUri = 'ws://' + window.location.hostname + ':8090/broadcast';
- }
+ wsUri = 'ws://172.16.0.20:8090/broadcast';
wsUriPianoroll = wsUri + '?channel=' + pianorollChannel + '&event_code=' + eventCode;
wsUriAnnotation = wsUri + '?channel=' + annotationChannel + '&event_code=' + eventCode;
@@ -47,11 +43,13 @@
urlCategories: serverUrl + "/p/api/v1/event/" + eventCode,
logger: logger,
stageView: stageView,
+ serverUrl:serverUrl,
wsPianoroll: new annotviz.WsWrapper(wsUriPianoroll, logger),
wsAnnot: new annotviz.WsWrapper(wsUriAnnotation, logger),
timeBegin: Date.parse("2015-01-23T09:30:00+01:00"),
timeEnd: Date.parse("2015-01-23T18:30:00+01:00"),
eventCode: eventCode,
+ eventCodeSessionDay1: eventCodeSessionDay1,
channel: annotationChannel
});