From 9bae75375b591d4da63ef37993a880e86d60b7f1 Mon Sep 17 00:00:00 2001 From: Anton Georgiev <anto.georgiev@gmail.com> Date: Tue, 6 Jun 2017 15:06:38 -0400 Subject: [PATCH] pass sessionToken to html5 client --- bbb-api-demo/src/main/webapp/demoHTML5.jsp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bbb-api-demo/src/main/webapp/demoHTML5.jsp b/bbb-api-demo/src/main/webapp/demoHTML5.jsp index e1a4153e72..330bcf6348 100644 --- a/bbb-api-demo/src/main/webapp/demoHTML5.jsp +++ b/bbb-api-demo/src/main/webapp/demoHTML5.jsp @@ -113,10 +113,11 @@ if (request.getParameterMap().isEmpty()) { String meetingId = doc.getElementsByTagName("meeting_id").item(0).getTextContent(); String userId = doc.getElementsByTagName("user_id").item(0).getTextContent(); String authToken = doc.getElementsByTagName("auth_token").item(0).getTextContent(); + String sessionToken = doc.getElementsByTagName("session_token").item(0).getTextContent(); String ip = BigBlueButtonURL.split("\\/bigbluebutton")[0]; // redirect towards the html5 client which is waiting for the following parameters - String html5url = ip + "/html5client/join/" + meetingId + "/" + userId + "/" + authToken; + String html5url = ip + "/html5client/join/" + meetingId + "/" + userId + "/" + authToken + "/" + sessionToken; if (joinURL.startsWith("http://") || joinURL.startsWith("https://")) { %> -- GitLab