bigbluebutton-Github/bbb-api-demo/src/main/webapp/demo10_helper.jsp
Fred Dixon e455c0e063 Update demo10_helper.jsp
Fixed typo for English 106.
2015-02-21 15:46:50 -07:00

23 lines
936 B
Plaintext
Executable File

<%@ page contentType="text/xml" %>
<%@ page trimDirectiveWhitespaces="true" %>
<%@ include file="bbb_api.jsp" %>
<?xml version="1.0" ?>
<%
String reqIP=request.getHeader("x-forwarded-for");
String locIP=request.getLocalAddr();
%>
<% if (request.getParameter("command").equals("isRunning")){ %>
<response>
<running><%= isMeetingRunning(request.getParameter("meetingID")) %></running>
</response>
<% } else if(request.getParameter("command").equals("getRecords")){%>
<%= getRecordings(request.getParameter("meetingID"))%>
<% } else if(request.getParameter("command").equals("publish")||request.getParameter("command").equals("unpublish")){%>
<%= setPublishRecordings( (request.getParameter("command").equals("publish")) ? true : false , request.getParameter("recordID"))%>
<% } else if(request.getParameter("command").equals("delete")){%>
<%= deleteRecordings(request.getParameter("recordID"))%>
<% } %>